eu.etaxonomy.cdm.model.agent
Class InstitutionType

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<InstitutionType>
                          extended by eu.etaxonomy.cdm.model.agent.InstitutionType
All Implemented Interfaces:
IAnnotatableEntity, ICdmBase, IDefinedTerm<InstitutionType>, IIdentifiableEntity, ILoadableTerm<InstitutionType>, ISourceable<IdentifiableSource>, IVersionableEntity, Serializable, Cloneable

@Entity
@Indexed(index="eu.etaxonomy.cdm.model.common.DefinedTermBase")
public class InstitutionType
extends DefinedTermBase<InstitutionType>

Represents an element of a controlled vocabulary for different kinds of institutions. Each element belongs to one vocabulary.

This class corresponds to: InstitutionTypeTerm according to the TDWG ontology.

Version:
1.0
Author:
m.doering
See Also:
Serialized Form

Field Summary
static Logger logger
           
protected static Map<UUID,InstitutionType> termMap
           
 
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
InstitutionType()
          Class constructor: creates a new empty institution type.
InstitutionType(String term, String label, String labelAbbrev)
          Class constructor using a description (in the default language), a label and a label abbreviation.
 
Method Summary
protected static InstitutionType getTermByUuid(UUID uuid)
           
 void resetTerms()
           
protected  void setDefaultTerms(TermVocabulary<InstitutionType> termVocabulary)
           
 
Methods inherited from class eu.etaxonomy.cdm.model.common.DefinedTermBase
addGeneralizationOf, addIncludes, addMedia, clone, 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, equals, 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
 

Field Detail

logger

public static final Logger logger

termMap

protected static Map<UUID,InstitutionType> termMap
Constructor Detail

InstitutionType

public InstitutionType()
Class constructor: creates a new empty institution type.

See Also:
InstitutionType(String, String, String)

InstitutionType

public InstitutionType(String term,
                       String label,
                       String labelAbbrev)
Class constructor using a description (in the default language), a label and a label abbreviation.

Parameters:
term - the string describing this new vocabulary element
label - the string which identifies this new vocabulary element
labelAbbrev - the string identifying (in abbreviated form) this new vocabulary element
See Also:
InstitutionType(), Representation, TermBase.TermBase(String, String, String)
Method Detail

resetTerms

public void resetTerms()
Specified by:
resetTerms in class DefinedTermBase<InstitutionType>

getTermByUuid

protected static InstitutionType getTermByUuid(UUID uuid)

setDefaultTerms

protected void setDefaultTerms(TermVocabulary<InstitutionType> termVocabulary)
Specified by:
setDefaultTerms in class DefinedTermBase<InstitutionType>


Copyright © 2007-2013 EDIT. All Rights Reserved.