public static class PostalAddressType.DeliveryAddress extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="AddressLine" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="StreetName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="BuildingNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="Unit" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="PostOfficeBox" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
addressLine |
protected String |
buildingNumber |
protected String |
postOfficeBox |
protected String |
streetName |
protected String |
unit |
| Constructor and Description |
|---|
PostalAddressType.DeliveryAddress() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAddressLine()
Gets the value of the addressLine property.
|
String |
getBuildingNumber()
Gets the value of the buildingNumber property.
|
String |
getPostOfficeBox()
Gets the value of the postOfficeBox property.
|
String |
getStreetName()
Gets the value of the streetName property.
|
String |
getUnit()
Gets the value of the unit property.
|
void |
setBuildingNumber(String value)
Sets the value of the buildingNumber property.
|
void |
setPostOfficeBox(String value)
Sets the value of the postOfficeBox property.
|
void |
setStreetName(String value)
Sets the value of the streetName property.
|
void |
setUnit(String value)
Sets the value of the unit property.
|
protected String streetName
protected String buildingNumber
protected String unit
protected String postOfficeBox
public List<String> getAddressLine()
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 addressLine property.
For example, to add a new item, do as follows:
getAddressLine().add(newItem);
Objects of the following type(s) are allowed in the list
String
public String getStreetName()
Stringpublic void setStreetName(String value)
value - allowed object is
Stringpublic String getBuildingNumber()
Stringpublic void setBuildingNumber(String value)
value - allowed object is
Stringpublic String getUnit()
Stringpublic void setUnit(String value)
value - allowed object is
Stringpublic String getPostOfficeBox()
StringCopyright © 2016. All rights reserved.