Class NumericMetricState
- java.lang.Object
-
- org.somda.sdc.biceps.model.participant.AbstractState
-
- org.somda.sdc.biceps.model.participant.AbstractMetricState
-
- org.somda.sdc.biceps.model.participant.NumericMetricState
-
- All Implemented Interfaces:
Cloneable,org.jvnet.jaxb2_commons.lang.CopyTo2,org.jvnet.jaxb2_commons.lang.ToString2
public class NumericMetricState extends AbstractMetricState implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.ToString2
State of a numeric METRIC.Java class for NumericMetricState complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="NumericMetricState"> <complexContent> <extension base="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}AbstractMetricState"> <sequence> <element name="MetricValue" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}NumericMetricValue" minOccurs="0"/> <element name="PhysiologicalRange" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}Range" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="ActiveAveragingPeriod" type="{http://www.w3.org/2001/XMLSchema}duration" /> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected DurationactiveAveragingPeriodprotected NumericMetricValuemetricValueprotected List<Range>physiologicalRange-
Fields inherited from class org.somda.sdc.biceps.model.participant.AbstractMetricState
activationState, activeDeterminationPeriod, bodySite, lifeTimePeriod, physicalConnector
-
Fields inherited from class org.somda.sdc.biceps.model.participant.AbstractState
descriptorHandle, descriptorVersion, extension, stateVersion
-
-
Constructor Summary
Constructors Constructor Description NumericMetricState()
-
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)DurationgetActiveAveragingPeriod()Gets the value of the activeAveragingPeriod property.NumericMetricValuegetMetricValue()Gets the value of the metricValue property.List<Range>getPhysiologicalRange()Gets the value of the physiologicalRange property.inthashCode()voidsetActiveAveragingPeriod(Duration value)Sets the value of the activeAveragingPeriod property.voidsetMetricValue(NumericMetricValue value)Sets the value of the metricValue property.voidsetPhysiologicalRange(List<Range> value)StringtoString()-
Methods inherited from class org.somda.sdc.biceps.model.participant.AbstractMetricState
getActivationState, getActiveDeterminationPeriod, getBodySite, getLifeTimePeriod, getPhysicalConnector, setActivationState, setActiveDeterminationPeriod, setBodySite, setLifeTimePeriod, setPhysicalConnector
-
Methods inherited from class org.somda.sdc.biceps.model.participant.AbstractState
getDescriptorHandle, getDescriptorVersion, getExtension, getStateVersion, setDescriptorHandle, setDescriptorVersion, setExtension, setStateVersion
-
-
-
-
Field Detail
-
metricValue
protected NumericMetricValue metricValue
-
activeAveragingPeriod
protected Duration activeAveragingPeriod
-
-
Method Detail
-
getMetricValue
public NumericMetricValue getMetricValue()
Gets the value of the metricValue property.- Returns:
- possible object is
NumericMetricValue
-
setMetricValue
public void setMetricValue(NumericMetricValue value)
Sets the value of the metricValue property.- Parameters:
value- allowed object isNumericMetricValue
-
getPhysiologicalRange
public List<Range> getPhysiologicalRange()
Gets the value of the physiologicalRange 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 physiologicalRange property.For example, to add a new item, do as follows:
getPhysiologicalRange().add(newItem);Objects of the following type(s) are allowed in the list
Range
-
getActiveAveragingPeriod
public Duration getActiveAveragingPeriod()
Gets the value of the activeAveragingPeriod property.- Returns:
- possible object is
String
-
setActiveAveragingPeriod
public void setActiveAveragingPeriod(Duration value)
Sets the value of the activeAveragingPeriod property.- Parameters:
value- allowed object isString
-
clone
public Object clone()
- Overrides:
clonein classAbstractMetricState
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2- Overrides:
copyToin classAbstractMetricState
-
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 classAbstractMetricState
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2- Overrides:
createNewInstancein classAbstractMetricState
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classAbstractMetricState
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractMetricState
-
toString
public String toString()
- Overrides:
toStringin classAbstractMetricState
-
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 classAbstractMetricState
-
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 classAbstractMetricState
-
-