Class AddressPortType

java.lang.Object
com.vidispine.generated.AddressPortType
All Implemented Interfaces:
Serializable, Cloneable, org.jvnet.jaxb.lang.CopyTo, org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.ToString

public class AddressPortType extends Object implements Serializable, Cloneable, org.jvnet.jaxb.lang.CopyTo, org.jvnet.jaxb.lang.Equals, org.jvnet.jaxb.lang.HashCode, org.jvnet.jaxb.lang.ToString

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:
  • Field Details

    • host

      protected String host
    • address

      protected String address
    • port

      protected int port
  • Constructor Details

    • AddressPortType

      public AddressPortType()
  • Method Details

    • 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()
    • clone

      public Object clone()
      Overrides:
      clone in class Object
    • copyTo

      public Object copyTo(Object target)
      Specified by:
      copyTo in interface org.jvnet.jaxb.lang.CopyTo
    • copyTo

      public Object copyTo(org.jvnet.jaxb.locator.ObjectLocator locator, Object target, org.jvnet.jaxb.lang.CopyStrategy strategy)
      Specified by:
      copyTo in interface org.jvnet.jaxb.lang.CopyTo
    • createNewInstance

      public Object createNewInstance()
      Specified by:
      createNewInstance in interface org.jvnet.jaxb.lang.CopyTo
    • withHost

      public AddressPortType withHost(String value)
      Sets the value of the host property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withAddress

      public AddressPortType withAddress(String value)
      Sets the value of the address property.
      Parameters:
      value - allowed object is String
      Returns:
      The class instance
    • withPort

      public AddressPortType withPort(int value)
      Sets the value of the port property.
      Parameters:
      value - allowed object is int
      Returns:
      The class instance
    • equals

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

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • visit

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

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

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

      public String toString()
      Overrides:
      toString in class Object
    • append

      public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
      Specified by:
      append in interface org.jvnet.jaxb.lang.ToString
    • appendFields

      public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy)
      Specified by:
      appendFields in interface org.jvnet.jaxb.lang.ToString