public class AbstractMetricState extends State
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://p11073-10207/draft6/pm/2016/12/08}AbstractState">
<sequence>
<element name="BodySite" type="{http://p11073-10207/draft6/pm/2016/12/08}CodedValue" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="ActivationState" type="{http://p11073-10207/draft6/pm/2016/12/08}ComponentActivation" />
<attribute name="ActiveDeterminationPeriod" type="{http://www.w3.org/2001/XMLSchema}duration" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<CodedValue> |
bodySites |
protected Duration |
measurementPeriod |
protected ComponentActivation |
state |
descriptorVersion, extension, referencedDescriptor, stateVersion| Constructor and Description |
|---|
AbstractMetricState() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
List<CodedValue> |
getBodySites()
OPTIONAL list of CODED VALUEs that describe the body sites where the measurement is performed or where the setting is applied to.
|
Duration |
getMeasurementPeriod()
OPTIONAL information of the currently active determination repetition time if it is different from the default determination time that is defined in the descripton.
|
ComponentActivation |
getState()
The activation state of a METRIC.
|
int |
hashCode() |
void |
setBodySites(List<CodedValue> value) |
void |
setMeasurementPeriod(Duration value)
Sets the value of the measurementPeriod property.
|
void |
setState(ComponentActivation value)
Sets the value of the state property.
|
String |
toString() |
getDescriptorVersion, getExtension, getReferencedDescriptor, getStateVersion, setDescriptorVersion, setExtension, setReferencedDescriptor, setStateVersionprotected List<CodedValue> bodySites
protected ComponentActivation state
protected Duration measurementPeriod
public 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 ComponentActivation getState()
ComponentActivationpublic void setState(ComponentActivation value)
value - allowed object is
ComponentActivationpublic Duration getMeasurementPeriod()
Durationpublic void setMeasurementPeriod(Duration value)
value - allowed object is
Durationpublic void setBodySites(List<CodedValue> value)
Copyright © 2017. All rights reserved.