|
JavaTM 2 Platform Ent. Ed. v1.4 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
PostalAddress is a simple re-usable entity class that defines attributes of a postal Address.
| Method Summary | |
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. |
| Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject |
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots |
| Method Detail |
public String getStreet() throws JAXRException
JAXRException - If the JAXR provider encounters an internal errorpublic void setStreet(String street) throws JAXRException
street - the street name
JAXRException - If the JAXR provider encounters an internal errorpublic String getStreetNumber() throws JAXRException
JAXRException - If the JAXR provider encounters an internal errorpublic void setStreetNumber(String streetNumber) throws JAXRException
streetNumber - the street number
JAXRException - If the JAXR provider encounters an internal errorpublic String getCity() throws JAXRException
JAXRException - If the JAXR provider encounters an internal errorpublic void setCity(String city) throws JAXRException
city - the city
JAXRException - If the JAXR provider encounters an internal errorpublic String getStateOrProvince() throws JAXRException
JAXRException - If the JAXR provider encounters an internal errorpublic void setStateOrProvince(String stateOrProvince) throws JAXRException
stateOrProvince - the state or province
JAXRException - If the JAXR provider encounters an internal errorpublic String getPostalCode() throws JAXRException
JAXRException - If the JAXR provider encounters an internal errorpublic void setPostalCode(String postalCode) throws JAXRException
postalCode - the postal code (e.g. US zip code)
JAXRException - If the JAXR provider encounters an internal errorpublic String getCountry() throws JAXRException
JAXRException - If the JAXR provider encounters an internal errorpublic void setCountry(String country) throws JAXRException
country - the country
JAXRException - If the JAXR provider encounters an internal errorpublic String getType() throws JAXRException
JAXRException - If the JAXR provider encounters an internal errorpublic void 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 errorpublic void setPostalScheme(ClassificationScheme scheme) throws JAXRException
scheme - the user defined postal scheme.
JAXRException - If the JAXR provider encounters an internal errorpublic ClassificationScheme getPostalScheme() throws JAXRException
JAXRException - If the JAXR provider encounters an internal errorRegistryService.getDefaultPostalScheme()
|
JavaTM 2 Platform Ent. Ed. v1.4 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2003 Sun Microsystems, Inc. All rights reserved.