org.ota.hotel
Class PostEventRQ.Events

java.lang.Object
  extended by org.ota.hotel.PostEventRQ.Events
Enclosing class:
PostEventRQ

public static class PostEventRQ.Events
extends java.lang.Object

A collection of individual events for which the post event report is being requested. Provides the ability to request information for a specific event or event planner for one or more sites. 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="Events" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Event" maxOccurs="unbounded">
         <!-- Reference to inner class Event -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class PostEventRQ.Events.Event
          The event for which the post event report is being requested.
 
Constructor Summary
PostEventRQ.Events()
           
 
Method Summary
 void addEvent(PostEventRQ.Events.Event item)
          Add a 'Event' element item.
 void clearEvents()
          Remove all 'Event' element items.
 PostEventRQ.Events.Event getEvent(int index)
          Get 'Event' element item by position.
 java.util.List<PostEventRQ.Events.Event> getEvents()
          Get the list of 'Event' element items.
 void setEvents(java.util.List<PostEventRQ.Events.Event> list)
          Set the list of 'Event' element items.
 int sizeEvents()
          Get the number of 'Event' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostEventRQ.Events

public PostEventRQ.Events()
Method Detail

getEvents

public java.util.List<PostEventRQ.Events.Event> getEvents()
Get the list of 'Event' element items.

Returns:
list

setEvents

public void setEvents(java.util.List<PostEventRQ.Events.Event> list)
Set the list of 'Event' element items.

Parameters:
list -

sizeEvents

public int sizeEvents()
Get the number of 'Event' element items.

Returns:
count

addEvent

public void addEvent(PostEventRQ.Events.Event item)
Add a 'Event' element item.

Parameters:
item -

getEvent

public PostEventRQ.Events.Event getEvent(int index)
Get 'Event' element item by position.

Parameters:
index -
Returns:
item

clearEvents

public void clearEvents()
Remove all 'Event' element items.