Class AbstractMetricState
- java.lang.Object
-
- org.somda.sdc.biceps.model.participant.AbstractState
-
- org.somda.sdc.biceps.model.participant.AbstractMetricState
-
- All Implemented Interfaces:
Cloneable,org.jvnet.jaxb2_commons.lang.CopyTo2,org.jvnet.jaxb2_commons.lang.ToString2
- Direct Known Subclasses:
DistributionSampleArrayMetricState,NumericMetricState,RealTimeSampleArrayMetricState,StringMetricState
public class AbstractMetricState extends AbstractState implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.ToString2
Abstract state of a METRIC.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>
-
-
Field Summary
Fields Modifier and Type Field Description protected ComponentActivationactivationStateprotected DurationactiveDeterminationPeriodprotected List<CodedValue>bodySiteprotected DurationlifeTimePeriodprotected PhysicalConnectorInfophysicalConnector-
Fields inherited from class org.somda.sdc.biceps.model.participant.AbstractState
descriptorHandle, descriptorVersion, extension, stateVersion
-
-
Constructor Summary
Constructors Constructor Description AbstractMetricState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)Objectclone()ObjectcopyTo(Object target)ObjectcopyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)ObjectcreateNewInstance()booleanequals(Object object)ComponentActivationgetActivationState()Gets the value of the activationState property.DurationgetActiveDeterminationPeriod()Gets the value of the activeDeterminationPeriod property.List<CodedValue>getBodySite()Gets the value of the bodySite property.DurationgetLifeTimePeriod()Gets the value of the lifeTimePeriod property.PhysicalConnectorInfogetPhysicalConnector()Gets the value of the physicalConnector property.inthashCode()voidsetActivationState(ComponentActivation value)Sets the value of the activationState property.voidsetActiveDeterminationPeriod(Duration value)Sets the value of the activeDeterminationPeriod property.voidsetBodySite(List<CodedValue> value)voidsetLifeTimePeriod(Duration value)Sets the value of the lifeTimePeriod property.voidsetPhysicalConnector(PhysicalConnectorInfo value)Sets the value of the physicalConnector property.StringtoString()-
Methods inherited from class org.somda.sdc.biceps.model.participant.AbstractState
getDescriptorHandle, getDescriptorVersion, getExtension, getStateVersion, setDescriptorHandle, setDescriptorVersion, setExtension, setStateVersion
-
-
-
-
Field Detail
-
bodySite
protected List<CodedValue> bodySite
-
physicalConnector
protected PhysicalConnectorInfo physicalConnector
-
activationState
protected ComponentActivation activationState
-
activeDeterminationPeriod
protected Duration activeDeterminationPeriod
-
lifeTimePeriod
protected Duration lifeTimePeriod
-
-
Method Detail
-
getBodySite
public List<CodedValue> getBodySite()
Gets the value of the bodySite property.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
setmethod 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
-
getPhysicalConnector
public PhysicalConnectorInfo getPhysicalConnector()
Gets the value of the physicalConnector property.- Returns:
- possible object is
PhysicalConnectorInfo
-
setPhysicalConnector
public void setPhysicalConnector(PhysicalConnectorInfo value)
Sets the value of the physicalConnector property.- Parameters:
value- allowed object isPhysicalConnectorInfo
-
getActivationState
public ComponentActivation getActivationState()
Gets the value of the activationState property.- Returns:
- possible object is
ComponentActivation
-
setActivationState
public void setActivationState(ComponentActivation value)
Sets the value of the activationState property.- Parameters:
value- allowed object isComponentActivation
-
getActiveDeterminationPeriod
public Duration getActiveDeterminationPeriod()
Gets the value of the activeDeterminationPeriod property.- Returns:
- possible object is
String
-
setActiveDeterminationPeriod
public void setActiveDeterminationPeriod(Duration value)
Sets the value of the activeDeterminationPeriod property.- Parameters:
value- allowed object isString
-
getLifeTimePeriod
public Duration getLifeTimePeriod()
Gets the value of the lifeTimePeriod property.- Returns:
- possible object is
String
-
setLifeTimePeriod
public void setLifeTimePeriod(Duration value)
Sets the value of the lifeTimePeriod property.- Parameters:
value- allowed object isString
-
setBodySite
public void setBodySite(List<CodedValue> value)
-
clone
public Object clone()
- Overrides:
clonein classAbstractState
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2- Overrides:
copyToin classAbstractState
-
copyTo
public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
- Specified by:
copyToin interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2- Overrides:
copyToin classAbstractState
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2- Overrides:
createNewInstancein classAbstractState
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classAbstractState
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractState
-
toString
public String toString()
- Overrides:
toStringin classAbstractState
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classAbstractState
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classAbstractState
-
-