Class PostalAddressImpl
- java.lang.Object
-
- com.sun.xml.registry.uddi.infomodel.ExtensibleObjectImpl
-
- com.sun.xml.registry.uddi.infomodel.PostalAddressImpl
-
- All Implemented Interfaces:
Serializable,javax.xml.registry.infomodel.ExtensibleObject,javax.xml.registry.infomodel.PostalAddress
public class PostalAddressImpl extends ExtensibleObjectImpl implements javax.xml.registry.infomodel.PostalAddress, Serializable
- Author:
- kwalsh, Bobby Bissett
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PostalAddressImpl()Creates new PostalAddressImpl.PostalAddressImpl(String streetNumber, String street, String city, String stateOrProvince, String country, String postalCode, String type)Utility constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCity()The cityStringgetCountry()The countryStringgetPostalCode()The postal or zip codejavax.xml.registry.infomodel.ClassificationSchemegetPostalScheme()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()StringgetStateOrProvince()The state or provinceStringgetStreet()The street addressStringgetStreetNumber()The street numberStringgetType()The type of address (e.g.voidsetCity(String city)Sets the cityvoidsetCountry(String country)Sets the countryvoidsetPostalCode(String postalCode)Sets the postal or zip codevoidsetPostalScheme(javax.xml.registry.infomodel.ClassificationScheme scheme)Set a user-defined postal scheme for codifying the attributes of PostalAddressvoidsetStateOrProvince(String stateOrProvince)Sets the state or provincevoidsetStreet(String street)Sets the street addressvoidsetStreetNumber(String streetNumber)Sets the street numbervoidsetType(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
-
-
-
-
Method Detail
-
getStreet
public String getStreet() throws javax.xml.registry.JAXRException
The street address- Specified by:
getStreetin interfacejavax.xml.registry.infomodel.PostalAddress- Throws:
javax.xml.registry.JAXRException
-
setStreet
public void setStreet(String street) throws javax.xml.registry.JAXRException
Sets the street address- Specified by:
setStreetin interfacejavax.xml.registry.infomodel.PostalAddress- Throws:
javax.xml.registry.JAXRException
-
getStreetNumber
public String getStreetNumber() throws javax.xml.registry.JAXRException
The street number- Specified by:
getStreetNumberin interfacejavax.xml.registry.infomodel.PostalAddress- Throws:
javax.xml.registry.JAXRException
-
setStreetNumber
public void setStreetNumber(String streetNumber) throws javax.xml.registry.JAXRException
Sets the street number- Specified by:
setStreetNumberin interfacejavax.xml.registry.infomodel.PostalAddress- Throws:
javax.xml.registry.JAXRException
-
getCity
public String getCity() throws javax.xml.registry.JAXRException
The city- Specified by:
getCityin interfacejavax.xml.registry.infomodel.PostalAddress- Throws:
javax.xml.registry.JAXRException
-
setCity
public void setCity(String city) throws javax.xml.registry.JAXRException
Sets the city- Specified by:
setCityin interfacejavax.xml.registry.infomodel.PostalAddress- Throws:
javax.xml.registry.JAXRException
-
getStateOrProvince
public String getStateOrProvince() throws javax.xml.registry.JAXRException
The state or province- Specified by:
getStateOrProvincein interfacejavax.xml.registry.infomodel.PostalAddress- Throws:
javax.xml.registry.JAXRException
-
setStateOrProvince
public void setStateOrProvince(String stateOrProvince) throws javax.xml.registry.JAXRException
Sets the state or province- Specified by:
setStateOrProvincein interfacejavax.xml.registry.infomodel.PostalAddress- Throws:
javax.xml.registry.JAXRException
-
getPostalCode
public String getPostalCode() throws javax.xml.registry.JAXRException
The postal or zip code- Specified by:
getPostalCodein interfacejavax.xml.registry.infomodel.PostalAddress- Throws:
javax.xml.registry.JAXRException
-
setPostalCode
public void setPostalCode(String postalCode) throws javax.xml.registry.JAXRException
Sets the postal or zip code- Specified by:
setPostalCodein interfacejavax.xml.registry.infomodel.PostalAddress- Throws:
javax.xml.registry.JAXRException
-
getCountry
public String getCountry() throws javax.xml.registry.JAXRException
The country- Specified by:
getCountryin interfacejavax.xml.registry.infomodel.PostalAddress- Throws:
javax.xml.registry.JAXRException
-
setCountry
public void setCountry(String country) throws javax.xml.registry.JAXRException
Sets the country- Specified by:
setCountryin interfacejavax.xml.registry.infomodel.PostalAddress- Throws:
javax.xml.registry.JAXRException
-
getType
public String getType() throws javax.xml.registry.JAXRException
The type of address (e.g. "headquarters" etc.) as a String- Specified by:
getTypein interfacejavax.xml.registry.infomodel.PostalAddress- Throws:
javax.xml.registry.JAXRException
-
setType
public void setType(String type) throws javax.xml.registry.JAXRException
Sets the type of address (e.g. "headquarters" etc.) as a Concept- Specified by:
setTypein interfacejavax.xml.registry.infomodel.PostalAddress- Throws:
javax.xml.registry.JAXRException
-
getPostalScheme
public javax.xml.registry.infomodel.ClassificationScheme getPostalScheme() throws javax.xml.registry.JAXRExceptionGet 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()- Specified by:
getPostalSchemein interfacejavax.xml.registry.infomodel.PostalAddress- Throws:
javax.xml.registry.JAXRException
-
setPostalScheme
public void setPostalScheme(javax.xml.registry.infomodel.ClassificationScheme scheme) throws javax.xml.registry.JAXRExceptionSet a user-defined postal scheme for codifying the attributes of PostalAddress- Specified by:
setPostalSchemein interfacejavax.xml.registry.infomodel.PostalAddress- Throws:
javax.xml.registry.JAXRException
-
-