public class PostalAddressImpl extends ExtensibleObjectImpl implements PostalAddress, Serializable
| Constructor and Description |
|---|
PostalAddressImpl()
Creates new PostalAddressImpl.
|
PostalAddressImpl(String streetNumber,
String street,
String city,
String stateOrProvince,
String country,
String postalCode,
String type)
Utility constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCity()
The city
|
String |
getCountry()
The country
|
String |
getPostalCode()
The postal or zip code
|
ClassificationScheme |
getPostalScheme()
Get a user-defined postal scheme for codifying the attributes of PostalAddress
If none is defined for this object, then must rerturn the default value
returned by RegistryService#getDefaultPostalScheme()
|
String |
getStateOrProvince()
The state or province
|
String |
getStreet()
The street address
|
String |
getStreetNumber()
The street number
|
String |
getType()
The type of address (e.g.
|
void |
setCity(String city)
Sets the city
|
void |
setCountry(String country)
Sets the country
|
void |
setPostalCode(String postalCode)
Sets the postal or zip code
|
void |
setPostalScheme(ClassificationScheme scheme)
Set a user-defined postal scheme for codifying the attributes of PostalAddress
|
void |
setStateOrProvince(String stateOrProvince)
Sets the state or province
|
void |
setStreet(String street)
Sets the street address
|
void |
setStreetNumber(String streetNumber)
Sets the street number
|
void |
setType(String type)
Sets the type of address (e.g.
|
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlotsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddSlot, addSlots, getSlot, getSlots, removeSlot, removeSlotspublic PostalAddressImpl()
public String getStreet() throws JAXRException
getStreet in interface PostalAddressJAXRException - If the JAXR provider encounters an internal errorpublic void setStreet(String street) throws JAXRException
setStreet in interface PostalAddressstreet - the street nameJAXRException - If the JAXR provider encounters an internal errorpublic String getStreetNumber() throws JAXRException
getStreetNumber in interface PostalAddressJAXRException - If the JAXR provider encounters an internal errorpublic void setStreetNumber(String streetNumber) throws JAXRException
setStreetNumber in interface PostalAddressstreetNumber - the street numberJAXRException - If the JAXR provider encounters an internal errorpublic String getCity() throws JAXRException
getCity in interface PostalAddressJAXRException - If the JAXR provider encounters an internal errorpublic void setCity(String city) throws JAXRException
setCity in interface PostalAddresscity - the cityJAXRException - If the JAXR provider encounters an internal errorpublic String getStateOrProvince() throws JAXRException
getStateOrProvince in interface PostalAddressJAXRException - If the JAXR provider encounters an internal errorpublic void setStateOrProvince(String stateOrProvince) throws JAXRException
setStateOrProvince in interface PostalAddressstateOrProvince - the state or provinceJAXRException - If the JAXR provider encounters an internal errorpublic String getPostalCode() throws JAXRException
getPostalCode in interface PostalAddressJAXRException - If the JAXR provider encounters an internal errorpublic void setPostalCode(String postalCode) throws JAXRException
setPostalCode in interface PostalAddresspostalCode - the postal code (e.g. US zip code)JAXRException - If the JAXR provider encounters an internal errorpublic String getCountry() throws JAXRException
getCountry in interface PostalAddressJAXRException - If the JAXR provider encounters an internal errorpublic void setCountry(String country) throws JAXRException
setCountry in interface PostalAddresscountry - the countryJAXRException - If the JAXR provider encounters an internal errorpublic String getType() throws JAXRException
getType in interface PostalAddressJAXRException - If the JAXR provider encounters an internal errorpublic void setType(String type) throws JAXRException
setType in interface PostalAddresstype - the type for this PostalAddress. This is an arbitrary String (e.g. "Home", "Office")JAXRException - If the JAXR provider encounters an internal errorpublic ClassificationScheme getPostalScheme() throws JAXRException
getPostalScheme in interface PostalAddressJAXRException - If the JAXR provider encounters an internal errorRegistryService.getDefaultPostalScheme()public void setPostalScheme(ClassificationScheme scheme) throws JAXRException
setPostalScheme in interface PostalAddressscheme - the user defined postal scheme.JAXRException - If the JAXR provider encounters an internal errorCopyright © 2005–2017 Oracle Corporation. All rights reserved.