|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PostalAddress
PostalAddress is a simple re-usable entity class that defines attributes of a postal Address.
Method Summary | |
---|---|
java.lang.String |
getCity()
Returns the city. |
java.lang.String |
getCountry()
Returns the country. |
java.lang.String |
getPostalCode()
Returns the postal or zip code. |
ClassificationScheme |
getPostalScheme()
Returns a user-defined postal scheme for codifying the attributes of PostalAddress. |
java.lang.String |
getStateOrProvince()
Returns the state or province. |
java.lang.String |
getStreet()
Returns the street name. |
java.lang.String |
getStreetNumber()
Returns the street number. |
java.lang.String |
getType()
Returns the type of address (for example, "headquarters") as a String. |
void |
setCity(java.lang.String city)
Sets the city. |
void |
setCountry(java.lang.String country)
Sets the country. |
void |
setPostalCode(java.lang.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(java.lang.String stateOrProvince)
Sets the state or province. |
void |
setStreet(java.lang.String street)
Sets the street name. |
void |
setStreetNumber(java.lang.String streetNumber)
Sets the street number. |
void |
setType(java.lang.String type)
Sets the type of address (for example, "headquarters") as a String. |
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject |
---|
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots |
Method Detail |
---|
java.lang.String getStreet() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setStreet(java.lang.String street) throws JAXRException
street
- the street name
JAXRException
- If the JAXR provider encounters an internal errorjava.lang.String getStreetNumber() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setStreetNumber(java.lang.String streetNumber) throws JAXRException
streetNumber
- the street number
JAXRException
- If the JAXR provider encounters an internal errorjava.lang.String getCity() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setCity(java.lang.String city) throws JAXRException
city
- the city
JAXRException
- If the JAXR provider encounters an internal errorjava.lang.String getStateOrProvince() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setStateOrProvince(java.lang.String stateOrProvince) throws JAXRException
stateOrProvince
- the state or province
JAXRException
- If the JAXR provider encounters an internal errorjava.lang.String getPostalCode() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setPostalCode(java.lang.String postalCode) throws JAXRException
postalCode
- the postal code (e.g. US zip code)
JAXRException
- If the JAXR provider encounters an internal errorjava.lang.String getCountry() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setCountry(java.lang.String country) throws JAXRException
country
- the country
JAXRException
- If the JAXR provider encounters an internal errorjava.lang.String getType() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorvoid setType(java.lang.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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 10-February-2011 12:41