javax.xml.registry.infomodel
Interface PostalAddress

All Superinterfaces:
ExtensibleObject

public interface PostalAddress
extends ExtensibleObject

PostalAddress is a simple re-usable entity class that defines attributes of a postal Address.


Method Summary
 java.lang.String getCity()
          The city Default is an empty String.
 java.lang.String getCountry()
          The country
 java.lang.String getPostalCode()
          The postal or zip code Default is an empty String.
 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()
 java.lang.String getStateOrProvince()
          The state or province Default is an empty String.
 java.lang.String getStreet()
          The street name Default is an empty String.
 java.lang.String getStreetNumber()
          The street number Default is an empty String.
 java.lang.String getType()
          The type of address (e.g.
 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)
          Set 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 street)
          Sets the street number
 void setType(java.lang.String type)
          Sets the type of address (e.g.
 
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject
addSlot, addSlots, getSlot, getSlotAt, getSlots, removeSlot, removeSlots
 

Method Detail

getStreet

public java.lang.String getStreet()
                           throws JAXRException
The street name Default is an empty String.

Capability Level: 0

setStreet

public void setStreet(java.lang.String street)
               throws JAXRException
Sets the street name

Capability Level: 0

getStreetNumber

public java.lang.String getStreetNumber()
                                 throws JAXRException
The street number Default is an empty String.

Capability Level: 0

setStreetNumber

public void setStreetNumber(java.lang.String street)
                     throws JAXRException
Sets the street number

Capability Level: 0

getCity

public java.lang.String getCity()
                         throws JAXRException
The city Default is an empty String.

Capability Level: 0

setCity

public void setCity(java.lang.String city)
             throws JAXRException
Sets the city

Capability Level: 0

getStateOrProvince

public java.lang.String getStateOrProvince()
                                    throws JAXRException
The state or province Default is an empty String.

Capability Level: 0

setStateOrProvince

public void setStateOrProvince(java.lang.String stateOrProvince)
                        throws JAXRException
Sets the state or province

Capability Level: 0

getPostalCode

public java.lang.String getPostalCode()
                               throws JAXRException
The postal or zip code Default is an empty String.

Capability Level: 0

setPostalCode

public void setPostalCode(java.lang.String postalCode)
                   throws JAXRException
Sets the postal or zip code

Capability Level: 0

getCountry

public java.lang.String getCountry()
                            throws JAXRException
The country

Capability Level: 0

setCountry

public void setCountry(java.lang.String country)
                throws JAXRException
Sets the country

Capability Level: 0

getType

public java.lang.String getType()
                         throws JAXRException
The type of address (e.g. "headquarters" etc.) as a Concept

Capability Level: 0

setType

public void setType(java.lang.String type)
             throws JAXRException
Sets the type of address (e.g. "headquarters" etc.) as a Concept

Capability Level: 0

setPostalScheme

public void setPostalScheme(ClassificationScheme scheme)
                     throws JAXRException
Set a user-defined postal scheme for codifying the attributes of PostalAddress

Capability Level: 0

getPostalScheme

public ClassificationScheme getPostalScheme()
                                     throws JAXRException
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()

Capability Level: 0
See Also:
RegistryService.getDefaultPostalScheme()