Class MessagePropertyType

  • All Implemented Interfaces:
    JaxbVisitable, Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

    public class MessagePropertyType
    extends Object
    implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
    Message property (key-value pair).

    Java class for MessagePropertyType complex type.

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

     <complexType name="MessagePropertyType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="value" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Detail

      • value

        protected Object value
      • COMPLEX_TYPE

        public static final QName COMPLEX_TYPE
      • F_NAME

        public static final ItemName F_NAME
      • F_VALUE

        public static final ItemName F_VALUE
    • Constructor Detail

      • MessagePropertyType

        public MessagePropertyType()
        Creates a new MessagePropertyType instance.
      • MessagePropertyType

        public MessagePropertyType​(MessagePropertyType o)
        Creates a new MessagePropertyType instance by deeply copying a given MessagePropertyType instance.
        Parameters:
        o - The instance to copy.
        Throws:
        NullPointerException - if o is null.
    • Method Detail

      • getName

        public String getName()
        Gets the value of the name property.
        Returns:
        possible object is String
      • setName

        public void setName​(String value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is String
      • getValue

        public Object getValue()
        Gets the value of the value property.
        Returns:
        possible object is Object
      • setValue

        public void setValue​(Object value)
        Sets the value of the value property.
        Parameters:
        value - allowed object is Object
      • toString

        public String toString()
        Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin
        Overrides:
        toString in class Object
      • hashCode

        public int hashCode​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
        Specified by:
        hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                              org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                              Object object,
                              org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
        Specified by:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals
      • clone

        public MessagePropertyType clone()
        Creates and returns a deep copy of this object.
        Overrides:
        clone in class Object
        Returns:
        A deep copy of this object.