|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.vehicle.VehicleLocationDetails
public class VehicleLocationDetails
The VehicleLocationDetailsType complex type defines the core information that describes a vehicle rental facility. Such information may include the code of the facility, the name assigned to that facility, the address and telephone number of the facility. 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="VehicleLocationDetailsType"> <xs:sequence> <xs:element type="ns:AddressInfoType" name="Address" minOccurs="0" maxOccurs="5"/> <xs:element name="Telephone" minOccurs="0" maxOccurs="5"> <xs:complexType> <xs:attributeGroup ref="ns:TelephoneInfoGroup"/> </xs:complexType> </xs:element> <xs:element type="ns:VehicleLocationAdditionalDetailsType" name="AdditionalInfo" minOccurs="0"/> </xs:sequence> <xs:attribute type="xs:boolean" use="optional" name="AtAirport"/> <xs:attribute type="xs:string" use="optional" name="Code"/> <xs:attribute type="xs:string" use="optional" name="Name"/> <xs:attribute type="xs:string" use="optional" name="CodeContext"/> <xs:attribute type="xs:string" use="optional" name="ExtendedLocationCode"/> <xs:attribute type="xs:string" use="optional" name="AssocAirportLocList"/> </xs:complexType>
Constructor Summary | |
---|---|
VehicleLocationDetails()
|
Method Summary | |
---|---|
void |
addAddress(AddressInfo item)
Add a 'Address' element item. |
void |
addTelephone(TelephoneInfoGroup item)
Add a 'Telephone' element item. |
void |
clearAddresses()
Remove all 'Address' element items. |
void |
clearTelephones()
Remove all 'Telephone' element items. |
VehicleLocationAdditionalDetails |
getAdditionalInfo()
Get the 'AdditionalInfo' element value. |
AddressInfo |
getAddress(int index)
Get 'Address' element item by position. |
java.util.List<AddressInfo> |
getAddresses()
Get the list of 'Address' element items. |
java.lang.String |
getAssocAirportLocList()
Get the 'AssocAirportLocList' attribute value. |
java.lang.Boolean |
getAtAirport()
Get the 'AtAirport' attribute value. |
java.lang.String |
getCode()
Get the 'Code' attribute value. |
java.lang.String |
getCodeContext()
Get the 'CodeContext' attribute value. |
java.lang.String |
getExtendedLocationCode()
Get the 'ExtendedLocationCode' attribute value. |
java.lang.String |
getName()
Get the 'Name' attribute value. |
TelephoneInfoGroup |
getTelephone(int index)
Get 'Telephone' element item by position. |
java.util.List<TelephoneInfoGroup> |
getTelephones()
Get the list of 'Telephone' element items. |
void |
setAdditionalInfo(VehicleLocationAdditionalDetails additionalInfo)
Set the 'AdditionalInfo' element value. |
void |
setAddresses(java.util.List<AddressInfo> list)
Set the list of 'Address' element items. |
void |
setAssocAirportLocList(java.lang.String assocAirportLocList)
Set the 'AssocAirportLocList' attribute value. |
void |
setAtAirport(java.lang.Boolean atAirport)
Set the 'AtAirport' attribute value. |
void |
setCode(java.lang.String code)
Set the 'Code' attribute value. |
void |
setCodeContext(java.lang.String codeContext)
Set the 'CodeContext' attribute value. |
void |
setExtendedLocationCode(java.lang.String extendedLocationCode)
Set the 'ExtendedLocationCode' attribute value. |
void |
setName(java.lang.String name)
Set the 'Name' attribute value. |
void |
setTelephones(java.util.List<TelephoneInfoGroup> list)
Set the list of 'Telephone' element items. |
int |
sizeAddresses()
Get the number of 'Address' element items. |
int |
sizeTelephones()
Get the number of 'Telephone' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VehicleLocationDetails()
Method Detail |
---|
public java.util.List<AddressInfo> getAddresses()
public void setAddresses(java.util.List<AddressInfo> list)
list
- public int sizeAddresses()
public void addAddress(AddressInfo item)
item
- public AddressInfo getAddress(int index)
index
-
public void clearAddresses()
public java.util.List<TelephoneInfoGroup> getTelephones()
public void setTelephones(java.util.List<TelephoneInfoGroup> list)
list
- public int sizeTelephones()
public void addTelephone(TelephoneInfoGroup item)
item
- public TelephoneInfoGroup getTelephone(int index)
index
-
public void clearTelephones()
public VehicleLocationAdditionalDetails getAdditionalInfo()
public void setAdditionalInfo(VehicleLocationAdditionalDetails additionalInfo)
additionalInfo
- public java.lang.Boolean getAtAirport()
public void setAtAirport(java.lang.Boolean atAirport)
atAirport
- public java.lang.String getCode()
public void setCode(java.lang.String code)
code
- public java.lang.String getName()
public void setName(java.lang.String name)
name
- public java.lang.String getCodeContext()
public void setCodeContext(java.lang.String codeContext)
codeContext
- public java.lang.String getExtendedLocationCode()
public void setExtendedLocationCode(java.lang.String extendedLocationCode)
extendedLocationCode
- public java.lang.String getAssocAirportLocList()
public void setAssocAirportLocList(java.lang.String assocAirportLocList)
assocAirportLocList
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |