Class EmptyType

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

    public class EmptyType
    extends Object
    implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
    Type that contains nothing. Used in WSDL messages that do not return anything to silence the warnings.

    Java class for EmptyType complex type.

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

     <complexType name="EmptyType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      EmptyType()
      Creates a new EmptyType instance.
      EmptyType​(EmptyType o)
      Creates a new EmptyType instance by deeply copying a given EmptyType instance.
    • Field Detail

      • COMPLEX_TYPE

        public static final QName COMPLEX_TYPE
    • Constructor Detail

      • EmptyType

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

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

      • 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 EmptyType clone()
        Creates and returns a deep copy of this object.
        Overrides:
        clone in class Object
        Returns:
        A deep copy of this object.