eu.etaxonomy.cdm.model.description
Class Sex
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<T>
eu.etaxonomy.cdm.model.common.OrderedTermBase<Modifier>
eu.etaxonomy.cdm.model.description.Modifier
eu.etaxonomy.cdm.model.description.Scope
eu.etaxonomy.cdm.model.description.Sex
- All Implemented Interfaces:
- IAnnotatableEntity, ICdmBase, IDefinedTerm<Modifier>, IIdentifiableEntity, ILoadableTerm<Modifier>, ISourceable<IdentifiableSource>, IVersionableEntity, Serializable, Cloneable, Comparable<Modifier>
@Entity
@Indexed(index="eu.etaxonomy.cdm.model.common.DefinedTermBase")
public class Sex
- extends Scope
The class representing the restriction concerning the sex for
the applicability of taxon descriptions
. The sex of a
specimen or observation
does not belong to a specimen description
but is an attribute of
the specimen itself.
- Version:
- 1.0
- Author:
- m.doering
- See Also:
- Serialized Form
Fields inherited from class eu.etaxonomy.cdm.model.common.CdmBase |
uuid |
Constructor Summary |
Sex()
Class constructor: creates a new empty sex instance. |
Sex(String term,
String label,
String labelAbbrev)
Class constructor: creates a new sex instance with a description
(in the default language ), a label and a label abbreviation. |
Methods inherited from class eu.etaxonomy.cdm.model.common.DefinedTermBase |
addGeneralizationOf, addIncludes, addMedia, 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, 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,Sex> termMap
Sex
public Sex()
- Class constructor: creates a new empty sex instance.
- See Also:
Sex(String, String, String)
Sex
public Sex(String term,
String label,
String labelAbbrev)
- Class constructor: creates a new sex instance with a description
(in the
default language
), a label and a label abbreviation.
- Parameters:
term
- the string (in the default language) describing the
new sex to be createdlabel
- the string identifying the new sex to be createdlabelAbbrev
- the string identifying (in abbreviated form) the
new sex to be created- See Also:
Sex()
NewInstance
public static Sex NewInstance()
- Creates a new empty sex instance.
- See Also:
Sex(String, String, String)
NewInstance
public static Sex NewInstance(String term,
String label,
String labelAbbrev)
- Creates a new sex instance with a description (in the
default language
),
a label and a label abbreviation.
- Parameters:
term
- the string (in the default language) describing the
new sex to be createdlabel
- the string identifying the new sex to be createdlabelAbbrev
- the string identifying (in abbreviated form) the
new sex to be created- See Also:
NewInstance()
resetTerms
public void resetTerms()
- Overrides:
resetTerms
in class Scope
getTermByUuid
protected static Sex getTermByUuid(UUID uuid)
MALE
public static Sex MALE()
FEMALE
public static Sex FEMALE()
HERMAPHRODITE
public static Sex HERMAPHRODITE()
UNKNOWN
public static Sex UNKNOWN()
setDefaultTerms
protected void setDefaultTerms(TermVocabulary<Modifier> termVocabulary)
- Overrides:
setDefaultTerms
in class Scope
Copyright © 2007-2013 EDIT. All Rights Reserved.