@Entity @Configurable public class TaxonDescription extends DescriptionBase<IIdentifiableEntityCacheStrategy<TaxonDescription>>
This class corresponds to:
cacheStrategy, NOT_PROTECTED, PROTECTED, protectedTitleCache, titleCache
annotations, markers
CLOB_LENGTH, uuid
Constructor and Description |
---|
TaxonDescription()
Class constructor: creates a new empty taxon description instance.
|
Modifier and Type | Method and Description |
---|---|
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(DefinedTerm scope)
Adds a
scope (mostly a life stage or a sex )
to the set of scopes restricting the validity of
this taxon description. |
java.lang.Object |
clone()
Clones this taxon description.
|
java.util.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.
|
java.util.Set<DefinedTerm> |
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(DefinedTerm scope)
Removes one element from the set of
scopes
restricting the validity of this taxon description. |
protected void |
setTaxon(Taxon taxon) |
addDescriptionSource, addDescriptiveDataSet, addElement, addElements, addType, addTypes, getDescribedSpecimenOrObservation, getDescriptionSources, getDescriptiveDataSets, getElements, getTypes, hasStructuredData, isAggregated, isAggregatedDistribution, isAggregatedStructuredDescription, isCloneForSource, isComputed, isDefault, isDefaultForAggregation, isImageGallery, isSecondaryData, removeDescriptionSource, removeDescriptiveDataSet, removeElement, setDefault, setDescribedSpecimenOrObservation, setDescriptiveDataSet, setImageGallery, setTypes, size
addCredit, addCredit, addExtension, addExtension, addIdentifier, addIdentifier, addIdentifier, addRights, addSource, addSources, createNewSource, generateTitle, getCacheStrategy, getCredits, getCredits, getData, getExtensions, getExtensions, getExtensions, getExtensionsConcat, getExtensionsConcat, getFilteredExtensions, getIdentifiers, getIdentifiers, getIdentifiers, getLsid, getRights, getTitleCache, getTruncatedCache, hasEmptyTitleCache, hasExtension, hasExtension, initListener, isProtectedTitleCache, removeCredit, removeCredit, removeExtension, removeIdentifier, removeIdentifier, removeRights, replaceCredit, replaceIdentifier, resetTitleCache, setCacheStrategy, setLsid, setProtectedTitleCache, setTitleCache, setTitleCache, toString, updateCaches, updateCaches
addAggregationSource, addImportSource, addPrimaryTaxonomicSource, addPrimaryTaxonomicSource, addSource, addSource, getSources, removeSource, removeSources
addAnnotation, addMarker, addMarker, getAnnotations, getAnnotations, getMarkers, getMarkers, hasMarker, hasMarker, markerValue, removeAnnotation, removeMarker, removeMarker, setAnnotations
cloneLanguageString, equals, getUpdated, getUpdatedBy, setUpdated, setUpdatedBy
addPropertyChangeListener, addPropertyChangeListener, addToSetWithChangeEvent, deproxy, deproxy, fireOnCreateEvent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getCreated, getCreatedBy, getId, getUserFriendlyDescription, getUserFriendlyFieldName, getUserFriendlyTypeName, getUuid, hashCode, hasListeners, instanceToString, invokeSetMethod, invokeSetMethodWithNull, isBlank, isInstanceOf, isNotBlank, isPersited, removeFromSetWithChangeEvent, removePropertyChangeListener, removePropertyChangeListener, replaceInList, setCreated, setCreatedBy, setId, setNewEntityListener, setUuid
finalize, getClass, notify, notifyAll, wait, wait, wait
removeSources
addAggregationSource, addImportSource, addPrimaryTaxonomicSource, addPrimaryTaxonomicSource, addSource, addSource, getSources, removeSource
addAnnotation, addMarker, getAnnotations, getMarkers, getMarkers, hasMarker, hasMarker, markerValue, removeAnnotation, removeMarker, removeMarker
getUpdated, getUpdatedBy, setUpdated, setUpdatedBy
getCreated, getCreatedBy, getId, getUuid, isInstanceOf, isPersited, setCreated, setCreatedBy, setId, setUuid
public TaxonDescription()
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()
protected void setTaxon(Taxon taxon)
public java.util.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 java.util.Set<DefinedTerm> 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(DefinedTerm 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(DefinedTerm scope)
scopes
restricting the validity of this taxon description.scope
- the scope which should be removedgetScopes()
,
#addScope(Scope)
public TextData getOrCreateImageTextData()
public java.lang.Object clone()
clone
in class DescriptionBase<IIdentifiableEntityCacheStrategy<TaxonDescription>>
DescriptionBase.clone()
,
Object.clone()
Copyright © 2007-2020 EDIT. All Rights Reserved.