eu.etaxonomy.cdm.model.location
Class TdwgArea
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<NamedArea>
eu.etaxonomy.cdm.model.location.NamedArea
eu.etaxonomy.cdm.model.location.TdwgArea
- All Implemented Interfaces:
- IAnnotatableEntity, ICdmBase, IDefinedTerm<NamedArea>, IIdentifiableEntity, ILoadableTerm<NamedArea>, ISourceable<IdentifiableSource>, IVersionableEntity, Serializable, Cloneable, Comparable<NamedArea>
@Entity
@Indexed(index="eu.etaxonomy.cdm.model.common.DefinedTermBase")
public class TdwgArea
- extends NamedArea
- implements Cloneable
Area terms according to the TDWG GeographicRegion vocabulary
http://rs.tdwg.org/ontology/voc/GeographicRegion.rdf
- Version:
- 1.0
- Author:
- a.mueller
- See Also:
- Serialized Form
Fields inherited from class eu.etaxonomy.cdm.model.common.CdmBase |
uuid |
Methods inherited from class eu.etaxonomy.cdm.model.location.NamedArea |
addWaterbodyOrCountry, clone, getAllLevelList, getGeneralizationOf, getHiearchieList, getIncludes, getKindOf, getLevel, getPartOf, getPartOfWorkaround, getPointApproximation, getShape, getType, getValidPeriod, getWaterbodiesOrCountries, labelWithLevel, NewInstance, NewInstance, readCsvLine, removeWaterbodyOrCountry, setGeneralizationOf, setIncludes, setKindOf, setLevel, setPartOf, setPointApproximation, setShape, setType, setValidPeriod, toString |
Methods inherited from class eu.etaxonomy.cdm.model.common.DefinedTermBase |
addGeneralizationOf, addIncludes, addMedia, getByUuid, getMedia, getVocabulary, readCsvLine, removeGeneralization, removeIncludes, removeMedia, 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 |
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 |
uuidTdwgAreaVocabulary
public static final UUID uuidTdwgAreaVocabulary
termMap
protected static Map<UUID,TdwgArea> termMap
TdwgArea
public TdwgArea()
resetTerms
public void resetTerms()
- Overrides:
resetTerms
in class NamedArea
getTermByUuid
protected static TdwgArea getTermByUuid(UUID uuid)
getAreaByTdwgAbbreviation
public static NamedArea getAreaByTdwgAbbreviation(String tdwgAbbreviation)
- FIXME This class should really be refactored into an interface and service implementation,
relying on TermVocabularyDao / service (Ben)
- Parameters:
tdwgAbbreviation
-
- Returns:
getAreaByTdwgLabel
public static NamedArea getAreaByTdwgLabel(String tdwgLabel)
- FIXME This class should really be refactored into an interface and service implementation,
relying on TermVocabularyDao / service (Ben)
- Parameters:
tdwgLabel
-
- Returns:
isTdwgAreaLabel
public static boolean isTdwgAreaLabel(String label)
isTdwgAreaAbbreviation
public static boolean isTdwgAreaAbbreviation(String abbrev)
setDefaultTerms
protected void setDefaultTerms(TermVocabulary<NamedArea> termVocabulary)
- Overrides:
setDefaultTerms
in class NamedArea
addTdwgArea
protected static void addTdwgArea(NamedArea area)
Copyright © 2007-2013 EDIT. All Rights Reserved.