Class AddressPortType

  • All Implemented Interfaces:
    Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

    public class AddressPortType
    extends Object
    implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

    Java class for AddressPortType complex type.

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

     <complexType name="AddressPortType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <choice>
               <element name="host" type="{http://www.w3.org/2001/XMLSchema}string"/>
               <element name="address" type="{http://www.w3.org/2001/XMLSchema}string"/>
             </choice>
             <element name="port" type="{http://www.w3.org/2001/XMLSchema}int"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Detail

      • address

        protected String address
      • port

        protected int port
    • Constructor Detail

      • AddressPortType

        public AddressPortType()
    • Method Detail

      • getHost

        public String getHost()
        Gets the value of the host property.
        Returns:
        possible object is String
      • setHost

        public void setHost​(String value)
        Sets the value of the host property.
        Parameters:
        value - allowed object is String
      • isSetHost

        public boolean isSetHost()
      • getAddress

        public String getAddress()
        Gets the value of the address property.
        Returns:
        possible object is String
      • setAddress

        public void setAddress​(String value)
        Sets the value of the address property.
        Parameters:
        value - allowed object is String
      • isSetAddress

        public boolean isSetAddress()
      • getPort

        public int getPort()
        Gets the value of the port property.
      • setPort

        public void setPort​(int value)
        Sets the value of the port property.
      • isSetPort

        public boolean isSetPort()
      • copyTo

        public Object copyTo​(Object target)
        Specified by:
        copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2
      • copyTo

        public Object copyTo​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                             Object target,
                             org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
        Specified by:
        copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2
      • createNewInstance

        public Object createNewInstance()
        Specified by:
        createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo2
      • 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.EqualsStrategy2 strategy)
        Specified by:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      • visit

        public AddressPortType visit​(com.kscs.util.jaxb.PropertyVisitor _visitor_)
      • hashCode

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

        public int hashCode()
        Overrides:
        hashCode in class Object