Class AbstractMetricState

  • All Implemented Interfaces:
    Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.ToString2
    Direct Known Subclasses:
    DistributionSampleArrayMetricState, NumericMetricState, RealTimeSampleArrayMetricState, StringMetricState

    public class AbstractMetricState
    extends AbstractState
    implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.ToString2
    Abstract state of a METRIC.

    Java class for AbstractMetricState complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="AbstractMetricState">
       <complexContent>
         <extension base="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}AbstractState">
           <sequence>
             <element name="BodySite" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}CodedValue" maxOccurs="unbounded" minOccurs="0"/>
             <element name="PhysicalConnector" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}PhysicalConnectorInfo" minOccurs="0"/>
           </sequence>
           <attribute name="ActivationState" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}ComponentActivation" />
           <attribute name="ActiveDeterminationPeriod" type="{http://www.w3.org/2001/XMLSchema}duration" />
           <attribute name="LifeTimePeriod" type="{http://www.w3.org/2001/XMLSchema}duration" />
         </extension>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • AbstractMetricState

        public AbstractMetricState()
    • Method Detail

      • getBodySite

        public List<CodedValue> getBodySite()
        Gets the value of the bodySite 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 bodySite property.

        For example, to add a new item, do as follows:

            getBodySite().add(newItem);
         

        Objects of the following type(s) are allowed in the list CodedValue

      • setActivationState

        public void setActivationState​(ComponentActivation value)
        Sets the value of the activationState property.
        Parameters:
        value - allowed object is ComponentActivation
      • getActiveDeterminationPeriod

        public Duration getActiveDeterminationPeriod()
        Gets the value of the activeDeterminationPeriod property.
        Returns:
        possible object is String
      • setActiveDeterminationPeriod

        public void setActiveDeterminationPeriod​(Duration value)
        Sets the value of the activeDeterminationPeriod property.
        Parameters:
        value - allowed object is String
      • getLifeTimePeriod

        public Duration getLifeTimePeriod()
        Gets the value of the lifeTimePeriod property.
        Returns:
        possible object is String
      • setLifeTimePeriod

        public void setLifeTimePeriod​(Duration value)
        Sets the value of the lifeTimePeriod property.
        Parameters:
        value - allowed object is String
      • copyTo

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

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