eu.etaxonomy.cdm.model.occurrence
Class FieldObservation
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<IIdentifiableEntityCacheStrategy<FieldObservation>>
eu.etaxonomy.cdm.model.occurrence.FieldObservation
- All Implemented Interfaces:
- IAnnotatableEntity, ICdmBase, IIdentifiableEntity, IMultiLanguageTextHolder, ISourceable<IdentifiableSource>, IVersionableEntity, IMediaDocumented, IMediaEntity, Serializable, Cloneable
@Entity
@Indexed(index="eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase")
@Configurable
public class FieldObservation
- extends SpecimenOrObservationBase<IIdentifiableEntityCacheStrategy<FieldObservation>>
- implements Cloneable
In situ observation of a taxon in the field. If a specimen exists,
in most cases a parallel field observation object should be instantiated and the specimen then is "derived" from the field unit
- Version:
- 1.0
- Author:
- m.doering
- 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 |
FieldObservation
protected FieldObservation()
- Constructor
NewInstance
public static FieldObservation NewInstance()
- Factory method
- Returns:
getGatheringEvent
public GatheringEvent getGatheringEvent()
setGatheringEvent
public void setGatheringEvent(GatheringEvent gatheringEvent)
getFieldNumber
public String getFieldNumber()
- The collectors field number. If the collector is a team the field number
is taken from the field book of the primary collector.
- Returns:
- See Also:
primaryCollector
setFieldNumber
public void setFieldNumber(String fieldNumber)
setPrimaryCollector
public void setPrimaryCollector(Person primaryCollector)
- The primary collector is the person who the field books belongs to.
So the field number is also taken from him (his field book).
- Parameters:
primaryCollector
- - See Also:
fieldNumber
getPrimaryCollector
public Person getPrimaryCollector()
getFieldNotes
public String getFieldNotes()
setFieldNotes
public void setFieldNotes(String fieldNotes)
clone
public FieldObservation clone()
- Clones this field observation. This is a shortcut that enables to
create a new instance that differs only slightly from this field observation
by modifying only some of the attributes.
This method overrides the clone method from SpecimenOrObservationBase
.
- Overrides:
clone
in class SpecimenOrObservationBase<IIdentifiableEntityCacheStrategy<FieldObservation>>
- See Also:
SpecimenOrObservationBase.clone()
,
IdentifiableMediaEntity.clone()
,
Object.clone()
Copyright © 2007-2013 EDIT. All Rights Reserved.