public interface PostalAddress extends ExtensibleObject {
// Property Accessor Methods (by property name)
public abstract String getCity( )
throws javax.xml.registry.JAXRException; //L0
public abstract void setCity(String city)
throws javax.xml.registry.JAXRException; //L0
public abstract String getCountry( )
throws javax.xml.registry.JAXRException; //L0
String country)
throws javax.xml.registry.JAXRException;
public abstract String getPostalCode( )
throws javax.xml.registry.JAXRException; //L0
public abstract void setPostalCode(String postalCode)
throws javax.xml.registry.JAXRException; //L0
public abstract ClassificationScheme getPostalScheme( )
throws javax.xml.registry.JAXRException; //L0
public abstract void setPostalScheme(ClassificationScheme scheme)
throws javax.xml.registry.JAXRException; //L0
public abstract String getStateOrProvince( )
throws javax.xml.registry.JAXRException; //L0
public abstract void setStateOrProvince(String stateOrProvince)
throws javax.xml.registry.JAXRException; //L0
public abstract String getStreet( )
throws javax.xml.registry.JAXRException; //L0
public abstract void setStreet(String street)
throws javax.xml.registry.JAXRException; //L0
public abstract String getStreetNumber( )
throws javax.xml.registry.JAXRException; //L0
public abstract void setStreetNumber(String streetNumber)
throws javax.xml.registry.JAXRException; //L0
public abstract String getType( )
throws javax.xml.registry.JAXRException; //L0
public abstract void setType(String type)
throws javax.xml.registry.JAXRException; //L0
}
A PostalAddress object can be used as the contact
address of a User and, in the case of a level 1
registry, an Organization. To obtain a
PostalAddress object, use the
createPostalAddress( ) method of
LifeCycleManager. The
PostalAddress interface is composed entirely of
methods that allow you to get and set the various fields that make up
the address, with the exception of the getPostalScheme(
) and setPostalScheme( ) methods. These
methods allow you to specify the
ClassificationScheme that describes how the fields
in the PostalAddress should be mapped to specific
fields in the object in the registry that represents it. This mapping
is necessary because UDDI registries do not have a fixed
representation of a postal address. As a result, each individual
registry may have its own particular way of holding the street
address, city, ZIP code, and so on. Obviously, in order to be
portable, the JAXR provider has to be independent of the addressing
scheme chosen for any particular registry. It achieves this by
putting the onus on the user, with knowledge of the target registry,
to describe how the mapping is to be performed. For a detailed
description of how this mapping is performed, along with examples,
refer to Section 7.5.7.