eu.etaxonomy.cdm.model.description
Class TaxonNameDescription

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<S>
                  extended by eu.etaxonomy.cdm.model.description.DescriptionBase<IIdentifiableEntityCacheStrategy<TaxonNameDescription>>
                      extended by eu.etaxonomy.cdm.model.description.TaxonNameDescription
All Implemented Interfaces:
IAnnotatableEntity, ICdmBase, IIdentifiableEntity, ISourceable<IdentifiableSource>, IVersionableEntity, Serializable, Cloneable

@Entity
@Indexed(index="eu.etaxonomy.cdm.model.description.DescriptionBase")
@Configurable
public class TaxonNameDescription
extends DescriptionBase<IIdentifiableEntityCacheStrategy<TaxonNameDescription>>
implements Cloneable

This class represents all piece of information (not ruled by a nomenclatural code) concerning a taxon name like for instance the content of its first publication (protolog) or a picture of this publication.

Version:
1.0
Author:
a.mueller
See Also:
Serialized Form

Field Summary
 
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
TaxonNameDescription()
          Class constructor: creates a new empty taxon name description instance.
 
Method Summary
 Object clone()
          Clones this taxon name description.
 TaxonNameBase<?,?> getTaxonName()
          Returns the taxon name to which this taxon name description provides additional information not ruled by a nomenclatural code.
static TaxonNameDescription NewInstance()
          Creates a new empty taxon name description instance.
static TaxonNameDescription NewInstance(TaxonNameBase name)
          Creates a new taxon name description instance for the given name.
 
Methods inherited from class eu.etaxonomy.cdm.model.description.DescriptionBase
addDescribedSpecimenOrObservation, addDescriptionSource, addElement, addFeature, addWorkingSet, getDescribedSpecimenOrObservations, getDescriptionSources, getDescriptiveSystem, getElements, getWorkingSets, hasStructuredData, isImageGallery, removeDescribedSpecimenOrObservation, removeDescriptionSource, removeElement, removeFeature, removeWorkingSet, setDescriptiveSystem, setImageGallery, setWorkingSets, size
 
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, toString
 
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
equals, 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.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
 

Constructor Detail

TaxonNameDescription

public TaxonNameDescription()
Class constructor: creates a new empty taxon name description instance.

Method Detail

NewInstance

public static TaxonNameDescription NewInstance(TaxonNameBase name)
Creates a new taxon name description instance for the given name. The new taxon name description will be also added to the set of descriptions assigned to the given name.

See Also:
NewInstance()

NewInstance

public static TaxonNameDescription NewInstance()
Creates a new empty taxon name description instance.


getTaxonName

public TaxonNameBase<?,?> getTaxonName()
Returns the taxon name to which this taxon name description provides additional information not ruled by a nomenclatural code.


clone

public Object clone()
Clones this taxon name description. This is a shortcut that enables to create a new instance that differs only slightly from this taxon name description by modifying only some of the attributes.

Overrides:
clone in class DescriptionBase<IIdentifiableEntityCacheStrategy<TaxonNameDescription>>
See Also:
DescriptionBase.clone(), Object.clone()


Copyright © 2007-2013 EDIT. All Rights Reserved.