Class AbstractState

  • All Implemented Interfaces:
    Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.ToString2
    Direct Known Subclasses:
    AbstractAlertState, AbstractDeviceComponentState, AbstractMetricState, AbstractMultiState, AbstractOperationState

    public class AbstractState
    extends Object
    implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.ToString2
    AbstractState defines foundational meta information of any object that is included in the state part of the MDIB. Any state object is derived from pm:AbstractState. The pm:AbstractState's counterpart is pm:AbstractDescriptor.

    Java class for AbstractState complex type.

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

     <complexType name="AbstractState">
       <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="StateVersion" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}VersionCounter" />
           <attribute name="DescriptorHandle" use="required" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}HandleRef" />
           <attribute name="DescriptorVersion" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}ReferencedVersion" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • AbstractState

        public AbstractState()
    • 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
      • getStateVersion

        public BigInteger getStateVersion()
        Gets the value of the stateVersion property.
        Returns:
        possible object is BigInteger
      • setStateVersion

        public void setStateVersion​(BigInteger value)
        Sets the value of the stateVersion property.
        Parameters:
        value - allowed object is BigInteger
      • getDescriptorHandle

        public String getDescriptorHandle()
        Gets the value of the descriptorHandle property.
        Returns:
        possible object is String
      • setDescriptorHandle

        public void setDescriptorHandle​(String value)
        Sets the value of the descriptorHandle property.
        Parameters:
        value - allowed object is String
      • getDescriptorVersion

        public BigInteger getDescriptorVersion()
        Gets the value of the descriptorVersion property.
        Returns:
        possible object is BigInteger
      • setDescriptorVersion

        public void setDescriptorVersion​(BigInteger value)
        Sets the value of the descriptorVersion property.
        Parameters:
        value - allowed object is BigInteger
      • 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