org.ota.hotel
Class Event

java.lang.Object
  extended by org.ota.hotel.Event

public class Event
extends java.lang.Object

Information details for an event. Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="EventType">
   <xs:sequence>
     <xs:element name="Event" maxOccurs="unbounded">
       <!-- Reference to inner class EventInner -->
     </xs:element>
   </xs:sequence>
 </xs:complexType>
 


Nested Class Summary
static class Event.EventInner
          Information for an event.
 
Constructor Summary
Event()
           
 
Method Summary
 void addEvent(Event.EventInner item)
          Add a 'Event' element item.
 void clearEvents()
          Remove all 'Event' element items.
 Event.EventInner getEvent(int index)
          Get 'Event' element item by position.
 java.util.List<Event.EventInner> getEvents()
          Get the list of 'Event' element items.
 void setEvents(java.util.List<Event.EventInner> 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

Event

public Event()
Method Detail

getEvents

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

Returns:
list

setEvents

public void setEvents(java.util.List<Event.EventInner> 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(Event.EventInner item)
Add a 'Event' element item.

Parameters:
item -

getEvent

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

Parameters:
index -
Returns:
item

clearEvents

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