|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.profile.Profile.PrefCollections.PrefCollection
public static class Profile.PrefCollections.PrefCollection
Aggregation of customer travel needs. Schema fragment(s) for this class:
<xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="PrefCollection" maxOccurs="unbounded"> <xs:complexType> <xs:sequence> <xs:element type="ns:CommonPrefType" name="CommonPref" minOccurs="0" maxOccurs="unbounded"> <!-- Reference to inner class CommonPref --> </xs:element> <xs:element type="ns:VehicleProfileRentalPrefType" name="VehicleRentalPref" minOccurs="0" maxOccurs="unbounded"/> <xs:element type="ns:AirlinePrefType" name="AirlinePref" minOccurs="0" maxOccurs="unbounded"> <!-- Reference to inner class AirlinePref --> </xs:element> <xs:element type="ns:HotelPrefType" name="HotelPref" minOccurs="0" maxOccurs="unbounded"> <!-- Reference to inner class HotelPref --> </xs:element> <xs:element type="ns:OtherSrvcPrefType" name="OtherSrvcPref" minOccurs="0" maxOccurs="unbounded"> <!-- Reference to inner class OtherSrvcPref --> </xs:element> <xs:element ref="ns:TPA_Extensions" minOccurs="0"/> </xs:sequence> <xs:attributeGroup ref="ns:PrivacyGroup"/> <xs:attribute type="xs:string" use="optional" name="TravelPurpose"/> </xs:complexType> </xs:element> <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" type="ns:TPA_ExtensionsType" name="TPA_Extensions"/>
Nested Class Summary | |
---|---|
static class |
Profile.PrefCollections.PrefCollection.AirlinePref
A set of preferences for air travel. |
static class |
Profile.PrefCollections.PrefCollection.CommonPref
Supplier-independent preferences. |
static class |
Profile.PrefCollections.PrefCollection.HotelPref
A set of preferences for hotel stay. |
static class |
Profile.PrefCollections.PrefCollection.OtherSrvcPref
A set of preferences for other services. |
Constructor Summary | |
---|---|
Profile.PrefCollections.PrefCollection()
|
Method Summary | |
---|---|
void |
addAirlinePref(Profile.PrefCollections.PrefCollection.AirlinePref item)
Add a 'AirlinePref' element item. |
void |
addCommonPref(Profile.PrefCollections.PrefCollection.CommonPref item)
Add a 'CommonPref' element item. |
void |
addHotelPref(Profile.PrefCollections.PrefCollection.HotelPref item)
Add a 'HotelPref' element item. |
void |
addOtherSrvcPref(Profile.PrefCollections.PrefCollection.OtherSrvcPref item)
Add a 'OtherSrvcPref' element item. |
void |
addVehicleRentalPref(VehicleProfileRentalPref item)
Add a 'VehicleRentalPref' element item. |
void |
clearAirlinePrefs()
Remove all 'AirlinePref' element items. |
void |
clearCommonPrefs()
Remove all 'CommonPref' element items. |
void |
clearHotelPrefs()
Remove all 'HotelPref' element items. |
void |
clearOtherSrvcPrefs()
Remove all 'OtherSrvcPref' element items. |
void |
clearVehicleRentalPrefs()
Remove all 'VehicleRentalPref' element items. |
Profile.PrefCollections.PrefCollection.AirlinePref |
getAirlinePref(int index)
Get 'AirlinePref' element item by position. |
java.util.List<Profile.PrefCollections.PrefCollection.AirlinePref> |
getAirlinePrefs()
Get the list of 'AirlinePref' element items. |
Profile.PrefCollections.PrefCollection.CommonPref |
getCommonPref(int index)
Get 'CommonPref' element item by position. |
java.util.List<Profile.PrefCollections.PrefCollection.CommonPref> |
getCommonPrefs()
Get the list of 'CommonPref' element items. |
Profile.PrefCollections.PrefCollection.HotelPref |
getHotelPref(int index)
Get 'HotelPref' element item by position. |
java.util.List<Profile.PrefCollections.PrefCollection.HotelPref> |
getHotelPrefs()
Get the list of 'HotelPref' element items. |
Profile.PrefCollections.PrefCollection.OtherSrvcPref |
getOtherSrvcPref(int index)
Get 'OtherSrvcPref' element item by position. |
java.util.List<Profile.PrefCollections.PrefCollection.OtherSrvcPref> |
getOtherSrvcPrefs()
Get the list of 'OtherSrvcPref' element items. |
PrivacyGroup |
getPrivacyGroup()
Get the 'PrivacyGroup' attributeGroup value. |
TPAExtensions |
getTPAExtensions()
Get the 'TPA_Extensions' element value. |
java.lang.String |
getTravelPurpose()
Get the 'TravelPurpose' attribute value. |
VehicleProfileRentalPref |
getVehicleRentalPref(int index)
Get 'VehicleRentalPref' element item by position. |
java.util.List<VehicleProfileRentalPref> |
getVehicleRentalPrefs()
Get the list of 'VehicleRentalPref' element items. |
void |
setAirlinePrefs(java.util.List<Profile.PrefCollections.PrefCollection.AirlinePref> list)
Set the list of 'AirlinePref' element items. |
void |
setCommonPrefs(java.util.List<Profile.PrefCollections.PrefCollection.CommonPref> list)
Set the list of 'CommonPref' element items. |
void |
setHotelPrefs(java.util.List<Profile.PrefCollections.PrefCollection.HotelPref> list)
Set the list of 'HotelPref' element items. |
void |
setOtherSrvcPrefs(java.util.List<Profile.PrefCollections.PrefCollection.OtherSrvcPref> list)
Set the list of 'OtherSrvcPref' element items. |
void |
setPrivacyGroup(PrivacyGroup privacyGroup)
Set the 'PrivacyGroup' attributeGroup value. |
void |
setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. |
void |
setTravelPurpose(java.lang.String travelPurpose)
Set the 'TravelPurpose' attribute value. |
void |
setVehicleRentalPrefs(java.util.List<VehicleProfileRentalPref> list)
Set the list of 'VehicleRentalPref' element items. |
int |
sizeAirlinePrefs()
Get the number of 'AirlinePref' element items. |
int |
sizeCommonPrefs()
Get the number of 'CommonPref' element items. |
int |
sizeHotelPrefs()
Get the number of 'HotelPref' element items. |
int |
sizeOtherSrvcPrefs()
Get the number of 'OtherSrvcPref' element items. |
int |
sizeVehicleRentalPrefs()
Get the number of 'VehicleRentalPref' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Profile.PrefCollections.PrefCollection()
Method Detail |
---|
public java.util.List<Profile.PrefCollections.PrefCollection.CommonPref> getCommonPrefs()
public void setCommonPrefs(java.util.List<Profile.PrefCollections.PrefCollection.CommonPref> list)
list
- public int sizeCommonPrefs()
public void addCommonPref(Profile.PrefCollections.PrefCollection.CommonPref item)
item
- public Profile.PrefCollections.PrefCollection.CommonPref getCommonPref(int index)
index
-
public void clearCommonPrefs()
public java.util.List<VehicleProfileRentalPref> getVehicleRentalPrefs()
public void setVehicleRentalPrefs(java.util.List<VehicleProfileRentalPref> list)
list
- public int sizeVehicleRentalPrefs()
public void addVehicleRentalPref(VehicleProfileRentalPref item)
item
- public VehicleProfileRentalPref getVehicleRentalPref(int index)
index
-
public void clearVehicleRentalPrefs()
public java.util.List<Profile.PrefCollections.PrefCollection.AirlinePref> getAirlinePrefs()
public void setAirlinePrefs(java.util.List<Profile.PrefCollections.PrefCollection.AirlinePref> list)
list
- public int sizeAirlinePrefs()
public void addAirlinePref(Profile.PrefCollections.PrefCollection.AirlinePref item)
item
- public Profile.PrefCollections.PrefCollection.AirlinePref getAirlinePref(int index)
index
-
public void clearAirlinePrefs()
public java.util.List<Profile.PrefCollections.PrefCollection.HotelPref> getHotelPrefs()
public void setHotelPrefs(java.util.List<Profile.PrefCollections.PrefCollection.HotelPref> list)
list
- public int sizeHotelPrefs()
public void addHotelPref(Profile.PrefCollections.PrefCollection.HotelPref item)
item
- public Profile.PrefCollections.PrefCollection.HotelPref getHotelPref(int index)
index
-
public void clearHotelPrefs()
public java.util.List<Profile.PrefCollections.PrefCollection.OtherSrvcPref> getOtherSrvcPrefs()
public void setOtherSrvcPrefs(java.util.List<Profile.PrefCollections.PrefCollection.OtherSrvcPref> list)
list
- public int sizeOtherSrvcPrefs()
public void addOtherSrvcPref(Profile.PrefCollections.PrefCollection.OtherSrvcPref item)
item
- public Profile.PrefCollections.PrefCollection.OtherSrvcPref getOtherSrvcPref(int index)
index
-
public void clearOtherSrvcPrefs()
public TPAExtensions getTPAExtensions()
public void setTPAExtensions(TPAExtensions TPAExtensions)
TPAExtensions
- public PrivacyGroup getPrivacyGroup()
public void setPrivacyGroup(PrivacyGroup privacyGroup)
privacyGroup
- public java.lang.String getTravelPurpose()
public void setTravelPurpose(java.lang.String travelPurpose)
travelPurpose
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |