|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.etaxonomy.cdm.model.common.CdmBase
eu.etaxonomy.cdm.model.common.VersionableEntity
eu.etaxonomy.cdm.model.common.AnnotatableEntity
eu.etaxonomy.cdm.model.common.EventBase
eu.etaxonomy.cdm.model.occurrence.DerivationEvent
@Entity @Indexed public class DerivationEvent
| Field Summary | |
|---|---|
protected Set<DerivedUnitBase> |
derivatives
|
protected Set<SpecimenOrObservationBase> |
originals
|
| 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 |
DerivationEvent()
Constructor |
| Method Summary | |
|---|---|
void |
addDerivative(DerivedUnitBase derivative)
Adds a new output specimen or observation for this derviation event. |
void |
addOriginal(SpecimenOrObservationBase original)
Adds a new input specimen or observation for this derviation event. |
Object |
clone()
Clones this derivation event. |
Set<DerivedUnitBase> |
getDerivatives()
The specimen or observations that are the output for this derviation event. |
Set<SpecimenOrObservationBase> |
getOriginals()
The specimen or observations that are the input for this derviation event. |
DerivationEventType |
getType()
Returns the derivation event type |
static DerivationEvent |
NewInstance()
Deprecated. Use NewInstance(DerivationEventType) or any other factory method instead to make sure,
the derivation event type is always set. |
static DerivationEvent |
NewInstance(DerivationEventType type)
Factory method |
static DerivationEvent |
NewSimpleInstance(SpecimenOrObservationBase original,
DerivedUnitBase derivative,
DerivationEventType type)
Factory method |
void |
removeDerivative(DerivedUnitBase derivative)
Removes an output specimen or observation for this derviation event. |
void |
removeOriginal(SpecimenOrObservationBase original)
Removes an input specimen or observation for this derviation event. |
void |
setType(DerivationEventType type)
|
| Methods inherited from class eu.etaxonomy.cdm.model.common.EventBase |
|---|
getActor, getDescription, getTimeperiod, setActor, setDescription, setTimeperiod |
| 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, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| 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 |
| Field Detail |
|---|
@IndexedEmbedded(depth=3) protected Set<SpecimenOrObservationBase> originals
protected Set<DerivedUnitBase> derivatives
| Constructor Detail |
|---|
protected DerivationEvent()
| Method Detail |
|---|
@Deprecated public static DerivationEvent NewInstance()
NewInstance(DerivationEventType) or any other factory method instead to make sure,
the derivation event type is always set.
public static DerivationEvent NewInstance(DerivationEventType type)
public static DerivationEvent NewSimpleInstance(SpecimenOrObservationBase original,
DerivedUnitBase derivative,
DerivationEventType type)
public Set<SpecimenOrObservationBase> getOriginals()
public void addOriginal(SpecimenOrObservationBase original)
getOriginals()public void removeOriginal(SpecimenOrObservationBase original)
getOriginals()public Set<DerivedUnitBase> getDerivatives()
public void addDerivative(DerivedUnitBase derivative)
getDerivatives()public void removeDerivative(DerivedUnitBase derivative)
getDerivatives()public DerivationEventType getType()
public void setType(DerivationEventType type)
public Object clone()
throws CloneNotSupportedException
EventBase.
clone in class EventBaseCloneNotSupportedExceptionEventBase.clone(),
Object.clone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||