|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.registry.uddi.infomodel.ExtensibleObjectImpl
com.sun.xml.registry.uddi.infomodel.PostalAddressImpl
public class PostalAddressImpl
| Constructor Summary | |
|---|---|
PostalAddressImpl()
Creates new PostalAddressImpl. |
|
PostalAddressImpl(String streetNumber,
String street,
String city,
String stateOrProvince,
String country,
String postalCode,
String type)
Utility constructor |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.sun.xml.registry.uddi.infomodel.ExtensibleObjectImpl |
|---|
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject |
|---|
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots |
| Constructor Detail |
|---|
public PostalAddressImpl()
public PostalAddressImpl(String streetNumber,
String street,
String city,
String stateOrProvince,
String country,
String postalCode,
String type)
| Method Detail |
|---|
public String getStreet()
throws JAXRException
getStreet in interface PostalAddressJAXRException - If the JAXR provider encounters an internal error
public void setStreet(String street)
throws JAXRException
setStreet in interface PostalAddressstreet - the street name
JAXRException - If the JAXR provider encounters an internal error
public String getStreetNumber()
throws JAXRException
getStreetNumber in interface PostalAddressJAXRException - If the JAXR provider encounters an internal error
public void setStreetNumber(String streetNumber)
throws JAXRException
setStreetNumber in interface PostalAddressstreetNumber - the street number
JAXRException - If the JAXR provider encounters an internal error
public String getCity()
throws JAXRException
getCity in interface PostalAddressJAXRException - If the JAXR provider encounters an internal error
public void setCity(String city)
throws JAXRException
setCity in interface PostalAddresscity - the city
JAXRException - If the JAXR provider encounters an internal error
public String getStateOrProvince()
throws JAXRException
getStateOrProvince in interface PostalAddressJAXRException - If the JAXR provider encounters an internal error
public void setStateOrProvince(String stateOrProvince)
throws JAXRException
setStateOrProvince in interface PostalAddressstateOrProvince - the state or province
JAXRException - If the JAXR provider encounters an internal error
public String getPostalCode()
throws JAXRException
getPostalCode in interface PostalAddressJAXRException - If the JAXR provider encounters an internal error
public 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 error
public String getCountry()
throws JAXRException
getCountry in interface PostalAddressJAXRException - If the JAXR provider encounters an internal error
public void setCountry(String country)
throws JAXRException
setCountry in interface PostalAddresscountry - the country
JAXRException - If the JAXR provider encounters an internal error
public String getType()
throws JAXRException
getType in interface PostalAddressJAXRException - If the JAXR provider encounters an internal error
public 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 error
public 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 error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||