Class SampleArrayValue
- java.lang.Object
-
- org.somda.sdc.biceps.model.participant.AbstractMetricValue
-
- org.somda.sdc.biceps.model.participant.SampleArrayValue
-
- All Implemented Interfaces:
Cloneable,org.jvnet.jaxb2_commons.lang.CopyTo2,org.jvnet.jaxb2_commons.lang.ToString2
public class SampleArrayValue extends AbstractMetricValue implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.ToString2
Type that contains sequences of values, i.e., sample arrays. The ./pmMetricQuality ELEMENT relates to all samples. NOTE 1—pm:Timestamp (see base: pm:AbstractMetricValue) refers to the first value of the array. The individual timestamps of the values can thus be computed from the sample rate (see pm:RealTimeSampleArrayMetricDescriptor). NOTE 2—If ./pmMetricQuality cannot be applied to all samples due to, e.g., some invalid values, a SERVICE PROVIDER can decide to set ./pmMetricQuality/@Validity to "Qst" or "Inv".Java class for SampleArrayValue complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SampleArrayValue"> <complexContent> <extension base="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}AbstractMetricValue"> <sequence> <element name="ApplyAnnotation" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="AnnotationIndex" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" /> <attribute name="SampleIndex" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" /> </restriction> </complexContent> </complexType> </element> </sequence> <attribute name="Samples" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}RealTimeValueType" /> </extension> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSampleArrayValue.ApplyAnnotationJava class for anonymous complex type.-
Nested classes/interfaces inherited from class org.somda.sdc.biceps.model.participant.AbstractMetricValue
AbstractMetricValue.Annotation, AbstractMetricValue.MetricQuality
-
-
Field Summary
Fields Modifier and Type Field Description protected List<SampleArrayValue.ApplyAnnotation>applyAnnotationprotected List<BigDecimal>samples-
Fields inherited from class org.somda.sdc.biceps.model.participant.AbstractMetricValue
annotation, determinationTime, extension, metricQuality, startTime, stopTime
-
-
Constructor Summary
Constructors Constructor Description SampleArrayValue()
-
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)List<SampleArrayValue.ApplyAnnotation>getApplyAnnotation()Gets the value of the applyAnnotation property.List<BigDecimal>getSamples()Gets the value of the samples property.inthashCode()voidsetApplyAnnotation(List<SampleArrayValue.ApplyAnnotation> value)voidsetSamples(List<BigDecimal> value)StringtoString()-
Methods inherited from class org.somda.sdc.biceps.model.participant.AbstractMetricValue
getAnnotation, getDeterminationTime, getExtension, getMetricQuality, getStartTime, getStopTime, setAnnotation, setDeterminationTime, setExtension, setMetricQuality, setStartTime, setStopTime
-
-
-
-
Field Detail
-
applyAnnotation
protected List<SampleArrayValue.ApplyAnnotation> applyAnnotation
-
samples
protected List<BigDecimal> samples
-
-
Method Detail
-
getApplyAnnotation
public List<SampleArrayValue.ApplyAnnotation> getApplyAnnotation()
Gets the value of the applyAnnotation 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 applyAnnotation property.For example, to add a new item, do as follows:
getApplyAnnotation().add(newItem);Objects of the following type(s) are allowed in the list
SampleArrayValue.ApplyAnnotation
-
getSamples
public List<BigDecimal> getSamples()
Gets the value of the samples 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 samples property.For example, to add a new item, do as follows:
getSamples().add(newItem);Objects of the following type(s) are allowed in the list
BigDecimal
-
setApplyAnnotation
public void setApplyAnnotation(List<SampleArrayValue.ApplyAnnotation> value)
-
setSamples
public void setSamples(List<BigDecimal> value)
-
clone
public Object clone()
- Overrides:
clonein classAbstractMetricValue
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2- Overrides:
copyToin classAbstractMetricValue
-
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 classAbstractMetricValue
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2- Overrides:
createNewInstancein classAbstractMetricValue
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classAbstractMetricValue
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractMetricValue
-
toString
public String toString()
- Overrides:
toStringin classAbstractMetricValue
-
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 classAbstractMetricValue
-
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 classAbstractMetricValue
-
-