@Entity public class PreservationMethod extends MaterialOrMethodEvent implements java.lang.Cloneable
MaterialOrMethodEvent
which allows to
specifically store temperature and XXX which are common parameters for preparation.
Defined methods
taken to describe a Preservation Method
should be taken from a vocabulary of type TermType#PreservationMethod
http://rs.tdwg.org/ontology/voc/Collection.rdf#SpecimenPreservationMethodTypeTermannotations, markers
CLOB_LENGTH, uuid
Modifier | Constructor and Description |
---|---|
protected |
PreservationMethod() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clones this
Cloning . |
DefinedTerm |
getMedium() |
java.lang.Double |
getTemperature() |
static PreservationMethod |
NewInstance() |
static PreservationMethod |
NewInstance(DefinedTerm definedMaterialOrMethod,
java.lang.String methodText) |
static PreservationMethod |
NewInstance(DefinedTerm definedMaterialOrMethod,
java.lang.String methodText,
DefinedTerm preservationMedium,
java.lang.Double temperature) |
void |
setMedium(DefinedTerm medium) |
void |
setTemperature(java.lang.Double temperature) |
getDefinedMaterialOrMethod, getDescription, getMaterialMethodText, setDefinedMaterialOrMethod, setDescription, setMaterialMethodText
getActor, getTimeperiod, setActor, setTimeperiod
addAnnotation, addMarker, addMarker, getAnnotations, getAnnotations, getMarkers, getMarkers, hasMarker, hasMarker, markerValue, removeAnnotation, removeMarker, removeMarker, setAnnotations
cloneLanguageString, equals, getUpdated, getUpdatedBy, setUpdated, setUpdatedBy
addPropertyChangeListener, addPropertyChangeListener, addToSetWithChangeEvent, deproxy, deproxy, fireOnCreateEvent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getCreated, getCreatedBy, getId, getUserFriendlyDescription, getUserFriendlyFieldName, getUserFriendlyTypeName, getUuid, hashCode, hasListeners, initListener, instanceToString, invokeSetMethod, invokeSetMethodWithNull, isBlank, isInstanceOf, isNotBlank, isPersited, removeFromSetWithChangeEvent, removePropertyChangeListener, removePropertyChangeListener, replaceInList, setCreated, setCreatedBy, setId, setNewEntityListener, setUuid, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
getUpdated, getUpdatedBy, setUpdated, setUpdatedBy
getCreated, getCreatedBy, getId, getUuid, isInstanceOf, isPersited, setCreated, setCreatedBy, setId, setUuid
public static PreservationMethod NewInstance()
public static PreservationMethod NewInstance(DefinedTerm definedMaterialOrMethod, java.lang.String methodText)
public static PreservationMethod NewInstance(DefinedTerm definedMaterialOrMethod, java.lang.String methodText, DefinedTerm preservationMedium, java.lang.Double temperature)
public DefinedTerm getMedium()
public void setMedium(DefinedTerm medium)
public java.lang.Double getTemperature()
public void setTemperature(java.lang.Double temperature)
public java.lang.Object clone()
Cloning
. This is a shortcut that enables to create
a new instance that differs only slightly from this cloning by
modifying only some of the attributes.clone
in class MaterialOrMethodEvent
EventBase.clone()
,
Object.clone()
Copyright © 2007-2020 EDIT. All Rights Reserved.