org.ota.hotel
Class HotelRoomList.RoomStays.RoomStay.Sequence.Choice

java.lang.Object
  extended by org.ota.hotel.HotelRoomList.RoomStays.RoomStay.Sequence.Choice
Enclosing class:
HotelRoomList.RoomStays.RoomStay.Sequence

public static class HotelRoomList.RoomStays.RoomStay.Sequence.Choice
extends java.lang.Object

Schema fragment(s) for this class:

 <xs:choice xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" minOccurs="0">
   <xs:sequence>
     <xs:element type="ns:SuccessType" name="Success"/>
     <xs:element type="ns:WarningsType" name="Warnings" minOccurs="0"/>
   </xs:sequence>
   <xs:element type="ns:ErrorsType" name="Errors"/>
 </xs:choice>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SuccessType"/>
 


Constructor Summary
HotelRoomList.RoomStays.RoomStay.Sequence.Choice()
           
 
Method Summary
 void clearChoiceSelect()
          Clear the choice selection.
 Errors getErrors()
          Get the 'Errors' 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 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

HotelRoomList.RoomStays.RoomStay.Sequence.Choice

public HotelRoomList.RoomStays.RoomStay.Sequence.Choice()
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.

Returns:
value

setWarnings

public void setWarnings(Warnings warnings)
Set the 'Warnings' element value.

Parameters:
warnings -

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.

Returns:
value

setErrors

public void setErrors(Errors errors)
Set the 'Errors' element value.

Parameters:
errors -