Class AbstractDescriptor

  • All Implemented Interfaces:
    Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.ToString2
    Direct Known Subclasses:
    AbstractAlertDescriptor, AbstractContextDescriptor, AbstractDeviceComponentDescriptor, AbstractMetricDescriptor, AbstractOperationDescriptor

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

    Java class for AbstractDescriptor complex type.

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

     <complexType name="AbstractDescriptor">
       <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" minOccurs="0"/>
           </sequence>
           <attribute name="Handle" use="required" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}Handle" />
           <attribute name="DescriptorVersion" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}VersionCounter" />
           <attribute name="SafetyClassification" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}SafetyClassification" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • AbstractDescriptor

        public AbstractDescriptor()
    • 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
      • getType

        public CodedValue getType()
        Gets the value of the type property.
        Returns:
        possible object is CodedValue
      • setType

        public void setType​(CodedValue value)
        Sets the value of the type property.
        Parameters:
        value - allowed object is CodedValue
      • getHandle

        public String getHandle()
        Gets the value of the handle property.
        Returns:
        possible object is String
      • setHandle

        public void setHandle​(String value)
        Sets the value of the handle 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
      • setSafetyClassification

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