Class 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>
     
    • Constructor Detail

      • AbstractMetricValue

        public AbstractMetricValue()
    • 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 is ExtensionType
      • 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 set method 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 is String
      • 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 is String
      • 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 is String
      • copyTo

        public Object copyTo​(Object target)
        Specified by:
        copyTo in interface org.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:
        copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2
      • createNewInstance

        public Object createNewInstance()
        Specified by:
        createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo2
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • append

        public StringBuilder append​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                    StringBuilder buffer,
                                    org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
        Specified by:
        append in interface org.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:
        appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2