Class XAttributeIDImpl

    • Constructor Detail

      • XAttributeIDImpl

        public XAttributeIDImpl​(java.lang.String key,
                                XID value)
        Creates a new instance.
        Parameters:
        key - The key of the attribute.
        value - Value of the attribute.
      • XAttributeIDImpl

        public XAttributeIDImpl​(java.lang.String key,
                                XID value,
                                XExtension extension)
        Creates a new instance.
        Parameters:
        key - The key of the attribute.
        value - Value of the attribute.
        extension - The extension of the attribute.
    • Method Detail

      • getValue

        public XID getValue()
        Description copied from interface: XAttributeID
        Retrieves the ID value of this attribute.
        Specified by:
        getValue in interface XAttributeID
        Returns:
        Value of this attribute.
      • setValue

        public void setValue​(XID value)
        Description copied from interface: XAttributeID
        Assigns the ID value of this attribute.
        Specified by:
        setValue in interface XAttributeID
        Parameters:
        value - Value of the attribute.
      • toString

        public java.lang.String toString()
        Description copied from interface: XAttribute
        String representation of the value.
        Specified by:
        toString in interface XAttribute
        Overrides:
        toString in class java.lang.Object
        Returns:
        Returns the String representation of the value.
      • clone

        public java.lang.Object clone()
        Description copied from interface: XAttribute
        Attributes must be cloneable.
        Specified by:
        clone in interface XAttribute
        Overrides:
        clone in class XAttributeImpl
        Returns:
        A clone of this attribute.
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class XAttributeImpl