Class AbstractMetricValue
- java.lang.Object
-
- org.somda.sdc.biceps.model.participant.AbstractMetricValue
-
- All Implemented Interfaces:
Cloneable,org.jvnet.jaxb2_commons.lang.CopyTo2,org.jvnet.jaxb2_commons.lang.ToString2
- Direct Known Subclasses:
NumericMetricValue,SampleArrayValue,StringMetricValue
public class AbstractMetricValue extends Object implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.ToString2
Abstract value of a METRIC.Java class for AbstractMetricValue complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AbstractMetricValue"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://standards.ieee.org/downloads/11073/11073-10207-2017/extension}Extension" minOccurs="0"/> <element name="MetricQuality"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://standards.ieee.org/downloads/11073/11073-10207-2017/extension}Extension" minOccurs="0"/> </sequence> <attribute name="Validity" use="required" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}MeasurementValidity" /> <attribute name="Mode" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}GenerationMode" /> <attribute name="Qi" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}QualityIndicator" /> </restriction> </complexContent> </complexType> </element> <element name="Annotation" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://standards.ieee.org/downloads/11073/11073-10207-2017/extension}Extension" minOccurs="0"/> <element name="Type" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}CodedValue"/> </sequence> </restriction> </complexContent> </complexType> </element> </sequence> <attribute name="StartTime" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}Timestamp" /> <attribute name="StopTime" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}Timestamp" /> <attribute name="DeterminationTime" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}Timestamp" /> </restriction> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractMetricValue.AnnotationJava class for anonymous complex type.static classAbstractMetricValue.MetricQualityJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected List<AbstractMetricValue.Annotation>annotationprotected InstantdeterminationTimeprotected ExtensionTypeextensionprotected AbstractMetricValue.MetricQualitymetricQualityprotected InstantstartTimeprotected InstantstopTime
-
Constructor Summary
Constructors Constructor Description AbstractMetricValue()
-
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<AbstractMetricValue.Annotation>getAnnotation()Gets the value of the annotation property.InstantgetDeterminationTime()Gets the value of the determinationTime property.ExtensionTypegetExtension()Gets the value of the extension property.AbstractMetricValue.MetricQualitygetMetricQuality()Gets the value of the metricQuality property.InstantgetStartTime()Gets the value of the startTime property.InstantgetStopTime()Gets the value of the stopTime property.inthashCode()voidsetAnnotation(List<AbstractMetricValue.Annotation> value)voidsetDeterminationTime(Instant value)Sets the value of the determinationTime property.voidsetExtension(ExtensionType value)Sets the value of the extension property.voidsetMetricQuality(AbstractMetricValue.MetricQuality value)Sets the value of the metricQuality property.voidsetStartTime(Instant value)Sets the value of the startTime property.voidsetStopTime(Instant value)Sets the value of the stopTime property.StringtoString()
-
-
-
Field Detail
-
extension
protected ExtensionType extension
-
metricQuality
protected AbstractMetricValue.MetricQuality metricQuality
-
annotation
protected List<AbstractMetricValue.Annotation> annotation
-
startTime
protected Instant startTime
-
stopTime
protected Instant stopTime
-
determinationTime
protected Instant determinationTime
-
-
Method Detail
-
getExtension
public ExtensionType getExtension()
Gets the value of the extension property.- Returns:
- possible object is
ExtensionType
-
setExtension
public void setExtension(ExtensionType value)
Sets the value of the extension property.- Parameters:
value- allowed object isExtensionType
-
getMetricQuality
public AbstractMetricValue.MetricQuality getMetricQuality()
Gets the value of the metricQuality property.- Returns:
- possible object is
AbstractMetricValue.MetricQuality
-
setMetricQuality
public void setMetricQuality(AbstractMetricValue.MetricQuality value)
Sets the value of the metricQuality property.- Parameters:
value- allowed object isAbstractMetricValue.MetricQuality
-
getAnnotation
public List<AbstractMetricValue.Annotation> getAnnotation()
Gets the value of the annotation 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 annotation property.For example, to add a new item, do as follows:
getAnnotation().add(newItem);Objects of the following type(s) are allowed in the list
AbstractMetricValue.Annotation
-
getStartTime
public Instant getStartTime()
Gets the value of the startTime property.- Returns:
- possible object is
String
-
setStartTime
public void setStartTime(Instant value)
Sets the value of the startTime property.- Parameters:
value- allowed object isString
-
getStopTime
public Instant getStopTime()
Gets the value of the stopTime property.- Returns:
- possible object is
String
-
setStopTime
public void setStopTime(Instant value)
Sets the value of the stopTime property.- Parameters:
value- allowed object isString
-
getDeterminationTime
public Instant getDeterminationTime()
Gets the value of the determinationTime property.- Returns:
- possible object is
String
-
setDeterminationTime
public void setDeterminationTime(Instant value)
Sets the value of the determinationTime property.- Parameters:
value- allowed object isString
-
setAnnotation
public void setAnnotation(List<AbstractMetricValue.Annotation> value)
-
copyTo
public Object copyTo(Object target)
- Specified by:
copyToin interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
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
-
createNewInstance
public Object createNewInstance()
- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb2_commons.lang.CopyTo2
-
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
-
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
-
-