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">
         <restriction base="{}anyType">
             <element name="class" type="{}string"/>
             <element name="toString" type="{}string"/>
    See Also:
    Serialized Form
    • Field Detail

      • clazz

        protected String clazz
      • toString

        protected String toString

        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.
        o - The instance to copy.
        NullPointerException - if o is null.
    • Method Detail

      • getClazz

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

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

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

        public void setToString​(String value)
        Sets the value of the toString property.
        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
        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()
        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.
        clone in class Object
        A deep copy of this object.