public class AbstractMetricState extends ComponentState
Java class for AbstractMetricState complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AbstractMetricState">
<complexContent>
<extension base="{http://domain-model-uri/15/04}ComponentState">
<sequence>
<element name="MeasurementPeriod" type="{http://www.w3.org/2001/XMLSchema}duration" minOccurs="0"/>
<element name="AveragingPeriod" type="{http://www.w3.org/2001/XMLSchema}duration" minOccurs="0"/>
<element ref="{http://domain-model-uri/15/04}BodySite" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Duration |
averagingPeriod |
protected List<CodedValue> |
bodySites |
protected Duration |
measurementPeriod |
calibrationInfo, operatingCycles, operatingHours, statedescriptorVersion, extension, handle, referencedDescriptor, stateVersion| Constructor and Description |
|---|
AbstractMetricState() |
| Modifier and Type | Method and Description |
|---|---|
Duration |
getAveragingPeriod()
Optional description of the Time period used to average values, e.g., a metric for the average flow of last hour.
|
List<CodedValue> |
getBodySites()
Optional list of codes that describe the body sites where this measurement is performed.
|
Duration |
getMeasurementPeriod()
Optional information of the measurement repetition time; not necessarily the same as update period.
|
void |
setAveragingPeriod(Duration value)
Sets the value of the averagingPeriod property.
|
void |
setBodySites(List<CodedValue> value) |
void |
setMeasurementPeriod(Duration value)
Sets the value of the measurementPeriod property.
|
getCalibrationInfo, getOperatingCycles, getOperatingHours, getState, setCalibrationInfo, setOperatingCycles, setOperatingHours, setStategetDescriptorVersion, getExtension, getHandle, getReferencedDescriptor, getStateVersion, setDescriptorVersion, setExtension, setHandle, setReferencedDescriptor, setStateVersionprotected Duration measurementPeriod
protected Duration averagingPeriod
protected List<CodedValue> bodySites
public Duration getMeasurementPeriod()
Durationpublic void setMeasurementPeriod(Duration value)
value - allowed object is
Durationpublic Duration getAveragingPeriod()
Durationpublic void setAveragingPeriod(Duration value)
value - allowed object is
Durationpublic List<CodedValue> getBodySites()
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 bodySites property.
For example, to add a new item, do as follows:
getBodySites().add(newItem);
Objects of the following type(s) are allowed in the list
CodedValue
public void setBodySites(List<CodedValue> value)
Copyright © 2016. All rights reserved.