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

      • SampleArrayValue

        public SampleArrayValue()
    • 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 set method 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 set method 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

      • 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
        Overrides:
        copyTo in class AbstractMetricValue
      • 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
        Overrides:
        append in class AbstractMetricValue
      • 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
        Overrides:
        appendFields in class AbstractMetricValue