eu.etaxonomy.cdm.model.description
Class TextFormat
java.lang.Object
eu.etaxonomy.cdm.model.common.CdmBase
eu.etaxonomy.cdm.model.common.VersionableEntity
eu.etaxonomy.cdm.model.common.AnnotatableEntity
eu.etaxonomy.cdm.model.common.IdentifiableEntity<IIdentifiableEntityCacheStrategy>
eu.etaxonomy.cdm.model.common.TermBase
eu.etaxonomy.cdm.model.common.DefinedTermBase<TextFormat>
eu.etaxonomy.cdm.model.description.TextFormat
- All Implemented Interfaces:
- IAnnotatableEntity, ICdmBase, IDefinedTerm<TextFormat>, IIdentifiableEntity, ILoadableTerm<TextFormat>, ISourceable<IdentifiableSource>, IVersionableEntity, Serializable, Cloneable
@Entity
@Indexed(index="eu.etaxonomy.cdm.model.common.DefinedTermBase")
public class TextFormat
- extends DefinedTermBase<TextFormat>
The class representing kinds of formats used for structuring text
(like "xml schema namespace", "rdf", or any other format).
- Version:
- 1.0
- Author:
- m.doering
- See Also:
- Serialized Form
| Fields inherited from class eu.etaxonomy.cdm.model.common.CdmBase |
uuid |
|
Constructor Summary |
TextFormat()
Class constructor: creates a new empty text format instance. |
TextFormat(String term,
String label,
String labelAbbrev)
Class constructor: creates a new text format instance with a description,
a label and a label abbreviation. |
| Methods inherited from class eu.etaxonomy.cdm.model.common.DefinedTermBase |
addGeneralizationOf, addIncludes, addMedia, clone, getByUuid, getGeneralizationOf, getIncludes, getKindOf, getMedia, getPartOf, getVocabulary, readCsvLine, readCsvLine, removeGeneralization, removeIncludes, removeMedia, setGeneralizationOf, setIncludes, setKindOf, setPartOf, setVocabulary, writeCsvLine |
| Methods inherited from class eu.etaxonomy.cdm.model.common.TermBase |
addRepresentation, equals, getDescription, getDescription, getLabel, getLabel, getPreferredRepresentation, getPreferredRepresentation, getRepresentation, getRepresentations, getUri, removeRepresentation, setLabel, setLabel, setUri, toString |
| Methods inherited from class eu.etaxonomy.cdm.model.common.IdentifiableEntity |
addCredit, addCredit, addExtension, addExtension, addRights, addSource, addSource, compareTo, generateTitle, getCacheStrategy, getCredits, getCredits, getData, getExtensions, getExtensions, getExtensions, getLsid, getRights, getSources, getTitleCache, getTruncatedCache, initListener, isProtectedTitleCache, regenerateTitleCache, removeCredit, removeCredit, removeExtension, removeRights, removeSource, setCacheStrategy, setLsid, setProtectedTitleCache, setTitleCache, setTitleCache |
| Methods inherited from class eu.etaxonomy.cdm.model.common.CdmBase |
addPropertyChangeListener, addPropertyChangeListener, clone, deproxy, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getCreated, getCreatedBy, getId, getUuid, hashCode, hasListeners, instanceToString, invokeSetMethod, invokeSetMethodWithNull, isInstanceOf, removePropertyChangeListener, removePropertyChangeListener, setCreated, setCreatedBy, setId, setUuid |
termMap
protected static Map<UUID,TextFormat> termMap
TextFormat
public TextFormat()
- Class constructor: creates a new empty text format instance.
- See Also:
#TextFormat(String, String, String, boolean, boolean)
TextFormat
public TextFormat(String term,
String label,
String labelAbbrev)
- Class constructor: creates a new text format instance with a description,
a label and a label abbreviation.
- Parameters:
term - the string (in the default language) describing the
new text format to be createdlabel - the string identifying the new text format to be createdlabelAbbrev - the string identifying (in abbreviated form) the
new text format to be created- See Also:
TextFormat()
NewInstance
public static TextFormat NewInstance()
- Creates a new empty text format instance.
- See Also:
#NewInstance(String, String, String, boolean, boolean)
NewInstance
public static TextFormat NewInstance(String term,
String label,
String labelAbbrev)
- Creates a new text format instance with a description, a label
and a label abbreviation.
- Parameters:
term - the string (in the default language) describing the
new text format to be createdlabel - the string identifying the new text format to be createdlabelAbbrev - the string identifying (in abbreviated form) the
new text format to be created- See Also:
NewInstance()
resetTerms
public void resetTerms()
- Specified by:
resetTerms in class DefinedTermBase<TextFormat>
setDefaultTerms
protected void setDefaultTerms(TermVocabulary<TextFormat> termVocabulary)
- Specified by:
setDefaultTerms in class DefinedTermBase<TextFormat>
Copyright © 2007-2013 EDIT. All Rights Reserved.