public class PostalAddressImpl extends java.lang.Object implements PostalAddress
PostalAddress
.Constructor and Description |
---|
PostalAddressImpl(javax.xml.registry.infomodel.PostalAddress jaxrPostalAddress)
Constructs a new object.
|
Modifier and Type | Method and Description |
---|---|
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 Postal code..
|
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 PostalCode.
|
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 street number.
|
void |
setType(java.lang.String type)
Sets the type of address (for example, "headquarters") as a String.
|
public PostalAddressImpl(javax.xml.registry.infomodel.PostalAddress jaxrPostalAddress)
jaxrPostalAddress
- the JAXR postal address.public java.lang.String getCity() throws CSAppFrameworkException
PostalAddress
getCity
in interface PostalAddress
CSAppFrameworkException
- if an internal error occurs on getting the city.public void setCity(java.lang.String city) throws CSAppFrameworkException
PostalAddress
setCity
in interface PostalAddress
city
- the city name.CSAppFrameworkException
- if an internal error occurs on setting the city.public java.lang.String getCountry() throws CSAppFrameworkException
PostalAddress
getCountry
in interface PostalAddress
CSAppFrameworkException
- if an internal error occurs on getting the country.public void setCountry(java.lang.String country) throws CSAppFrameworkException
PostalAddress
setCountry
in interface PostalAddress
country
- the country name.CSAppFrameworkException
- if an internal error occurs on setting the country.public java.lang.String getPostalCode() throws CSAppFrameworkException
PostalAddress
getPostalCode
in interface PostalAddress
CSAppFrameworkException
- if an internal error occurs on getting the postal code.public void setPostalCode(java.lang.String postalCode) throws CSAppFrameworkException
PostalAddress
setPostalCode
in interface PostalAddress
postalCode
- the postal code.CSAppFrameworkException
- if an internal error occurs on setting the postal code.public java.lang.String getStateOrProvince() throws CSAppFrameworkException
PostalAddress
getStateOrProvince
in interface PostalAddress
CSAppFrameworkException
- if an internal error occurs on getting the State or Province.public void setStateOrProvince(java.lang.String stateOrProvince) throws CSAppFrameworkException
PostalAddress
setStateOrProvince
in interface PostalAddress
stateOrProvince
- the State or Province.CSAppFrameworkException
- if an internal error occurs on setting the State or Province.public java.lang.String getStreet() throws CSAppFrameworkException
PostalAddress
getStreet
in interface PostalAddress
CSAppFrameworkException
- if an internal error occurs on getting the Street.public void setStreet(java.lang.String street) throws CSAppFrameworkException
PostalAddress
setStreet
in interface PostalAddress
street
- the street.CSAppFrameworkException
- if an internal error occurs on setting the Street.public java.lang.String getStreetNumber() throws CSAppFrameworkException
PostalAddress
getStreetNumber
in interface PostalAddress
CSAppFrameworkException
- if an internal error occurs on getting the street number.public void setStreetNumber(java.lang.String streetNumber) throws CSAppFrameworkException
PostalAddress
setStreetNumber
in interface PostalAddress
streetNumber
- the street number.CSAppFrameworkException
- if an internal error occurs on setting the street number.public java.lang.String getType() throws CSAppFrameworkException
PostalAddress
getType
in interface PostalAddress
CSAppFrameworkException
- if an internal error occurs on getting the type.public void setType(java.lang.String type) throws CSAppFrameworkException
PostalAddress
setType
in interface PostalAddress
type
- the type of address (for example, "headquarters") as a String.CSAppFrameworkException
- if an internal error occurs on setting the type.public javax.xml.registry.infomodel.PostalAddress getJaxrPostalAddress()
public java.util.Collection<Slot> getSlots() throws CSAppFrameworkException
getSlots
in interface ExtensibleObject
CSAppFrameworkException
- if an internal error occurs on getting the slots.public void setSlots(java.util.Collection<Slot> slots) throws CSAppFrameworkException
setSlots
in interface ExtensibleObject
slots
- the list of slots to this object.CSAppFrameworkException
- if an internal error occurs on setting the slots.