public class SRPAddress extends Object
Java class for SRPAddress complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SRPAddress"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="address" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="port" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <any/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
address |
protected List<Object> |
any |
protected Integer |
port |
Constructor and Description |
---|
SRPAddress() |
Modifier and Type | Method and Description |
---|---|
String |
getAddress()
Gets the value of the address property.
|
List<Object> |
getAny()
Gets the value of the any property.
|
Integer |
getPort()
Gets the value of the port property.
|
void |
setAddress(String value)
Sets the value of the address property.
|
void |
setPort(Integer value)
Sets the value of the port property.
|
public String getAddress()
String
public void setAddress(String value)
value
- allowed object is String
public Integer getPort()
Integer
public void setPort(Integer value)
value
- allowed object is Integer
public List<Object> getAny()
This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object. This is why there is not a set
method for the any
property.
For example, to add a new item, do as follows:
getAny().add(newItem);
Objects of the following type(s) are allowed in the list Object
Copyright © 2014. All rights reserved.