public class NumericMetricState extends AbstractMetricState
| Modifier and Type | Field and Description |
|---|---|
protected Duration |
averagingPeriod |
protected NumericValue |
observedValue |
protected List<Range> |
physiologicalRanges |
bodySites, measurementPeriod, statedescriptorVersion, extension, referencedDescriptor, stateVersion| Constructor and Description |
|---|
NumericMetricState() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
Duration |
getAveragingPeriod()
OPTIONAL information of the currently active time period used to average values if it is different from the default value that is defined in the descriptor.
|
NumericValue |
getObservedValue()
OPTIONAL current value of the METRIC.
|
List<Range> |
getPhysiologicalRanges()
The physiological reasonable range of observed values.
|
int |
hashCode() |
void |
setAveragingPeriod(Duration value)
Sets the value of the averagingPeriod property.
|
void |
setObservedValue(NumericValue value)
Sets the value of the observedValue property.
|
void |
setPhysiologicalRanges(List<Range> value) |
String |
toString() |
getBodySites, getMeasurementPeriod, getState, setBodySites, setMeasurementPeriod, setStategetDescriptorVersion, getExtension, getReferencedDescriptor, getStateVersion, setDescriptorVersion, setExtension, setReferencedDescriptor, setStateVersionprotected NumericValue observedValue
protected Duration averagingPeriod
public NumericValue getObservedValue()
NumericValuepublic void setObservedValue(NumericValue value)
value - allowed object is
NumericValuepublic List<Range> getPhysiologicalRanges()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the physiologicalRanges property.
For example, to add a new item, do as follows:
getPhysiologicalRanges().add(newItem);
Objects of the following type(s) are allowed in the list
Range
public Duration getAveragingPeriod()
Durationpublic void setAveragingPeriod(Duration value)
value - allowed object is
Durationpublic String toString()
toString in class AbstractMetricStatepublic boolean equals(Object that)
equals in class AbstractMetricStatepublic int hashCode()
hashCode in class AbstractMetricStateCopyright © 2018. All rights reserved.