eu.etaxonomy.cdm.model.occurrence
Class Observation

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.media.IdentifiableMediaEntity<S>
                      extended by eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase<S>
                          extended by eu.etaxonomy.cdm.model.occurrence.DerivedUnitBase<IIdentifiableEntityCacheStrategy<Observation>>
                              extended by eu.etaxonomy.cdm.model.occurrence.Observation
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 Observation
extends DerivedUnitBase<IIdentifiableEntityCacheStrategy<Observation>>
implements Cloneable

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

Field Summary
 
Fields inherited from class eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase
definition, derivationEvents
 
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
protected Observation()
          Constructor
 
Method Summary
 Observation clone()
          Clones this observation.
static Observation NewInstance()
          Factory method
 
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.media.IdentifiableMediaEntity
addMedia, getMedia, removeMedia
 
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.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

Observation

protected Observation()
Constructor

Method Detail

NewInstance

public static Observation NewInstance()
Factory method

Returns:

clone

public Observation clone()
Clones this observation. This is a shortcut that enables to create a new instance that differs only slightly from this observation by modifying only some of the attributes.
This method overrides the clone method from DerivedUnitBase.

Overrides:
clone in class DerivedUnitBase<IIdentifiableEntityCacheStrategy<Observation>>
See Also:
DerivedUnitBase.clone(), IdentifiableMediaEntity.clone(), Object.clone()


Copyright © 2007-2013 EDIT. All Rights Reserved.