eu.etaxonomy.cdm.model.description
Class Stage

java.lang.Object
  extended by eu.etaxonomy.cdm.model.common.CdmBase
      extended by eu.etaxonomy.cdm.model.common.VersionableEntity
          extended by eu.etaxonomy.cdm.model.common.AnnotatableEntity
              extended by eu.etaxonomy.cdm.model.common.IdentifiableEntity<IIdentifiableEntityCacheStrategy>
                  extended by eu.etaxonomy.cdm.model.common.TermBase
                      extended by eu.etaxonomy.cdm.model.common.DefinedTermBase<T>
                          extended by eu.etaxonomy.cdm.model.common.OrderedTermBase<Modifier>
                              extended by eu.etaxonomy.cdm.model.description.Modifier
                                  extended by eu.etaxonomy.cdm.model.description.Scope
                                      extended by eu.etaxonomy.cdm.model.description.Stage
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 Stage
extends Scope

The class representing the restriction concerning the life stage for the applicability of taxon descriptions. The life stage 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

Field Summary
 
Fields inherited from class eu.etaxonomy.cdm.model.common.OrderedTermBase
orderIndex
 
Fields inherited from class eu.etaxonomy.cdm.model.common.DefinedTermBase
partOf, vocabulary
 
Fields inherited from class eu.etaxonomy.cdm.model.common.IdentifiableEntity
cacheStrategy, NOT_PROTECTED, PROTECTED, protectedTitleCache, titleCache
 
Fields inherited from class eu.etaxonomy.cdm.model.common.AnnotatableEntity
annotations, markers
 
Fields inherited from class eu.etaxonomy.cdm.model.common.CdmBase
uuid
 
Constructor Summary
Stage()
          Class constructor: creates a new empty life stage instance.
Stage(String term, String label, String labelAbbrev)
          Class constructor: creates a new life stage instance with a description (in the default language), a label and a label abbreviation.
 
Method Summary
static Stage NewInstance()
          Creates a new empty life stage instance.
static Stage NewInstance(String term, String label, String labelAbbrev)
          Creates a new life stage instance with a description (in the default language), a label and a label abbreviation.
 void resetTerms()
           
protected  void setDefaultTerms(TermVocabulary<Modifier> termVocabulary)
           
 
Methods inherited from class eu.etaxonomy.cdm.model.common.OrderedTermBase
clone, compareTo, decreaseIndex, equals, getOrderIndex, incrementIndex, isHigher, isLower, performCompareTo
 
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.AnnotatableEntity
addAnnotation, addMarker, getAnnotations, getMarkers, hasMarker, hasMarker, removeAnnotation, removeMarker
 
Methods inherited from class eu.etaxonomy.cdm.model.common.VersionableEntity
getUpdated, getUpdatedBy, setUpdated, setUpdatedBy
 
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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface eu.etaxonomy.cdm.model.common.IDefinedTerm
getUuid
 
Methods inherited from interface eu.etaxonomy.cdm.model.common.IAnnotatableEntity
addAnnotation, addMarker, getAnnotations, getMarkers, hasMarker, hasMarker, removeAnnotation, removeMarker
 
Methods inherited from interface eu.etaxonomy.cdm.model.common.IVersionableEntity
getUpdated, getUpdatedBy, setUpdated, setUpdatedBy
 
Methods inherited from interface eu.etaxonomy.cdm.model.common.ICdmBase
getCreated, getCreatedBy, getId, getUuid, setCreated, setCreatedBy, setId, setUuid
 

Constructor Detail

Stage

public Stage()
Class constructor: creates a new empty life stage instance.

See Also:
Stage(String, String, String)

Stage

public Stage(String term,
             String label,
             String labelAbbrev)
Class constructor: creates a new life stage 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 life stage to be created
label - the string identifying the new life stage to be created
labelAbbrev - the string identifying (in abbreviated form) the new life stage to be created
See Also:
Stage()
Method Detail

NewInstance

public static Stage NewInstance()
Creates a new empty life stage instance.

See Also:
NewInstance(String, String, String)

NewInstance

public static Stage NewInstance(String term,
                                String label,
                                String labelAbbrev)
Creates a new life stage 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 life stage to be created
label - the string identifying the new life stage to be created
labelAbbrev - the string identifying (in abbreviated form) the new life stage to be created
See Also:
NewInstance()

resetTerms

public void resetTerms()
Overrides:
resetTerms in class Scope

setDefaultTerms

protected void setDefaultTerms(TermVocabulary<Modifier> termVocabulary)
Overrides:
setDefaultTerms in class Scope


Copyright © 2007-2013 EDIT. All Rights Reserved.