@Entity @Indexed(index="eu.etaxonomy.cdm.model.description.DescriptionElementBase") public class StatisticalMeasurementValue extends VersionableEntity implements IModifiable, java.lang.Cloneable
features
corresponding to quantitative data
. A statistical measurement
value instance constitutes an atomized part of an information piece
(quantitative data) so that several statistical measurement value instances
may belong to one quantitative data instance.
This class corresponds to CharacterMeasureDataType according to the SDD schema.
CLOB_LENGTH, uuid
Modifier | Constructor and Description |
---|---|
protected |
StatisticalMeasurementValue()
Class constructor: creates a new empty statistical measurement value
instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addModifier(DefinedTerm modifier)
Adds a
modifier to the set of modifiers
used to qualify the validity of this statistical measurement value. |
java.lang.Object |
clone()
Clones this statistical measurement value.
|
java.util.Set<DefinedTerm> |
getModifiers()
Returns the set of terms of
type Modifier used to qualify the validity
or probability of this statistical measurement value. |
QuantitativeData |
getQuantitativeData()
Returns the
quantitative data this
statistical measurement value belongs too. |
StatisticalMeasure |
getType()
Returns the type of
statistical measure used in
this statistical measurement value. |
float |
getValue()
Returns the numerical value used to describe the
feature
corresponding to the quantitative data this
statistical measurement value belongs to. |
static StatisticalMeasurementValue |
NewInstance()
Creates a new empty statistical measurement value instance.
|
static StatisticalMeasurementValue |
NewInstance(StatisticalMeasure type,
float value)
Creates a new empty statistical measurement value instance.
|
void |
removeModifier(DefinedTerm modifier)
Removes one element from the set of
modifiers
used to qualify the validity of this statistical measurement value. |
protected void |
setQuantitativeData(QuantitativeData quantitativeData)
Deprecated.
|
void |
setType(StatisticalMeasure type) |
void |
setValue(float value) |
java.lang.String |
toString()
Overrides
Object.toString() . |
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
finalize, getClass, notify, notifyAll, wait, wait, wait
getUpdated, getUpdatedBy, setUpdated, setUpdatedBy
getCreated, getCreatedBy, getId, getUuid, isInstanceOf, isPersited, setCreated, setCreatedBy, setId, setUuid
protected StatisticalMeasurementValue()
public static StatisticalMeasurementValue NewInstance()
public static StatisticalMeasurementValue NewInstance(StatisticalMeasure type, float value)
public StatisticalMeasure getType()
statistical measure
used in
this statistical measurement value.public void setType(StatisticalMeasure type)
getType()
public float getValue()
feature
corresponding to the quantitative data
this
statistical measurement value belongs to.public void setValue(float value)
getValue()
public QuantitativeData getQuantitativeData()
quantitative data
this
statistical measurement value belongs too.@Deprecated protected void setQuantitativeData(QuantitativeData quantitativeData)
public java.util.Set<DefinedTerm> getModifiers()
type
Modifier used to qualify the validity
or probability of this statistical measurement value.
This is only metainformation.getModifiers
in interface IModifiable
public void addModifier(DefinedTerm modifier)
modifier
to the set of modifiers
used to qualify the validity of this statistical measurement value.addModifier
in interface IModifiable
modifier
- the modifier to be added to this statistical measurement valuegetModifiers()
public void removeModifier(DefinedTerm modifier)
modifiers
used to qualify the validity of this statistical measurement value.removeModifier
in interface IModifiable
modifier
- the modifier which should be removedgetModifiers()
,
#addModifier(Modifier)
public java.lang.Object clone()
clone
in class VersionableEntity
VersionableEntity.clone()
,
Object.clone()
public java.lang.String toString()
CdmBase
Object.toString()
.
This returns an String that identifies the object well without being necessarily unique. Internally the method is delegating the
call to {link CdmBase.instanceToString()
.Note: If overriding this method's javadoc always copy or link the above requirement. If not overwritten by a subclass method returns the class, id and uuid as a string for any CDM object.
For example: Taxon#13<b5938a98-c1de-4dda-b040-d5cc5bfb3bc0>
Copyright © 2007-2020 EDIT. All Rights Reserved.