|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.cruise.DiningAvailRS
public class DiningAvailRS
The Dining Availability Response message contains a list of dinings available for a given sailing and for a selected fare. For each dining the following information may be returned: - Dining Code - Dining status - Sittiing - Meal name - Meal times - 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_CruiseDiningAvailRS"> <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="DiningOptions"> <xs:complexType> <xs:sequence> <xs:element name="DiningOption" maxOccurs="99"> <!-- Reference to inner class DiningOption --> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:element type="ns:ParagraphType" name="Information" minOccurs="0" maxOccurs="5"/> <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: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 |
DiningAvailRS.DiningOption
Contains information about the proposed dining. |
Constructor Summary | |
---|---|
DiningAvailRS()
|
Method Summary | |
---|---|
void |
addDiningOption(DiningAvailRS.DiningOption item)
Add a 'DiningOption' element item. |
void |
addInformation(Paragraph item)
Add a 'Information' element item. |
void |
clearChoiceSelect()
Clear the choice selection. |
void |
clearDiningOptions()
Remove all 'DiningOption' element items. |
void |
clearInformations()
Remove all 'Information' element items. |
DiningAvailRS.DiningOption |
getDiningOption(int index)
Get 'DiningOption' element item by position. |
java.util.List<DiningAvailRS.DiningOption> |
getDiningOptions()
Get the list of 'DiningOption' 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. |
SailingCategoryInfo |
getSailingInfo()
Get the 'SailingInfo' element 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 |
setDiningOptions(java.util.List<DiningAvailRS.DiningOption> list)
Set the list of 'DiningOption' 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 |
setSailingInfo(SailingCategoryInfo sailingInfo)
Set the 'SailingInfo' element value. |
void |
setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. |
void |
setWarnings(Warnings warnings)
Set the 'Warnings' element value. |
int |
sizeDiningOptions()
Get the number of 'DiningOption' 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 DiningAvailRS()
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 java.util.List<DiningAvailRS.DiningOption> getDiningOptions()
public void setDiningOptions(java.util.List<DiningAvailRS.DiningOption> list)
list
- public int sizeDiningOptions()
public void addDiningOption(DiningAvailRS.DiningOption item)
item
- public DiningAvailRS.DiningOption getDiningOption(int index)
index
-
public void clearDiningOptions()
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 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
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |