public class AddressPortType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo
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>
| Modifier and Type | Field and Description |
|---|---|
protected String |
address |
protected String |
host |
protected int |
port |
| Constructor and Description |
|---|
AddressPortType() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
Object |
copyTo(Object target) |
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy) |
Object |
createNewInstance() |
String |
getAddress()
Gets the value of the address property.
|
String |
getHost()
Gets the value of the host property.
|
int |
getPort()
Gets the value of the port property.
|
boolean |
isSetAddress() |
boolean |
isSetHost() |
boolean |
isSetPort() |
void |
setAddress(String value)
Sets the value of the address property.
|
void |
setHost(String value)
Sets the value of the host property.
|
void |
setPort(int value)
Sets the value of the port property.
|
AddressPortType |
withAddress(String value) |
AddressPortType |
withHost(String value) |
AddressPortType |
withPort(int value) |
public String getHost()
Stringpublic void setHost(String value)
value - allowed object is
Stringpublic boolean isSetHost()
public String getAddress()
Stringpublic void setAddress(String value)
value - allowed object is
Stringpublic boolean isSetAddress()
public int getPort()
public void setPort(int value)
public boolean isSetPort()
public Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTopublic AddressPortType withHost(String value)
public AddressPortType withAddress(String value)
public AddressPortType withPort(int value)
Copyright © 2015. All rights reserved.