eu.etaxonomy.cdm.model.location
Class Continent

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<T>
                          extended by eu.etaxonomy.cdm.model.common.OrderedTermBase<NamedArea>
                              extended by eu.etaxonomy.cdm.model.location.NamedArea
                                  extended by eu.etaxonomy.cdm.model.location.Continent
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 Continent
extends NamedArea

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

Nested Class Summary
 
Nested classes/interfaces inherited from class eu.etaxonomy.cdm.model.location.NamedArea
NamedArea.LevelNode, NamedArea.NamedAreaNode
 
Field Summary
protected static Map<UUID,Continent> termMap
           
 
Fields inherited from class eu.etaxonomy.cdm.model.common.OrderedTermBase
orderIndex
 
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
Continent()
          Constructor
 
Method Summary
static Continent AFRICA()
           
static Continent ANTARCTICA()
           
static Continent ASIA_TEMPERATE()
           
static Continent ASIA_TROPICAL()
           
static Continent AUSTRALASIA()
           
static Continent EUROPE()
           
protected static Continent getTermByUuid(UUID uuid)
           
static Continent NewInstance()
          Factory method
static Continent NewInstance(String term, String label, String labelAbbrev)
          Factory method
static Continent NORTH_AMERICA()
           
static Continent PACIFIC()
           
 NamedArea readCsvLine(Class<NamedArea> termClass, List<String> csvLine, Map<UUID,DefinedTermBase> terms)
          Fills the term with contents from a csvLine.
 void resetTerms()
           
protected  void setDefaultTerms(TermVocabulary<NamedArea> termVocabulary)
           
static Continent SOUTH_AMERICA()
           
 
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, removeWaterbodyOrCountry, setGeneralizationOf, setIncludes, setKindOf, setLevel, setPartOf, setPointApproximation, setShape, setType, setValidPeriod, toString
 
Methods inherited from class eu.etaxonomy.cdm.model.common.OrderedTermBase
compareTo, decreaseIndex, equals, getOrderIndex, incrementIndex, isHigher, isLower, performCompareTo
 
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.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

termMap

protected static Map<UUID,Continent> termMap
Constructor Detail

Continent

public Continent()
Constructor

Method Detail

NewInstance

public static Continent NewInstance()
Factory method

Returns:

NewInstance

public static Continent NewInstance(String term,
                                    String label,
                                    String labelAbbrev)
Factory method

Returns:

resetTerms

public void resetTerms()
Overrides:
resetTerms in class NamedArea

getTermByUuid

protected static Continent getTermByUuid(UUID uuid)

EUROPE

public static final Continent EUROPE()

AFRICA

public static final Continent AFRICA()

ASIA_TEMPERATE

public static final Continent ASIA_TEMPERATE()

ASIA_TROPICAL

public static final Continent ASIA_TROPICAL()

NORTH_AMERICA

public static final Continent NORTH_AMERICA()

ANTARCTICA

public static final Continent ANTARCTICA()

SOUTH_AMERICA

public static final Continent SOUTH_AMERICA()

AUSTRALASIA

public static final Continent AUSTRALASIA()

PACIFIC

public static final Continent PACIFIC()

readCsvLine

public NamedArea readCsvLine(Class<NamedArea> termClass,
                             List<String> csvLine,
                             Map<UUID,DefinedTermBase> terms)
Description copied from interface: ILoadableTerm
Fills the term with contents from a csvLine. If the csvLine represents the default language the csvLine attributes are merged into the existing default language and the default Language is returned.

Specified by:
readCsvLine in interface ILoadableTerm<NamedArea>
Overrides:
readCsvLine in class NamedArea
Returns:

setDefaultTerms

protected void setDefaultTerms(TermVocabulary<NamedArea> termVocabulary)
Overrides:
setDefaultTerms in class NamedArea


Copyright © 2007-2013 EDIT. All Rights Reserved.