org.ota.misc
Class NotifReportRQ.NotifDetails.HotelNotifReport.HotelReservations

java.lang.Object
  extended by org.ota.misc.NotifReportRQ.NotifDetails.HotelNotifReport.HotelReservations
Enclosing class:
NotifReportRQ.NotifDetails.HotelNotifReport

public static class NotifReportRQ.NotifDetails.HotelNotifReport.HotelReservations
extends java.lang.Object

Collection of hotel reservations. 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="HotelReservations" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="HotelReservation" maxOccurs="unbounded">
         <!-- Reference to inner class HotelReservation -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class NotifReportRQ.NotifDetails.HotelNotifReport.HotelReservations.HotelReservation
          A hotel reservation.
 
Constructor Summary
NotifReportRQ.NotifDetails.HotelNotifReport.HotelReservations()
           
 
Method Summary
 void addHotelReservation(NotifReportRQ.NotifDetails.HotelNotifReport.HotelReservations.HotelReservation item)
          Add a 'HotelReservation' element item.
 void clearHotelReservations()
          Remove all 'HotelReservation' element items.
 NotifReportRQ.NotifDetails.HotelNotifReport.HotelReservations.HotelReservation getHotelReservation(int index)
          Get 'HotelReservation' element item by position.
 java.util.List<NotifReportRQ.NotifDetails.HotelNotifReport.HotelReservations.HotelReservation> getHotelReservations()
          Get the list of 'HotelReservation' element items.
 void setHotelReservations(java.util.List<NotifReportRQ.NotifDetails.HotelNotifReport.HotelReservations.HotelReservation> list)
          Set the list of 'HotelReservation' element items.
 int sizeHotelReservations()
          Get the number of 'HotelReservation' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotifReportRQ.NotifDetails.HotelNotifReport.HotelReservations

public NotifReportRQ.NotifDetails.HotelNotifReport.HotelReservations()
Method Detail

getHotelReservations

public java.util.List<NotifReportRQ.NotifDetails.HotelNotifReport.HotelReservations.HotelReservation> getHotelReservations()
Get the list of 'HotelReservation' element items.

Returns:
list

setHotelReservations

public void setHotelReservations(java.util.List<NotifReportRQ.NotifDetails.HotelNotifReport.HotelReservations.HotelReservation> list)
Set the list of 'HotelReservation' element items.

Parameters:
list -

sizeHotelReservations

public int sizeHotelReservations()
Get the number of 'HotelReservation' element items.

Returns:
count

addHotelReservation

public void addHotelReservation(NotifReportRQ.NotifDetails.HotelNotifReport.HotelReservations.HotelReservation item)
Add a 'HotelReservation' element item.

Parameters:
item -

getHotelReservation

public NotifReportRQ.NotifDetails.HotelNotifReport.HotelReservations.HotelReservation getHotelReservation(int index)
Get 'HotelReservation' element item by position.

Parameters:
index -
Returns:
item

clearHotelReservations

public void clearHotelReservations()
Remove all 'HotelReservation' element items.