org.ota.cruise
Class BookingHistoryRS

java.lang.Object
  extended by org.ota.cruise.BookingHistoryRS

public class BookingHistoryRS
extends java.lang.Object

This message provides a detailed service history for the reservation requested. 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_CruiseBookingHistoryRS">
   <xs:complexType>
     <xs:choice>
       <xs:sequence>
         <xs:element type="ns:SuccessType" name="Success"/>
         <xs:element type="ns:WarningsType" name="Warnings" minOccurs="0"/>
         <xs:element name="ReservationID">
           <xs:complexType>
             <xs:complexContent>
               <xs:extension base="ns:UniqueID_Type">
                 <xs:attributeGroup ref="ns:ReservationStatusGroup"/>
               </xs:extension>
             </xs:complexContent>
           </xs:complexType>
         </xs:element>
         <xs:element type="ns:SailingCategoryInfoType" name="SailingInfo" minOccurs="0"/>
         <xs:element name="HistoryInfos" minOccurs="0">
           <!-- Reference to inner class HistoryInfos -->
         </xs:element>
       </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"/>
 


Nested Class Summary
static class BookingHistoryRS.HistoryInfos
          A collection of history info items.
 
Constructor Summary
BookingHistoryRS()
           
 
Method Summary
 void clearChoiceSelect()
          Clear the choice selection.
 Errors getErrors()
          Get the 'Errors' element value.
 BookingHistoryRS.HistoryInfos getHistoryInfos()
          Get the 'HistoryInfos' element value.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 ReservationStatusGroup getReservationIDReservationStatusGroup()
          Get the 'ReservationStatusGroup' attributeGroup value.
 UniqueID getReservationIDUniqueID()
          Get the extension value.
 ResponseGroup getResponseGroup()
          Get the 'ResponseGroup' attributeGroup value.
 SailingCategoryInfo getSailingInfo()
          Get the 'SailingInfo' 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 setErrors(Errors errors)
          Set the 'Errors' element value.
 void setHistoryInfos(BookingHistoryRS.HistoryInfos historyInfos)
          Set the 'HistoryInfos' element value.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setReservationIDReservationStatusGroup(ReservationStatusGroup reservationIDReservationStatusGroup)
          Set the 'ReservationStatusGroup' attributeGroup value.
 void setReservationIDUniqueID(UniqueID reservationIDUniqueID)
          Set the extension value.
 void setResponseGroup(ResponseGroup responseGroup)
          Set the 'ResponseGroup' attributeGroup value.
 void setSailingInfo(SailingCategoryInfo sailingInfo)
          Set the 'SailingInfo' element value.
 void setWarnings(Warnings warnings)
          Set the 'Warnings' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookingHistoryRS

public BookingHistoryRS()
Method Detail

clearChoiceSelect

public void clearChoiceSelect()
Clear the choice selection.


ifSuccess

public boolean ifSuccess()
Check if Success is current selection for choice.

Returns:
true if selection, false if not

getWarnings

public Warnings getWarnings()
Get the 'Warnings' element value. Used in conjunction with a successful processing of an OpenTravel message to provide warnings.

Returns:
value

setWarnings

public void setWarnings(Warnings warnings)
Set the 'Warnings' element value. Used in conjunction with a successful processing of an OpenTravel message to provide warnings.

Parameters:
warnings -

getReservationIDUniqueID

public UniqueID getReservationIDUniqueID()
Get the extension value.

Returns:
value

setReservationIDUniqueID

public void setReservationIDUniqueID(UniqueID reservationIDUniqueID)
Set the extension value.

Parameters:
reservationIDUniqueID -

getReservationIDReservationStatusGroup

public ReservationStatusGroup getReservationIDReservationStatusGroup()
Get the 'ReservationStatusGroup' attributeGroup value. The status and last modified date of this reservation.

Returns:
value

setReservationIDReservationStatusGroup

public void setReservationIDReservationStatusGroup(ReservationStatusGroup reservationIDReservationStatusGroup)
Set the 'ReservationStatusGroup' attributeGroup value. The status and last modified date of this reservation.

Parameters:
reservationIDReservationStatusGroup -

getSailingInfo

public SailingCategoryInfo getSailingInfo()
Get the 'SailingInfo' element value. Specifies the sailing information for a reservation.

Returns:
value

setSailingInfo

public void setSailingInfo(SailingCategoryInfo sailingInfo)
Set the 'SailingInfo' element value. Specifies the sailing information for a reservation.

Parameters:
sailingInfo -

getHistoryInfos

public BookingHistoryRS.HistoryInfos getHistoryInfos()
Get the 'HistoryInfos' element value.

Returns:
value

setHistoryInfos

public void setHistoryInfos(BookingHistoryRS.HistoryInfos historyInfos)
Set the 'HistoryInfos' element value.

Parameters:
historyInfos -

ifErrors

public boolean ifErrors()
Check if Errors is current selection for choice.

Returns:
true if selection, false if not

getErrors

public Errors getErrors()
Get the 'Errors' element value. A collection of errors that occurred during the processing of a message.

Returns:
value

setErrors

public void setErrors(Errors errors)
Set the 'Errors' element value. A collection of errors that occurred during the processing of a message.

Parameters:
errors -

getOTAPayloadStdAttributes

public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value. The standard attributes that appear on the root element for all OpenTravel Messages.

Returns:
value

setOTAPayloadStdAttributes

public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value. The standard attributes that appear on the root element for all OpenTravel Messages.

Parameters:
OTAPayloadStdAttributes -

getResponseGroup

public ResponseGroup getResponseGroup()
Get the 'ResponseGroup' attributeGroup value. Indicates that additional records are available and provides the echo token to be used to retrieve those records.

Returns:
value

setResponseGroup

public void setResponseGroup(ResponseGroup responseGroup)
Set the 'ResponseGroup' attributeGroup value. Indicates that additional records are available and provides the echo token to be used to retrieve those records.

Parameters:
responseGroup -