public class PostalAddressImpl extends Object implements PostalAddress
| Constructor and Description |
|---|
PostalAddressImpl(Address address,
PostalAddressUseEnum use) |
| Modifier and Type | Method and Description |
|---|---|
Address |
getAddress()
The description of a location where an entity is located or can be
otherwise reached or found and a description of the purpose for which
that address is primarily used by that entity.
|
PostalAddressUseEnum |
getUse()
The purpose for which the address is being used by the entity.
|
void |
setAddress(Address address)
The description of a location where an entity is located or can be
otherwise reached or found and a description of the purpose for which
that address is primarily used by that entity.
|
void |
setUse(PostalAddressUseEnum use)
The purpose for which the address is being used by the entity.
|
public PostalAddressImpl(Address address, PostalAddressUseEnum use)
public PostalAddressUseEnum getUse()
PostalAddressgetUse in interface PostalAddresspublic Address getAddress()
PostalAddressgetAddress in interface PostalAddresspublic void setUse(PostalAddressUseEnum use)
PostalAddresssetUse in interface PostalAddressuse - the use to setpublic void setAddress(Address address)
PostalAddresssetAddress in interface PostalAddressaddress - the address to setCopyright © 2021. All rights reserved.