public interface PostalAddress extends ExtensibleObject
Modifier and Type | Method and Description |
---|---|
String |
getCity()
Returns the city.
|
String |
getCountry()
Returns the country.
|
String |
getPostalCode()
Returns the postal or zip code.
|
ClassificationScheme |
getPostalScheme()
Returns a user-defined postal scheme for codifying the attributes of PostalAddress.
|
String |
getStateOrProvince()
Returns the state or province.
|
String |
getStreet()
Returns the street name.
|
String |
getStreetNumber()
Returns the street number.
|
String |
getType()
Returns the type of address (for example, "headquarters") as a String.
|
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)
Sets 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 name.
|
void |
setStreetNumber(String streetNumber)
Sets the street number.
|
void |
setType(String type)
Sets the type of address (for example, "headquarters") as a String.
|
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots
String getStreet() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setStreet(String street) throws JAXRException
street
- the street nameJAXRException
- If the JAXR provider encounters an internal errorString getStreetNumber() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setStreetNumber(String streetNumber) throws JAXRException
streetNumber
- the street numberJAXRException
- If the JAXR provider encounters an internal errorString getCity() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setCity(String city) throws JAXRException
city
- the cityJAXRException
- If the JAXR provider encounters an internal errorString getStateOrProvince() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setStateOrProvince(String stateOrProvince) throws JAXRException
stateOrProvince
- the state or provinceJAXRException
- If the JAXR provider encounters an internal errorString getPostalCode() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setPostalCode(String postalCode) throws JAXRException
postalCode
- the postal code (e.g. US zip code)JAXRException
- If the JAXR provider encounters an internal errorString getCountry() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setCountry(String country) throws JAXRException
country
- the countryJAXRException
- If the JAXR provider encounters an internal errorString getType() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setType(String type) throws JAXRException
type
- the type for this PostalAddress. This is an arbitrary String (e.g. "Home", "Office")JAXRException
- If the JAXR provider encounters an internal errorvoid setPostalScheme(ClassificationScheme scheme) throws JAXRException
scheme
- the user defined postal scheme.JAXRException
- If the JAXR provider encounters an internal errorClassificationScheme getPostalScheme() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorRegistryService.getDefaultPostalScheme()
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.