Class UnknownJavaObjectType

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

    public class UnknownJavaObjectType
    extends Object
    implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
    Type used to represent Java objects that are otherwise unknown to the system and cannot be represented in "canonical" XML form. This must be used only in diagnostics messages intended to be displayed to the human user. It must not be used in places intended for computer processing.

    Java class for UnknownJavaObjectType complex type.

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

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

      • clazz

        protected String clazz
      • toString

        protected String toString
      • COMPLEX_TYPE

        public static final QName COMPLEX_TYPE
      • F_CLAZZ

        public static final ItemName F_CLAZZ
      • F_TO_STRING

        public static final ItemName F_TO_STRING
    • Constructor Detail

      • UnknownJavaObjectType

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

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

      • getClazz

        public String getClazz()
        Gets the value of the clazz property.
        Returns:
        possible object is String
      • setClazz

        public void setClazz​(String value)
        Sets the value of the clazz property.
        Parameters:
        value - allowed object is String
      • getToString

        public String getToString()
        Gets the value of the toString property.
        Returns:
        possible object is String
      • setToString

        public void setToString​(String value)
        Sets the value of the toString property.
        Parameters:
        value - allowed object is String
      • 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 UnknownJavaObjectType clone()
        Creates and returns a deep copy of this object.
        Overrides:
        clone in class Object
        Returns:
        A deep copy of this object.