|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.cruise.CabinAvailRS
public class CabinAvailRS
The Cabin Availability Response message contains a list of cabins available for a given sailing with a specific Mode of Transportation/GatewayCity pair and currency and for a selected fare/category pair. For each cabin the following information may be returned: - Cabin number - Position in ship - Ship side - Category location - Remark - Deck name - Bed options - Max cabin occupancy - Remark - Cabin size - Berthed Category Code - Priced Category Code - Status code - Category indicator - Cruise package information - Group Code - Fare Code - Currency Code - Marketing message. 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="OTA_CruiseCabinAvailRS"> <xs:complexType> <xs:choice> <xs:sequence> <xs:element type="ns:SuccessType" name="Success"/> <xs:element type="ns:WarningsType" name="Warnings" minOccurs="0"/> <xs:element type="ns:SailingCategoryInfoType" name="SailingInfo"/> <xs:element name="SelectedFare"> <xs:complexType> <xs:attributeGroup ref="ns:FareGroup"/> </xs:complexType> </xs:element> <xs:element name="CabinOptions"> <xs:complexType> <xs:sequence> <xs:element name="CabinOption" maxOccurs="99"> <!-- Reference to inner class CabinOption --> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:element type="ns:ParagraphType" name="Information" minOccurs="0" maxOccurs="5"/> <xs:element name="Dining" minOccurs="0" maxOccurs="8"> <!-- Reference to inner class Dining --> </xs:element> <xs:element ref="ns:TPA_Extensions" minOccurs="0"/> </xs:sequence> <xs:element type="ns:ErrorsType" name="Errors"/> </xs:choice> <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/> <xs:attributeGroup ref="ns:ResponseGroup"/> </xs:complexType> </xs:element> <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SuccessType"/> <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 |
CabinAvailRS.CabinOption
Contains information about the proposed cabin, It locates the cabin on the ship and gives the cabin bed configuration. |
static class |
CabinAvailRS.Dining
Schema fragment(s) for this class: |
Constructor Summary | |
---|---|
CabinAvailRS()
|
Method Summary | |
---|---|
void |
addCabinOption(CabinAvailRS.CabinOption item)
Add a 'CabinOption' element item. |
void |
addDining(CabinAvailRS.Dining item)
Add a 'Dining' element item. |
void |
addInformation(Paragraph item)
Add a 'Information' element item. |
void |
clearCabinOptions()
Remove all 'CabinOption' element items. |
void |
clearChoiceSelect()
Clear the choice selection. |
void |
clearDinings()
Remove all 'Dining' element items. |
void |
clearInformations()
Remove all 'Information' element items. |
CabinAvailRS.CabinOption |
getCabinOption(int index)
Get 'CabinOption' element item by position. |
java.util.List<CabinAvailRS.CabinOption> |
getCabinOptions()
Get the list of 'CabinOption' element items. |
CabinAvailRS.Dining |
getDining(int index)
Get 'Dining' element item by position. |
java.util.List<CabinAvailRS.Dining> |
getDinings()
Get the list of 'Dining' element items. |
Errors |
getErrors()
Get the 'Errors' element value. |
Paragraph |
getInformation(int index)
Get 'Information' element item by position. |
java.util.List<Paragraph> |
getInformations()
Get the list of 'Information' element items. |
OTAPayloadStdAttributes |
getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value. |
ResponseGroup |
getResponseGroup()
Get the 'ResponseGroup' attributeGroup value. |
SailingCategoryInfo |
getSailingInfo()
Get the 'SailingInfo' element value. |
FareGroup |
getSelectedFare()
Get the 'FareGroup' attributeGroup value. |
TPAExtensions |
getTPAExtensions()
Get the 'TPA_Extensions' element value. |
Warnings |
getWarnings()
Get the 'Warnings' element value. |
boolean |
ifErrors()
Check if Errors is current selection for choice. |
boolean |
ifSuccess()
Check if Success is current selection for choice. |
void |
setCabinOptions(java.util.List<CabinAvailRS.CabinOption> list)
Set the list of 'CabinOption' element items. |
void |
setDinings(java.util.List<CabinAvailRS.Dining> list)
Set the list of 'Dining' element items. |
void |
setErrors(Errors errors)
Set the 'Errors' element value. |
void |
setInformations(java.util.List<Paragraph> list)
Set the list of 'Information' element items. |
void |
setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value. |
void |
setResponseGroup(ResponseGroup responseGroup)
Set the 'ResponseGroup' attributeGroup value. |
void |
setSailingInfo(SailingCategoryInfo sailingInfo)
Set the 'SailingInfo' element value. |
void |
setSelectedFare(FareGroup selectedFare)
Set the 'FareGroup' attributeGroup value. |
void |
setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. |
void |
setWarnings(Warnings warnings)
Set the 'Warnings' element value. |
int |
sizeCabinOptions()
Get the number of 'CabinOption' element items. |
int |
sizeDinings()
Get the number of 'Dining' element items. |
int |
sizeInformations()
Get the number of 'Information' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CabinAvailRS()
Method Detail |
---|
public void clearChoiceSelect()
public boolean ifSuccess()
true
if selection, false
if notpublic Warnings getWarnings()
public void setWarnings(Warnings warnings)
warnings
- public SailingCategoryInfo getSailingInfo()
public void setSailingInfo(SailingCategoryInfo sailingInfo)
sailingInfo
- public FareGroup getSelectedFare()
public void setSelectedFare(FareGroup selectedFare)
selectedFare
- public java.util.List<CabinAvailRS.CabinOption> getCabinOptions()
public void setCabinOptions(java.util.List<CabinAvailRS.CabinOption> list)
list
- public int sizeCabinOptions()
public void addCabinOption(CabinAvailRS.CabinOption item)
item
- public CabinAvailRS.CabinOption getCabinOption(int index)
index
-
public void clearCabinOptions()
public java.util.List<Paragraph> getInformations()
public void setInformations(java.util.List<Paragraph> list)
list
- public int sizeInformations()
public void addInformation(Paragraph item)
item
- public Paragraph getInformation(int index)
index
-
public void clearInformations()
public java.util.List<CabinAvailRS.Dining> getDinings()
public void setDinings(java.util.List<CabinAvailRS.Dining> list)
list
- public int sizeDinings()
public void addDining(CabinAvailRS.Dining item)
item
- public CabinAvailRS.Dining getDining(int index)
index
-
public void clearDinings()
public TPAExtensions getTPAExtensions()
public void setTPAExtensions(TPAExtensions TPAExtensions)
TPAExtensions
- public boolean ifErrors()
true
if selection, false
if notpublic Errors getErrors()
public void setErrors(Errors errors)
errors
- public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
OTAPayloadStdAttributes
- public ResponseGroup getResponseGroup()
public void setResponseGroup(ResponseGroup responseGroup)
responseGroup
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |