com.softwareag.centrasite.appl.framework.beans.standard.impl
Class PostalAddressImpl

java.lang.Object
  extended by com.softwareag.centrasite.appl.framework.beans.standard.impl.PostalAddressImpl
All Implemented Interfaces:
ExtensibleObject, PostalAddress

public class PostalAddressImpl
extends java.lang.Object
implements PostalAddress


Constructor Summary
PostalAddressImpl(javax.xml.registry.infomodel.PostalAddress jaxrPostalAddress)
          Constructor
 
Method Summary
 java.lang.String getCity()
          Returns the city.
 java.lang.String getCountry()
          Returns the Country.
 javax.xml.registry.infomodel.PostalAddress getJaxrPostalAddress()
          Get the the javax.xml.registry.infomodel.PostalAddress instance wrapped by this object
 java.lang.String getPostalCode()
          Returns the PostalAddress
 java.util.Collection<Slot> getSlots()
          Returns the Slots associated with this object.
 java.lang.String getStateOrProvince()
          Returns the State or Province
 java.lang.String getStreet()
          Returns the Street
 java.lang.String getStreetNumber()
          Returns the Street Number
 java.lang.String getType()
          Returns the type of address (for example, "headquarters") as a String.
 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 PostalAddress
 void setSlots(java.util.Collection<Slot> slots)
          Sets Slots to this object.
 void setStateOrProvince(java.lang.String stateOrProvince)
          Sets the State or Province
 void setStreet(java.lang.String street)
          Sets the Street
 void setStreetNumber(java.lang.String streetNumber)
          Sets the StreetNumber
 void setType(java.lang.String type)
          Sets the type of address (for example, "headquarters") as a String.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostalAddressImpl

public PostalAddressImpl(javax.xml.registry.infomodel.PostalAddress jaxrPostalAddress)
Constructor

Parameters:
jaxrPostalAddress -
Method Detail

getCity

public java.lang.String getCity()
                         throws CSAppFrameworkException
Returns the city.

Specified by:
getCity in interface PostalAddress
Returns:
String
Throws:
CSAppFrameworkException

setCity

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

Specified by:
setCity in interface PostalAddress
Parameters:
city -
Throws:
CSAppFrameworkException

getCountry

public java.lang.String getCountry()
                            throws CSAppFrameworkException
Returns the Country.

Specified by:
getCountry in interface PostalAddress
Returns:
String
Throws:
CSAppFrameworkException

setCountry

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

Specified by:
setCountry in interface PostalAddress
Parameters:
country -
Throws:
CSAppFrameworkException

getPostalCode

public java.lang.String getPostalCode()
                               throws CSAppFrameworkException
Returns the PostalAddress

Specified by:
getPostalCode in interface PostalAddress
Returns:
String
Throws:
CSAppFrameworkException

setPostalCode

public void setPostalCode(java.lang.String postalCode)
                   throws CSAppFrameworkException
Sets the PostalAddress

Specified by:
setPostalCode in interface PostalAddress
Parameters:
postalCode -
Throws:
CSAppFrameworkException

getStateOrProvince

public java.lang.String getStateOrProvince()
                                    throws CSAppFrameworkException
Returns the State or Province

Specified by:
getStateOrProvince in interface PostalAddress
Returns:
String
Throws:
CSAppFrameworkException

setStateOrProvince

public void setStateOrProvince(java.lang.String stateOrProvince)
                        throws CSAppFrameworkException
Sets the State or Province

Specified by:
setStateOrProvince in interface PostalAddress
Parameters:
stateOrProvince -
Throws:
CSAppFrameworkException

getStreet

public java.lang.String getStreet()
                           throws CSAppFrameworkException
Returns the Street

Specified by:
getStreet in interface PostalAddress
Returns:
String
Throws:
CSAppFrameworkException

setStreet

public void setStreet(java.lang.String street)
               throws CSAppFrameworkException
Sets the Street

Specified by:
setStreet in interface PostalAddress
Parameters:
street -
Throws:
CSAppFrameworkException

getStreetNumber

public java.lang.String getStreetNumber()
                                 throws CSAppFrameworkException
Returns the Street Number

Specified by:
getStreetNumber in interface PostalAddress
Returns:
Street
Throws:
CSAppFrameworkException

setStreetNumber

public void setStreetNumber(java.lang.String streetNumber)
                     throws CSAppFrameworkException
Sets the StreetNumber

Specified by:
setStreetNumber in interface PostalAddress
Parameters:
streetNumber -
Throws:
CSAppFrameworkException

getType

public java.lang.String getType()
                         throws CSAppFrameworkException
Returns the type of address (for example, "headquarters") as a String.

Specified by:
getType in interface PostalAddress
Returns:
String
Throws:
CSAppFrameworkException

setType

public void setType(java.lang.String type)
             throws CSAppFrameworkException
Sets the type of address (for example, "headquarters") as a String.

Specified by:
setType in interface PostalAddress
Parameters:
type -
Throws:
CSAppFrameworkException

getJaxrPostalAddress

public javax.xml.registry.infomodel.PostalAddress getJaxrPostalAddress()
Get the the javax.xml.registry.infomodel.PostalAddress instance wrapped by this object

Returns:
javax.xml.registry.infomodel.PostalAddress

getSlots

public java.util.Collection<Slot> getSlots()
                                    throws CSAppFrameworkException
Returns the Slots associated with this object.

Specified by:
getSlots in interface ExtensibleObject
Returns:
Collection
Throws:
CSAppFrameworkException

setSlots

public void setSlots(java.util.Collection<Slot> slots)
              throws CSAppFrameworkException
Sets Slots to this object.

Specified by:
setSlots in interface ExtensibleObject
Throws:
CSAppFrameworkException