public class PostalAddress6 extends Object implements CopyableTo<PostalAddress6>
Modifier and Type | Field and Description |
---|---|
protected List<String> |
adrLine |
protected AddressType2Code |
adrTp |
protected String |
bldgNb |
protected String |
ctry |
protected String |
ctrySubDvsn |
protected String |
dept |
protected String |
pstCd |
protected String |
strtNm |
protected String |
subDept |
protected String |
twnNm |
Constructor and Description |
---|
PostalAddress6() |
Modifier and Type | Method and Description |
---|---|
PostalAddress6 |
addAdrLine(String a) |
void |
copyTo(PostalAddress6 target)
Copy recursively all attributes of this object to target.
|
boolean |
equals(Object that) |
List<String> |
getAdrLine()
Gets the value of the adrLine property.
|
AddressType2Code |
getAdrTp()
Gets the value of the adrTp property.
|
String |
getBldgNb()
Gets the value of the bldgNb property.
|
String |
getCtry()
Gets the value of the ctry property.
|
String |
getCtrySubDvsn()
Gets the value of the ctrySubDvsn property.
|
String |
getDept()
Gets the value of the dept property.
|
String |
getPstCd()
Gets the value of the pstCd property.
|
String |
getStrtNm()
Gets the value of the strtNm property.
|
String |
getSubDept()
Gets the value of the subDept property.
|
String |
getTwnNm()
Gets the value of the twnNm property.
|
int |
hashCode() |
PostalAddress6 |
setAdrTp(AddressType2Code value)
Sets the value of the adrTp property.
|
PostalAddress6 |
setBldgNb(String value)
Sets the value of the bldgNb property.
|
PostalAddress6 |
setCtry(String value)
Sets the value of the ctry property.
|
PostalAddress6 |
setCtrySubDvsn(String value)
Sets the value of the ctrySubDvsn property.
|
PostalAddress6 |
setDept(String value)
Sets the value of the dept property.
|
PostalAddress6 |
setPstCd(String value)
Sets the value of the pstCd property.
|
PostalAddress6 |
setStrtNm(String value)
Sets the value of the strtNm property.
|
PostalAddress6 |
setSubDept(String value)
Sets the value of the subDept property.
|
PostalAddress6 |
setTwnNm(String value)
Sets the value of the twnNm property.
|
String |
toString() |
protected AddressType2Code adrTp
protected String dept
protected String subDept
protected String strtNm
protected String bldgNb
protected String pstCd
protected String twnNm
protected String ctrySubDvsn
protected String ctry
public AddressType2Code getAdrTp()
AddressType2Code
public PostalAddress6 setAdrTp(AddressType2Code value)
value
- allowed object is
AddressType2Code
public String getDept()
String
public PostalAddress6 setDept(String value)
value
- allowed object is
String
public String getSubDept()
String
public PostalAddress6 setSubDept(String value)
value
- allowed object is
String
public String getStrtNm()
String
public PostalAddress6 setStrtNm(String value)
value
- allowed object is
String
public String getBldgNb()
String
public PostalAddress6 setBldgNb(String value)
value
- allowed object is
String
public String getPstCd()
String
public PostalAddress6 setPstCd(String value)
value
- allowed object is
String
public String getTwnNm()
String
public PostalAddress6 setTwnNm(String value)
value
- allowed object is
String
public String getCtrySubDvsn()
String
public PostalAddress6 setCtrySubDvsn(String value)
value
- allowed object is
String
public String getCtry()
String
public PostalAddress6 setCtry(String value)
value
- allowed object is
String
public List<String> getAdrLine()
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 adrLine property.
For example, to add a new item, do as follows:
getAdrLine().add(newItem);
Objects of the following type(s) are allowed in the list
String
public final void copyTo(PostalAddress6 target)
CopyableTo
CopyableTo
, then copyTo is invoked also in that attribute.copyTo
in interface CopyableTo<PostalAddress6>
target
- the object where these attributes will be copied. may be null, in which case nothing happens.public PostalAddress6 addAdrLine(String a)