org.ota.hotel
Class PostEventRQ.Events.Event

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

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

The event for which the post event report is being 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="Event" maxOccurs="unbounded">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:DateTimeSpanType" name="Date" minOccurs="0" maxOccurs="99"/>
       <xs:element name="EventIdentifier" minOccurs="0" maxOccurs="9">
         <!-- Reference to inner class EventIdentifier -->
       </xs:element>
       <xs:element name="EventSites" minOccurs="0">
         <!-- Reference to inner class EventSites -->
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:boolean" use="optional" name="MostRecentEventIndicator"/>
     <xs:attribute type="xs:string" use="optional" name="EventHostName"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class PostEventRQ.Events.Event.EventIdentifier
          Identifier information for an individual event.
static class PostEventRQ.Events.Event.EventSites
          A collection of event sites.
 
Constructor Summary
PostEventRQ.Events.Event()
           
 
Method Summary
 void addDate(DateTimeSpan item)
          Add a 'Date' element item.
 void addEventIdentifier(PostEventRQ.Events.Event.EventIdentifier item)
          Add a 'EventIdentifier' element item.
 void clearDates()
          Remove all 'Date' element items.
 void clearEventIdentifiers()
          Remove all 'EventIdentifier' element items.
 DateTimeSpan getDate(int index)
          Get 'Date' element item by position.
 java.util.List<DateTimeSpan> getDates()
          Get the list of 'Date' element items.
 java.lang.String getEventHostName()
          Get the 'EventHostName' attribute value.
 PostEventRQ.Events.Event.EventIdentifier getEventIdentifier(int index)
          Get 'EventIdentifier' element item by position.
 java.util.List<PostEventRQ.Events.Event.EventIdentifier> getEventIdentifiers()
          Get the list of 'EventIdentifier' element items.
 PostEventRQ.Events.Event.EventSites getEventSites()
          Get the 'EventSites' element value.
 java.lang.Boolean getMostRecentEventIndicator()
          Get the 'MostRecentEventIndicator' attribute value.
 void setDates(java.util.List<DateTimeSpan> list)
          Set the list of 'Date' element items.
 void setEventHostName(java.lang.String eventHostName)
          Set the 'EventHostName' attribute value.
 void setEventIdentifiers(java.util.List<PostEventRQ.Events.Event.EventIdentifier> list)
          Set the list of 'EventIdentifier' element items.
 void setEventSites(PostEventRQ.Events.Event.EventSites eventSites)
          Set the 'EventSites' element value.
 void setMostRecentEventIndicator(java.lang.Boolean mostRecentEventIndicator)
          Set the 'MostRecentEventIndicator' attribute value.
 int sizeDates()
          Get the number of 'Date' element items.
 int sizeEventIdentifiers()
          Get the number of 'EventIdentifier' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostEventRQ.Events.Event

public PostEventRQ.Events.Event()
Method Detail

getDates

public java.util.List<DateTimeSpan> getDates()
Get the list of 'Date' element items. Date or date range for this occurrence of this event (e.g., a single date or date range may be used if a single occurrence of the event is requested; multiple dates or date ranges may be used if the data being requested is for an event that has been held more than once, such as an annual meeting).

Returns:
list

setDates

public void setDates(java.util.List<DateTimeSpan> list)
Set the list of 'Date' element items. Date or date range for this occurrence of this event (e.g., a single date or date range may be used if a single occurrence of the event is requested; multiple dates or date ranges may be used if the data being requested is for an event that has been held more than once, such as an annual meeting).

Parameters:
list -

sizeDates

public int sizeDates()
Get the number of 'Date' element items.

Returns:
count

addDate

public void addDate(DateTimeSpan item)
Add a 'Date' element item.

Parameters:
item -

getDate

public DateTimeSpan getDate(int index)
Get 'Date' element item by position.

Parameters:
index -
Returns:
item

clearDates

public void clearDates()
Remove all 'Date' element items.


getEventIdentifiers

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

Returns:
list

setEventIdentifiers

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

Parameters:
list -

sizeEventIdentifiers

public int sizeEventIdentifiers()
Get the number of 'EventIdentifier' element items.

Returns:
count

addEventIdentifier

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

Parameters:
item -

getEventIdentifier

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

Parameters:
index -
Returns:
item

clearEventIdentifiers

public void clearEventIdentifiers()
Remove all 'EventIdentifier' element items.


getEventSites

public PostEventRQ.Events.Event.EventSites getEventSites()
Get the 'EventSites' element value.

Returns:
value

setEventSites

public void setEventSites(PostEventRQ.Events.Event.EventSites eventSites)
Set the 'EventSites' element value.

Parameters:
eventSites -

getMostRecentEventIndicator

public java.lang.Boolean getMostRecentEventIndicator()
Get the 'MostRecentEventIndicator' attribute value. When true, indicates the response should include data only for the most recent event held. When false, indicates the response should include data for all events that match the request criteria.

Returns:
value

setMostRecentEventIndicator

public void setMostRecentEventIndicator(java.lang.Boolean mostRecentEventIndicator)
Set the 'MostRecentEventIndicator' attribute value. When true, indicates the response should include data only for the most recent event held. When false, indicates the response should include data for all events that match the request criteria.

Parameters:
mostRecentEventIndicator -

getEventHostName

public java.lang.String getEventHostName()
Get the 'EventHostName' attribute value. The name of the event host company or the name of the meeting planner for the event.

Returns:
value

setEventHostName

public void setEventHostName(java.lang.String eventHostName)
Set the 'EventHostName' attribute value. The name of the event host company or the name of the meeting planner for the event.

Parameters:
eventHostName -