|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.shared.Address
public class Address
Provides address information. Schema fragment(s) for this class:
<xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="AddressType"> <xs:sequence> <xs:element name="StreetNmbr" minOccurs="0"> <!-- Reference to inner class StreetNmbr --> </xs:element> <xs:element name="BldgRoom" minOccurs="0" maxOccurs="2"> <!-- Reference to inner class BldgRoom --> </xs:element> <xs:element type="xs:string" name="AddressLine" minOccurs="0" maxOccurs="5"/> <xs:element type="xs:string" name="CityName" minOccurs="0"/> <xs:element type="xs:string" name="PostalCode" minOccurs="0"/> <xs:element type="xs:string" name="County" minOccurs="0"/> <xs:element type="ns:StateProvType" name="StateProv" minOccurs="0"/> <xs:element type="ns:CountryNameType" name="CountryName" minOccurs="0"/> </xs:sequence> <xs:attributeGroup ref="ns:FormattedInd"/> <xs:attributeGroup ref="ns:PrivacyGroup"/> <xs:attribute type="xs:string" use="optional" name="Type"/> <xs:attribute type="xs:string" use="optional" name="Remark"/> </xs:complexType> <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="FormattedInd"> <xs:attribute type="xs:boolean" use="optional" name="FormattedInd"/> </xs:attributeGroup>
Nested Class Summary | |
---|---|
static class |
Address.BldgRoom
Building name, room, apartment, or suite number. |
static class |
Address.StreetNmbr
May contain the street number and optionally the street name. |
Constructor Summary | |
---|---|
Address()
|
Method Summary | |
---|---|
void |
addAddressLine(java.lang.String item)
Add a 'AddressLine' element item. |
void |
addBldgRoom(Address.BldgRoom item)
Add a 'BldgRoom' element item. |
void |
clearAddressLines()
Remove all 'AddressLine' element items. |
void |
clearBldgRooms()
Remove all 'BldgRoom' element items. |
java.lang.String |
getAddressLine(int index)
Get 'AddressLine' element item by position. |
java.util.List<java.lang.String> |
getAddressLines()
Get the list of 'AddressLine' element items. |
Address.BldgRoom |
getBldgRoom(int index)
Get 'BldgRoom' element item by position. |
java.util.List<Address.BldgRoom> |
getBldgRooms()
Get the list of 'BldgRoom' element items. |
java.lang.String |
getCityName()
Get the 'CityName' element value. |
CountryName |
getCountryName()
Get the 'CountryName' element value. |
java.lang.String |
getCounty()
Get the 'County' element value. |
java.lang.Boolean |
getFormattedInd()
Get the 'FormattedInd' attribute value. |
java.lang.String |
getPostalCode()
Get the 'PostalCode' element value. |
PrivacyGroup |
getPrivacyGroup()
Get the 'PrivacyGroup' attributeGroup value. |
java.lang.String |
getRemark()
Get the 'Remark' attribute value. |
StateProv |
getStateProv()
Get the 'StateProv' element value. |
Address.StreetNmbr |
getStreetNmbr()
Get the 'StreetNmbr' element value. |
java.lang.String |
getType()
Get the 'Type' attribute value. |
void |
setAddressLines(java.util.List<java.lang.String> list)
Set the list of 'AddressLine' element items. |
void |
setBldgRooms(java.util.List<Address.BldgRoom> list)
Set the list of 'BldgRoom' element items. |
void |
setCityName(java.lang.String cityName)
Set the 'CityName' element value. |
void |
setCountryName(CountryName countryName)
Set the 'CountryName' element value. |
void |
setCounty(java.lang.String county)
Set the 'County' element value. |
void |
setFormattedInd(java.lang.Boolean formattedInd)
Set the 'FormattedInd' attribute value. |
void |
setPostalCode(java.lang.String postalCode)
Set the 'PostalCode' element value. |
void |
setPrivacyGroup(PrivacyGroup privacyGroup)
Set the 'PrivacyGroup' attributeGroup value. |
void |
setRemark(java.lang.String remark)
Set the 'Remark' attribute value. |
void |
setStateProv(StateProv stateProv)
Set the 'StateProv' element value. |
void |
setStreetNmbr(Address.StreetNmbr streetNmbr)
Set the 'StreetNmbr' element value. |
void |
setType(java.lang.String type)
Set the 'Type' attribute value. |
int |
sizeAddressLines()
Get the number of 'AddressLine' element items. |
int |
sizeBldgRooms()
Get the number of 'BldgRoom' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Address()
Method Detail |
---|
public Address.StreetNmbr getStreetNmbr()
public void setStreetNmbr(Address.StreetNmbr streetNmbr)
streetNmbr
- public java.util.List<Address.BldgRoom> getBldgRooms()
public void setBldgRooms(java.util.List<Address.BldgRoom> list)
list
- public int sizeBldgRooms()
public void addBldgRoom(Address.BldgRoom item)
item
- public Address.BldgRoom getBldgRoom(int index)
index
-
public void clearBldgRooms()
public java.util.List<java.lang.String> getAddressLines()
public void setAddressLines(java.util.List<java.lang.String> list)
list
- public int sizeAddressLines()
public void addAddressLine(java.lang.String item)
item
- public java.lang.String getAddressLine(int index)
index
-
public void clearAddressLines()
public java.lang.String getCityName()
public void setCityName(java.lang.String cityName)
cityName
- public java.lang.String getPostalCode()
public void setPostalCode(java.lang.String postalCode)
postalCode
- public java.lang.String getCounty()
public void setCounty(java.lang.String county)
county
- public StateProv getStateProv()
public void setStateProv(StateProv stateProv)
stateProv
- public CountryName getCountryName()
public void setCountryName(CountryName countryName)
countryName
- public java.lang.Boolean getFormattedInd()
public void setFormattedInd(java.lang.Boolean formattedInd)
formattedInd
- public PrivacyGroup getPrivacyGroup()
public void setPrivacyGroup(PrivacyGroup privacyGroup)
privacyGroup
- public java.lang.String getType()
public void setType(java.lang.String type)
type
- public java.lang.String getRemark()
public void setRemark(java.lang.String remark)
remark
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |