eu.etaxonomy.cdm.model.occurrence
Class Specimen
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<IIdentifiableEntityCacheStrategy<Specimen>>
eu.etaxonomy.cdm.model.occurrence.Specimen
- All Implemented Interfaces:
- IAnnotatableEntity, ICdmBase, IIdentifiableEntity, IMultiLanguageTextHolder, ISourceable<IdentifiableSource>, IVersionableEntity, IMediaDocumented, IMediaEntity, Serializable, Cloneable
- Direct Known Subclasses:
- DnaSample, Fossil
@Entity
@Indexed(index="eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase")
@Configurable
public class Specimen
- extends DerivedUnitBase<IIdentifiableEntityCacheStrategy<Specimen>>
- implements Cloneable
A specimen is regarded as derived from an field observation,
so locality and gathering related information is captured as a separate FieldObservation object
related to a specimen via a derivation event
- Version:
- 1.0
- Author:
- m.doering
- See Also:
- Serialized Form
Fields inherited from class eu.etaxonomy.cdm.model.common.CdmBase |
uuid |
Constructor Summary |
protected |
Specimen()
Constructor |
Methods inherited from class eu.etaxonomy.cdm.model.occurrence.DerivedUnitBase |
addSpecimenTypeDesignation, getAccessionNumber, getBarcode, getCatalogNumber, getCollection, getCollectorsNumber, getDerivedFrom, getOriginals, getSpecimenTypeDesignations, getStoredUnder, removeSpecimenTypeDesignation, setAccessionNumber, setBarcode, setCatalogNumber, setCollection, setCollectorsNumber, setDerivedFrom, setStoredUnder |
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 |
Specimen
protected Specimen()
- Constructor
NewInstance
public static Specimen NewInstance()
- Factory method
- Returns:
getPreservation
public PreservationMethod getPreservation()
setPreservation
public void setPreservation(PreservationMethod preservation)
setExsiccatum
public void setExsiccatum(String exsiccatum)
getExsiccatum
public String getExsiccatum()
clone
public Object clone()
- Clones this specimen. 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 DerivedUnitBase
.
- Overrides:
clone
in class DerivedUnitBase<IIdentifiableEntityCacheStrategy<Specimen>>
- See Also:
DerivedUnitBase.clone()
,
IdentifiableMediaEntity.clone()
,
Object.clone()
Copyright © 2007-2013 EDIT. All Rights Reserved.