public class NumericMetricState extends AbstractMetricState
Java class for NumericMetricState complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="NumericMetricState">
<complexContent>
<extension base="{http://p11073-10207/draft6/pm/2016/12/08}AbstractMetricState">
<sequence>
<element name="MetricValue" type="{http://p11073-10207/draft6/pm/2016/12/08}NumericMetricValue" minOccurs="0"/>
<element name="PhysiologicalRange" type="{http://p11073-10207/draft6/pm/2016/12/08}Range" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="ActiveAveragingPeriod" type="{http://www.w3.org/2001/XMLSchema}duration" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Duration |
activeAveragingPeriod |
protected NumericMetricValue |
metricValue |
protected List<Range> |
physiologicalRange |
activationState, activeDeterminationPeriod, bodySitedescriptorHandle, descriptorVersion, extension, stateVersion| Constructor and Description |
|---|
NumericMetricState() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
Duration |
getActiveAveragingPeriod()
Gets the value of the activeAveragingPeriod property.
|
NumericMetricValue |
getMetricValue()
Gets the value of the metricValue property.
|
List<Range> |
getPhysiologicalRange()
Gets the value of the physiologicalRange property.
|
int |
hashCode() |
void |
setActiveAveragingPeriod(Duration value)
Sets the value of the activeAveragingPeriod property.
|
void |
setMetricValue(NumericMetricValue value)
Sets the value of the metricValue property.
|
void |
setPhysiologicalRange(List<Range> value) |
String |
toString() |
getActivationState, getActiveDeterminationPeriod, getBodySite, setActivationState, setActiveDeterminationPeriod, setBodySitegetDescriptorHandle, getDescriptorVersion, getExtension, getStateVersion, setDescriptorHandle, setDescriptorVersion, setExtension, setStateVersionprotected NumericMetricValue metricValue
protected Duration activeAveragingPeriod
public NumericMetricValue getMetricValue()
NumericMetricValuepublic void setMetricValue(NumericMetricValue value)
value - allowed object is
NumericMetricValuepublic List<Range> getPhysiologicalRange()
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 physiologicalRange property.
For example, to add a new item, do as follows:
getPhysiologicalRange().add(newItem);
Objects of the following type(s) are allowed in the list
Range
public Duration getActiveAveragingPeriod()
Durationpublic void setActiveAveragingPeriod(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.