public class TradeAddressType extends Object
Java class for TradeAddressType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="TradeAddressType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="PostcodeCode" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}CodeType" maxOccurs="unbounded" minOccurs="0"/>
<element name="LineOne" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" minOccurs="0"/>
<element name="LineTwo" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" minOccurs="0"/>
<element name="CityName" type="{urn:un:unece:uncefact:data:standard:UnqualifiedDataType:15}TextType" minOccurs="0"/>
<element name="CountryID" type="{urn:un:unece:uncefact:data:standard:QualifiedDataType:12}CountryIDType" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected TextType |
cityName |
protected CountryIDType |
countryID |
protected TextType |
lineOne |
protected TextType |
lineTwo |
protected List<CodeType> |
postcodeCode |
| Constructor and Description |
|---|
TradeAddressType() |
| Modifier and Type | Method and Description |
|---|---|
TextType |
getCityName()
Gets the value of the cityName property.
|
CountryIDType |
getCountryID()
Gets the value of the countryID property.
|
TextType |
getLineOne()
Gets the value of the lineOne property.
|
TextType |
getLineTwo()
Gets the value of the lineTwo property.
|
List<CodeType> |
getPostcodeCode()
Gets the value of the postcodeCode property.
|
void |
setCityName(TextType value)
Sets the value of the cityName property.
|
void |
setCountryID(CountryIDType value)
Sets the value of the countryID property.
|
void |
setLineOne(TextType value)
Sets the value of the lineOne property.
|
void |
setLineTwo(TextType value)
Sets the value of the lineTwo property.
|
TradeAddressType |
withCityName(TextType value) |
TradeAddressType |
withCountryID(CountryIDType value) |
TradeAddressType |
withLineOne(TextType value) |
TradeAddressType |
withLineTwo(TextType value) |
TradeAddressType |
withPostcodeCode(CodeType... values) |
TradeAddressType |
withPostcodeCode(Collection<CodeType> values) |
protected TextType lineOne
protected TextType lineTwo
protected TextType cityName
protected CountryIDType countryID
public List<CodeType> getPostcodeCode()
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 postcodeCode property.
For example, to add a new item, do as follows:
getPostcodeCode().add(newItem);
Objects of the following type(s) are allowed in the list
CodeType
public TextType getLineOne()
TextTypepublic void setLineOne(TextType value)
value - allowed object is
TextTypepublic TextType getLineTwo()
TextTypepublic void setLineTwo(TextType value)
value - allowed object is
TextTypepublic TextType getCityName()
TextTypepublic void setCityName(TextType value)
value - allowed object is
TextTypepublic CountryIDType getCountryID()
CountryIDTypepublic void setCountryID(CountryIDType value)
value - allowed object is
CountryIDTypepublic TradeAddressType withPostcodeCode(CodeType... values)
public TradeAddressType withPostcodeCode(Collection<CodeType> values)
public TradeAddressType withLineOne(TextType value)
public TradeAddressType withLineTwo(TextType value)
public TradeAddressType withCityName(TextType value)
public TradeAddressType withCountryID(CountryIDType value)
Copyright © 2014–2019 Philip Helger. All rights reserved.