|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.etaxonomy.cdm.model.common.CdmBase
eu.etaxonomy.cdm.model.common.VersionableEntity
eu.etaxonomy.cdm.model.common.AnnotatableEntity
eu.etaxonomy.cdm.model.common.IdentifiableEntity<S>
eu.etaxonomy.cdm.model.description.DescriptionBase<IIdentifiableEntityCacheStrategy<TaxonDescription>>
eu.etaxonomy.cdm.model.description.TaxonDescription
@Indexed(index="eu.etaxonomy.cdm.model.description.DescriptionBase") @Configurable public class TaxonDescription
This class represents descriptions that delimit or circumscribe a real taxon.
This class corresponds to:
| Field Summary |
|---|
| 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 | |
|---|---|
TaxonDescription()
Class constructor: creates a new empty taxon description instance. |
|
| Method Summary | |
|---|---|
void |
addGeoScope(NamedArea geoScope)
Adds a named area to the set of named areas
delimiting the geospatial area where this taxon description is valid. |
void |
addScope(Scope scope)
Adds a scope (mostly a life stage or a sex)
to the set of scopes restricting the validity of
this taxon description. |
Object |
clone()
Clones this taxon description. |
Set<NamedArea> |
getGeoScopes()
Returns the set of named areas indicating the geospatial
data where this taxon description is valid. |
TextData |
getOrCreateImageTextData()
Returns the first TextData element of feature type image. |
Set<Scope> |
getScopes()
Returns the set of scopes (this covers mostly life stage or sex or both)
restricting the validity of this taxon description. |
Taxon |
getTaxon()
|
static TaxonDescription |
NewInstance()
Creates a new empty taxon description instance. |
static TaxonDescription |
NewInstance(Taxon taxon)
Creates a new taxon description instance for the given taxon. |
static TaxonDescription |
NewInstance(Taxon taxon,
boolean isImageGallery)
Creates a new taxon description instance for the given taxon. |
void |
removeGeoScope(NamedArea geoScope)
Removes one element from the set of named areas delimiting
the geospatial area where this taxon description is valid. |
void |
removeScope(Scope scope)
Removes one element from the set of scopes
restricting the validity of this taxon description. |
void |
setTaxon(Taxon taxon)
|
| Methods inherited from class eu.etaxonomy.cdm.model.description.DescriptionBase |
|---|
addDescribedSpecimenOrObservation, addDescriptionSource, addElement, addFeature, addWorkingSet, getDescribedSpecimenOrObservations, getDescriptionSources, getDescriptiveSystem, getElements, getWorkingSets, hasStructuredData, isImageGallery, removeDescribedSpecimenOrObservation, removeDescriptionSource, removeElement, removeFeature, removeWorkingSet, setDescriptiveSystem, setImageGallery, setWorkingSets, size |
| 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, removeCredit, removeCredit, removeExtension, removeRights, removeSource, setCacheStrategy, setLsid, setProtectedTitleCache, setTitleCache, setTitleCache, toString |
| 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 |
|---|
equals, 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, 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.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 |
|---|
public TaxonDescription()
| Method Detail |
|---|
public void setTaxon(Taxon taxon)
public static TaxonDescription NewInstance()
NewInstance(Taxon)public static TaxonDescription NewInstance(Taxon taxon)
taxon.
The new taxon description will be also added to the set of descriptions
assigned to the given taxon.
NewInstance()
public static TaxonDescription NewInstance(Taxon taxon,
boolean isImageGallery)
taxon.
The new taxon description will be also added to the set of descriptions
assigned to the given taxon.
NewInstance()public Taxon getTaxon()
public Set<NamedArea> getGeoScopes()
named areas indicating the geospatial
data where this taxon description is valid.
public void addGeoScope(NamedArea geoScope)
named area to the set of named areas
delimiting the geospatial area where this taxon description is valid.
geoScope - the named area to be additionally assigned to this taxon descriptiongetGeoScopes()public void removeGeoScope(NamedArea geoScope)
named areas delimiting
the geospatial area where this taxon description is valid.
geoScope - the named area which should be removedgetGeoScopes(),
addGeoScope(NamedArea)public Set<Scope> getScopes()
scopes (this covers mostly life stage or sex or both)
restricting the validity of this taxon description. This set
of scopes should contain no more than one "sex" and one "life stage".
public void addScope(Scope scope)
scope (mostly a life stage or a sex)
to the set of scopes restricting the validity of
this taxon description.
scope - the scope to be added to this taxon descriptiongetScopes()public void removeScope(Scope scope)
scopes
restricting the validity of this taxon description.
scope - the scope which should be removedgetScopes(),
addScope(Scope)public TextData getOrCreateImageTextData()
public Object clone()
clone in class DescriptionBase<IIdentifiableEntityCacheStrategy<TaxonDescription>>DescriptionBase.clone(),
Object.clone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||