eu.etaxonomy.cdm.model.occurrence
Class DerivedUnitBase<S extends IIdentifiableEntityCacheStrategy>
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<S>
eu.etaxonomy.cdm.model.media.IdentifiableMediaEntity<S>
eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase<S>
eu.etaxonomy.cdm.model.occurrence.DerivedUnitBase<S>
- All Implemented Interfaces:
- IAnnotatableEntity, ICdmBase, IIdentifiableEntity, IMultiLanguageTextHolder, ISourceable<IdentifiableSource>, IVersionableEntity, IMediaDocumented, IMediaEntity, Serializable, Cloneable
- Direct Known Subclasses:
- DerivedUnit, LivingBeing, Observation, Specimen
@Entity
@Indexed(index="eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase")
public abstract class DerivedUnitBase<S extends IIdentifiableEntityCacheStrategy>
- extends SpecimenOrObservationBase<S>
- implements Cloneable
http://www.bgbm.org/biodivinf/docs/CollectionModel/ReprintTNR.pdf
http://www.bgbm.org/biodivinf/docs/CollectionModel/
Type figures are derived units with at least a figure object in media
- Author:
- markus
- See Also:
- Serialized Form
Fields inherited from class eu.etaxonomy.cdm.model.common.CdmBase |
uuid |
Methods inherited from class eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase |
addDefinition, addDefinition, addDerivationEvent, addDescription, addDetermination, generateTitle, getDefinition, getDerivationEvents, getDescriptions, getDeterminations, getIndividualCount, getLifeStage, getOriginalUnit, getSex, getSpecimenDescriptionImageGallery, getSpecimenDescriptions, getSpecimenDescriptions, putDefinition, putDefinition, removeDefinition, removeDerivationEvent, removeDescription, removeDetermination, setIndividualCount, setLifeStage, setSex |
Methods inherited from class eu.etaxonomy.cdm.model.common.IdentifiableEntity |
addCredit, addCredit, addExtension, addExtension, addRights, addSource, addSource, compareTo, 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.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 |
DerivedUnitBase
protected DerivedUnitBase()
- Constructor
DerivedUnitBase
protected DerivedUnitBase(FieldObservation fieldObservation)
- create new unit derived from an existing field observation
- Parameters:
fieldObservation
- existing field observation from where this unit is derived
DerivedUnitBase
protected DerivedUnitBase(GatheringEvent gatheringEvent)
- create new unit derived from an existing gathering event,
thereby creating a new empty field observation
- Parameters:
gatheringEvent
- the gathering event this unit was collected at
getDerivedFrom
public DerivationEvent getDerivedFrom()
setDerivedFrom
public void setDerivedFrom(DerivationEvent derivedFrom)
getOriginals
public Set<SpecimenOrObservationBase> getOriginals()
getCollection
public Collection getCollection()
setCollection
public void setCollection(Collection collection)
getCatalogNumber
public String getCatalogNumber()
setCatalogNumber
public void setCatalogNumber(String catalogNumber)
setBarcode
public void setBarcode(String barcode)
getBarcode
public String getBarcode()
setStoredUnder
public void setStoredUnder(TaxonNameBase storedUnder)
getAccessionNumber
public String getAccessionNumber()
setAccessionNumber
public void setAccessionNumber(String accessionNumber)
getCollectorsNumber
@Deprecated
public String getCollectorsNumber()
- Deprecated.
- Will be removed in future versions as semantics is not clear.
For accessing the collecting number use
FieldObservation.getFieldNumber()
instead.
- Returns:
setCollectorsNumber
@Deprecated
public void setCollectorsNumber(String collectorsNumber)
- Deprecated.
- Will be removed in future versions as semantics is not clear.
For editing the collecting number use
FieldObservation.getFieldNumber()
instead.
getStoredUnder
public TaxonNameBase getStoredUnder()
addSpecimenTypeDesignation
public void addSpecimenTypeDesignation(SpecimenTypeDesignation specimenTypeDesignation)
removeSpecimenTypeDesignation
public void removeSpecimenTypeDesignation(SpecimenTypeDesignation specimenTypeDesignation)
getSpecimenTypeDesignations
public Set<SpecimenTypeDesignation> getSpecimenTypeDesignations()
clone
public Object clone()
throws CloneNotSupportedException
- Clones this derivedUnitBase. This is a shortcut that enables to
create a new instance that differs only slightly from this specimen
by modifying only some of the attributes.
This method overrides the clone method from SpecimenOrObservationBase
.
- Overrides:
clone
in class SpecimenOrObservationBase<S extends IIdentifiableEntityCacheStrategy>
- Throws:
CloneNotSupportedException
- See Also:
SpecimenOrObservationBase.clone()
,
IdentifiableMediaEntity.clone()
,
Object.clone()
Copyright © 2007-2013 EDIT. All Rights Reserved.