public class PostalAddress6 extends java.lang.Object implements CopyableTo<PostalAddress6>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<java.lang.String> |
adrLine |
protected AddressType2Code |
adrTp |
protected java.lang.String |
bldgNb |
protected java.lang.String |
ctry |
protected java.lang.String |
ctrySubDvsn |
protected java.lang.String |
dept |
protected java.lang.String |
pstCd |
protected java.lang.String |
strtNm |
protected java.lang.String |
subDept |
protected java.lang.String |
twnNm |
| Constructor and Description |
|---|
PostalAddress6() |
| Modifier and Type | Method and Description |
|---|---|
PostalAddress6 |
addAdrLine(java.lang.String a) |
void |
copyTo(PostalAddress6 target)
Copy recursively all attributes of this object to target.
|
boolean |
equals(java.lang.Object that) |
java.util.List<java.lang.String> |
getAdrLine()
Gets the value of the adrLine property.
|
AddressType2Code |
getAdrTp()
Gets the value of the adrTp property.
|
java.lang.String |
getBldgNb()
Gets the value of the bldgNb property.
|
java.lang.String |
getCtry()
Gets the value of the ctry property.
|
java.lang.String |
getCtrySubDvsn()
Gets the value of the ctrySubDvsn property.
|
java.lang.String |
getDept()
Gets the value of the dept property.
|
java.lang.String |
getPstCd()
Gets the value of the pstCd property.
|
java.lang.String |
getStrtNm()
Gets the value of the strtNm property.
|
java.lang.String |
getSubDept()
Gets the value of the subDept property.
|
java.lang.String |
getTwnNm()
Gets the value of the twnNm property.
|
int |
hashCode() |
PostalAddress6 |
setAdrTp(AddressType2Code value)
Sets the value of the adrTp property.
|
PostalAddress6 |
setBldgNb(java.lang.String value)
Sets the value of the bldgNb property.
|
PostalAddress6 |
setCtry(java.lang.String value)
Sets the value of the ctry property.
|
PostalAddress6 |
setCtrySubDvsn(java.lang.String value)
Sets the value of the ctrySubDvsn property.
|
PostalAddress6 |
setDept(java.lang.String value)
Sets the value of the dept property.
|
PostalAddress6 |
setPstCd(java.lang.String value)
Sets the value of the pstCd property.
|
PostalAddress6 |
setStrtNm(java.lang.String value)
Sets the value of the strtNm property.
|
PostalAddress6 |
setSubDept(java.lang.String value)
Sets the value of the subDept property.
|
PostalAddress6 |
setTwnNm(java.lang.String value)
Sets the value of the twnNm property.
|
java.lang.String |
toString() |
protected AddressType2Code adrTp
protected java.lang.String dept
protected java.lang.String subDept
protected java.lang.String strtNm
protected java.lang.String bldgNb
protected java.lang.String pstCd
protected java.lang.String twnNm
protected java.lang.String ctrySubDvsn
protected java.lang.String ctry
protected java.util.List<java.lang.String> adrLine
public AddressType2Code getAdrTp()
AddressType2Codepublic PostalAddress6 setAdrTp(AddressType2Code value)
value - allowed object is
AddressType2Codepublic java.lang.String getDept()
Stringpublic PostalAddress6 setDept(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getSubDept()
Stringpublic PostalAddress6 setSubDept(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getStrtNm()
Stringpublic PostalAddress6 setStrtNm(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getBldgNb()
Stringpublic PostalAddress6 setBldgNb(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getPstCd()
Stringpublic PostalAddress6 setPstCd(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getTwnNm()
Stringpublic PostalAddress6 setTwnNm(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getCtrySubDvsn()
Stringpublic PostalAddress6 setCtrySubDvsn(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getCtry()
Stringpublic PostalAddress6 setCtry(java.lang.String value)
value - allowed object is
Stringpublic java.util.List<java.lang.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 java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic final void copyTo(PostalAddress6 target)
CopyableToCopyableTo, 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(java.lang.String a)