|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.profile.Profile.PrefCollections.PrefCollection.OtherSrvcPref
public static class Profile.PrefCollections.PrefCollection.OtherSrvcPref
A set of preferences for other services. 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" type="ns:OtherSrvcPrefType" name="OtherSrvcPref" minOccurs="0" maxOccurs="unbounded"/> <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="OtherSrvcPrefType"> <xs:sequence> <xs:element type="xs:string" name="OtherSrvcName"/> <xs:element type="ns:CompanyNamePrefType" name="VendorPref" minOccurs="0" maxOccurs="5"/> <xs:element type="ns:LoyaltyPrefType" name="LoyaltyPref" minOccurs="0" maxOccurs="5"/> <xs:element type="ns:PaymentFormPrefType" name="PaymentFormPref" minOccurs="0" maxOccurs="5"/> <xs:element type="ns:SpecRequestPrefType" name="SpecRequestPref" minOccurs="0" maxOccurs="5"/> <xs:element ref="ns:TPA_Extensions" minOccurs="0"/> </xs:sequence> <xs:attributeGroup ref="ns:PreferLevelGroup"/> <xs:attributeGroup ref="ns:PrivacyGroup"/> <xs:attribute type="xs:string" use="optional" name="TravelPurpose"/> </xs:complexType> <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"/> <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="PreferLevelGroup"> <xs:attribute type="ns:PreferLevelType" use="optional" name="PreferLevel"/> </xs:attributeGroup>
Constructor Summary | |
---|---|
Profile.PrefCollections.PrefCollection.OtherSrvcPref()
|
Method Summary | |
---|---|
void |
addLoyaltyPref(LoyaltyPref item)
Add a 'LoyaltyPref' element item. |
void |
addPaymentFormPref(PaymentFormPref item)
Add a 'PaymentFormPref' element item. |
void |
addSpecRequestPref(SpecRequestPref item)
Add a 'SpecRequestPref' element item. |
void |
addVendorPref(CompanyNamePref item)
Add a 'VendorPref' element item. |
void |
clearLoyaltyPrefs()
Remove all 'LoyaltyPref' element items. |
void |
clearPaymentFormPrefs()
Remove all 'PaymentFormPref' element items. |
void |
clearSpecRequestPrefs()
Remove all 'SpecRequestPref' element items. |
void |
clearVendorPrefs()
Remove all 'VendorPref' element items. |
LoyaltyPref |
getLoyaltyPref(int index)
Get 'LoyaltyPref' element item by position. |
java.util.List<LoyaltyPref> |
getLoyaltyPrefs()
Get the list of 'LoyaltyPref' element items. |
java.lang.String |
getOtherSrvcName()
Get the 'OtherSrvcName' element value. |
PaymentFormPref |
getPaymentFormPref(int index)
Get 'PaymentFormPref' element item by position. |
java.util.List<PaymentFormPref> |
getPaymentFormPrefs()
Get the list of 'PaymentFormPref' element items. |
PreferLevel |
getPreferLevel()
Get the 'PreferLevel' attribute value. |
PrivacyGroup |
getPrivacyGroup()
Get the 'PrivacyGroup' attributeGroup value. |
SpecRequestPref |
getSpecRequestPref(int index)
Get 'SpecRequestPref' element item by position. |
java.util.List<SpecRequestPref> |
getSpecRequestPrefs()
Get the list of 'SpecRequestPref' element items. |
TPAExtensions |
getTPAExtensions()
Get the 'TPA_Extensions' element value. |
java.lang.String |
getTravelPurpose()
Get the 'TravelPurpose' attribute value. |
CompanyNamePref |
getVendorPref(int index)
Get 'VendorPref' element item by position. |
java.util.List<CompanyNamePref> |
getVendorPrefs()
Get the list of 'VendorPref' element items. |
void |
setLoyaltyPrefs(java.util.List<LoyaltyPref> list)
Set the list of 'LoyaltyPref' element items. |
void |
setOtherSrvcName(java.lang.String otherSrvcName)
Set the 'OtherSrvcName' element value. |
void |
setPaymentFormPrefs(java.util.List<PaymentFormPref> list)
Set the list of 'PaymentFormPref' element items. |
void |
setPreferLevel(PreferLevel preferLevel)
Set the 'PreferLevel' attribute value. |
void |
setPrivacyGroup(PrivacyGroup privacyGroup)
Set the 'PrivacyGroup' attributeGroup value. |
void |
setSpecRequestPrefs(java.util.List<SpecRequestPref> list)
Set the list of 'SpecRequestPref' element items. |
void |
setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. |
void |
setTravelPurpose(java.lang.String travelPurpose)
Set the 'TravelPurpose' attribute value. |
void |
setVendorPrefs(java.util.List<CompanyNamePref> list)
Set the list of 'VendorPref' element items. |
int |
sizeLoyaltyPrefs()
Get the number of 'LoyaltyPref' element items. |
int |
sizePaymentFormPrefs()
Get the number of 'PaymentFormPref' element items. |
int |
sizeSpecRequestPrefs()
Get the number of 'SpecRequestPref' element items. |
int |
sizeVendorPrefs()
Get the number of 'VendorPref' 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.OtherSrvcPref()
Method Detail |
---|
public java.lang.String getOtherSrvcName()
public void setOtherSrvcName(java.lang.String otherSrvcName)
otherSrvcName
- public java.util.List<CompanyNamePref> getVendorPrefs()
public void setVendorPrefs(java.util.List<CompanyNamePref> list)
list
- public int sizeVendorPrefs()
public void addVendorPref(CompanyNamePref item)
item
- public CompanyNamePref getVendorPref(int index)
index
-
public void clearVendorPrefs()
public java.util.List<LoyaltyPref> getLoyaltyPrefs()
public void setLoyaltyPrefs(java.util.List<LoyaltyPref> list)
list
- public int sizeLoyaltyPrefs()
public void addLoyaltyPref(LoyaltyPref item)
item
- public LoyaltyPref getLoyaltyPref(int index)
index
-
public void clearLoyaltyPrefs()
public java.util.List<PaymentFormPref> getPaymentFormPrefs()
public void setPaymentFormPrefs(java.util.List<PaymentFormPref> list)
list
- public int sizePaymentFormPrefs()
public void addPaymentFormPref(PaymentFormPref item)
item
- public PaymentFormPref getPaymentFormPref(int index)
index
-
public void clearPaymentFormPrefs()
public java.util.List<SpecRequestPref> getSpecRequestPrefs()
public void setSpecRequestPrefs(java.util.List<SpecRequestPref> list)
list
- public int sizeSpecRequestPrefs()
public void addSpecRequestPref(SpecRequestPref item)
item
- public SpecRequestPref getSpecRequestPref(int index)
index
-
public void clearSpecRequestPrefs()
public TPAExtensions getTPAExtensions()
public void setTPAExtensions(TPAExtensions TPAExtensions)
TPAExtensions
- public PreferLevel getPreferLevel()
public void setPreferLevel(PreferLevel preferLevel)
preferLevel
- 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 |