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://standards.ieee.org/downloads/11073/11073-10207-2017/participant}AbstractState">
<sequence>
<element name="BodySite" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}CodedValue" maxOccurs="unbounded" minOccurs="0"/>
<element name="PhysicalConnector" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}PhysicalConnectorInfo" minOccurs="0"/>
</sequence>
<attribute name="ActivationState" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}ComponentActivation" />
<attribute name="ActiveDeterminationPeriod" type="{http://www.w3.org/2001/XMLSchema}duration" />
<attribute name="LifeTimePeriod" type="{http://www.w3.org/2001/XMLSchema}duration" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected ComponentActivation |
activationState |
protected javax.xml.datatype.Duration |
activeDeterminationPeriod |
protected java.util.List<CodedValue> |
bodySite |
protected javax.xml.datatype.Duration |
lifeTimePeriod |
protected PhysicalConnectorInfo |
physicalConnector |
descriptorHandle, descriptorVersion, extension, stateVersion| Constructor and Description |
|---|
AbstractMetricState() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object that) |
ComponentActivation |
getActivationState()
Gets the value of the activationState property.
|
javax.xml.datatype.Duration |
getActiveDeterminationPeriod()
Gets the value of the activeDeterminationPeriod property.
|
java.util.List<CodedValue> |
getBodySite()
Gets the value of the bodySite property.
|
javax.xml.datatype.Duration |
getLifeTimePeriod()
Gets the value of the lifeTimePeriod property.
|
PhysicalConnectorInfo |
getPhysicalConnector()
Gets the value of the physicalConnector property.
|
int |
hashCode() |
void |
setActivationState(ComponentActivation value)
Sets the value of the activationState property.
|
void |
setActiveDeterminationPeriod(javax.xml.datatype.Duration value)
Sets the value of the activeDeterminationPeriod property.
|
void |
setBodySite(java.util.List<CodedValue> value) |
void |
setLifeTimePeriod(javax.xml.datatype.Duration value)
Sets the value of the lifeTimePeriod property.
|
void |
setPhysicalConnector(PhysicalConnectorInfo value)
Sets the value of the physicalConnector property.
|
java.lang.String |
toString() |
getDescriptorHandle, getDescriptorVersion, getExtension, getStateVersion, setDescriptorHandle, setDescriptorVersion, setExtension, setStateVersionprotected java.util.List<CodedValue> bodySite
protected PhysicalConnectorInfo physicalConnector
protected ComponentActivation activationState
protected javax.xml.datatype.Duration activeDeterminationPeriod
protected javax.xml.datatype.Duration lifeTimePeriod
public java.util.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 PhysicalConnectorInfo getPhysicalConnector()
PhysicalConnectorInfopublic void setPhysicalConnector(PhysicalConnectorInfo value)
value - allowed object is
PhysicalConnectorInfopublic ComponentActivation getActivationState()
ComponentActivationpublic void setActivationState(ComponentActivation value)
value - allowed object is
ComponentActivationpublic javax.xml.datatype.Duration getActiveDeterminationPeriod()
Durationpublic void setActiveDeterminationPeriod(javax.xml.datatype.Duration value)
value - allowed object is
Durationpublic javax.xml.datatype.Duration getLifeTimePeriod()
Durationpublic void setLifeTimePeriod(javax.xml.datatype.Duration value)
value - allowed object is
Durationpublic java.lang.String toString()
toString in class AbstractStatepublic boolean equals(java.lang.Object that)
equals in class AbstractStatepublic int hashCode()
hashCode in class AbstractStatepublic void setBodySite(java.util.List<CodedValue> value)