@Entity public class DescriptiveDataSet extends IdentifiableEntity<DescriptiveDataSetDefaultCacheStrategy>
cacheStrategy, NOT_PROTECTED, PROTECTED, protectedTitleCache, titleCache
annotations, markers
CLOB_LENGTH, uuid
Modifier | Constructor and Description |
---|---|
protected |
DescriptiveDataSet()
Class constructor: creates a new empty working set instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addDescription(DescriptionBase description)
Adds an existing
description to the set of
descriptions of this
working set. |
void |
addGeoFilterArea(NamedArea area) |
void |
addRepresentation(Representation representation) |
void |
addTaxonSubtree(TaxonNode subtree) |
java.lang.Object |
clone()
Clones this DescriptiveDataSet.
|
java.util.Set<DescriptionBase> |
getDescriptions()
Returns the
descriptions of
this working set. |
TermTree<Feature> |
getDescriptiveSystem() |
java.util.Set<NamedArea> |
getGeoFilter() |
java.lang.String |
getLabel() |
java.lang.String |
getLabel(Language lang) |
Rank |
getMaxRank() |
Rank |
getMinRank() |
Representation |
getPreferredRepresentation(Language language) |
Representation |
getPreferredRepresentation(java.util.List<Language> languages)
Returns the Representation in the preferred language.
|
Representation |
getRepresentation(Language lang) |
java.util.Set<Representation> |
getRepresentations() |
java.util.Set<TaxonNode> |
getTaxonSubtreeFilter() |
static DescriptiveDataSet |
NewInstance() |
boolean |
removeDescription(DescriptionBase description)
Removes one element from the set of
descriptions involved
in this working set. |
boolean |
removeGeoFilterArea(NamedArea area) |
void |
removeRepresentation(Representation representation) |
void |
removeTaxonSubtree(TaxonNode subtree) |
void |
setDescriptiveSystem(TermTree<Feature> descriptiveSystem) |
void |
setGeoFilter(java.util.Set<NamedArea> geoFilter) |
void |
setLabel(java.lang.String label) |
void |
setLabel(java.lang.String label,
Language language) |
void |
setMaxRank(Rank maxRank) |
void |
setMinRank(Rank minRank) |
void |
setTaxonSubtreeFilter(java.util.Set<TaxonNode> taxonSubtreeFilter) |
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
protected DescriptiveDataSet()
public static DescriptiveDataSet NewInstance()
public java.util.Set<TaxonNode> getTaxonSubtreeFilter()
public void setTaxonSubtreeFilter(java.util.Set<TaxonNode> taxonSubtreeFilter)
public void addTaxonSubtree(TaxonNode subtree)
public void removeTaxonSubtree(TaxonNode subtree)
public java.util.Set<NamedArea> getGeoFilter()
public void setGeoFilter(java.util.Set<NamedArea> geoFilter)
public void addGeoFilterArea(NamedArea area)
public boolean removeGeoFilterArea(NamedArea area)
public Rank getMinRank()
public void setMinRank(Rank minRank)
public Rank getMaxRank()
public void setMaxRank(Rank maxRank)
public java.util.Set<Representation> getRepresentations()
public void addRepresentation(Representation representation)
public void removeRepresentation(Representation representation)
public Representation getRepresentation(Language lang)
public Representation getPreferredRepresentation(Language language)
language
- getPreferredRepresentation(Language)
public Representation getPreferredRepresentation(java.util.List<Language> languages)
TextData.getPreferredLanguageString(List)
languages
- public java.lang.String getLabel()
public java.lang.String getLabel(Language lang)
public void setLabel(java.lang.String label)
public void setLabel(java.lang.String label, Language language)
public java.util.Set<DescriptionBase> getDescriptions()
descriptions
of
this working set.public boolean addDescription(DescriptionBase description)
description
to the set of
descriptions
of this
working set.description
- the description to be added to this working setgetDescriptions()
,
addDescription(DescriptionBase)
public boolean removeDescription(DescriptionBase description)
descriptions
involved
in this working set.description
- the description which should be removedgetDescriptions()
,
addDescription(DescriptionBase)
,
removeDescription(DescriptionBase)
public java.lang.Object clone()
clone
in class IdentifiableEntity<DescriptiveDataSetDefaultCacheStrategy>
AnnotatableEntity.clone()
,
Object.clone()
Copyright © 2007-2020 EDIT. All Rights Reserved.