public class AbstractMetricState extends AbstractState
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 ComponentActivation |
activationState |
protected Duration |
activeDeterminationPeriod |
protected List<CodedValue> |
bodySite |
descriptorHandle, descriptorVersion, extension, stateVersion| Constructor and Description |
|---|
AbstractMetricState() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
ComponentActivation |
getActivationState()
Gets the value of the activationState property.
|
Duration |
getActiveDeterminationPeriod()
Gets the value of the activeDeterminationPeriod property.
|
List<CodedValue> |
getBodySite()
Gets the value of the bodySite property.
|
int |
hashCode() |
void |
setActivationState(ComponentActivation value)
Sets the value of the activationState property.
|
void |
setActiveDeterminationPeriod(Duration value)
Sets the value of the activeDeterminationPeriod property.
|
void |
setBodySite(List<CodedValue> value) |
String |
toString() |
getDescriptorHandle, getDescriptorVersion, getExtension, getStateVersion, setDescriptorHandle, setDescriptorVersion, setExtension, setStateVersionprotected List<CodedValue> bodySite
protected ComponentActivation activationState
protected Duration activeDeterminationPeriod
public List<CodedValue> getBodySite()
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 bodySite property.
For example, to add a new item, do as follows:
getBodySite().add(newItem);
Objects of the following type(s) are allowed in the list
CodedValue
public ComponentActivation getActivationState()
ComponentActivationpublic void setActivationState(ComponentActivation value)
value - allowed object is
ComponentActivationpublic Duration getActiveDeterminationPeriod()
Durationpublic void setActiveDeterminationPeriod(Duration value)
value - allowed object is
Durationpublic void setBodySite(List<CodedValue> value)
public String toString()
toString in class AbstractStatepublic boolean equals(Object that)
equals in class AbstractStatepublic int hashCode()
hashCode in class AbstractStateCopyright © 2018. All rights reserved.