org.ota.hotel
Class PostEventRQ

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

public class PostEventRQ
extends java.lang.Object

This message may be used to request post event information for one or more events for one or more sites. It may also be used to request one or more post event report(s) 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="OTA_HotelPostEventRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Requestor" minOccurs="0" maxOccurs="10">
         <!-- Reference to inner class Requestor -->
       </xs:element>
       <xs:choice>
         <xs:element name="Events" minOccurs="0">
           <!-- Reference to inner class Events -->
         </xs:element>
         <xs:element name="Sites" minOccurs="0">
           <!-- Reference to inner class Sites -->
         </xs:element>
       </xs:choice>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class PostEventRQ.Events
          A collection of individual events for which the post event report is being requested.
static class PostEventRQ.Requestor
          Specifies to whom the post event report should be sent.
static class PostEventRQ.Sites
          A collection of sites for which a post event report is being requested.
 
Constructor Summary
PostEventRQ()
           
 
Method Summary
 void addRequestor(PostEventRQ.Requestor item)
          Add a 'Requestor' element item.
 void clearChoiceSelect()
          Clear the choice selection.
 void clearRequestors()
          Remove all 'Requestor' element items.
 PostEventRQ.Events getEvents()
          Get the 'Events' element value.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 PostEventRQ.Requestor getRequestor(int index)
          Get 'Requestor' element item by position.
 java.util.List<PostEventRQ.Requestor> getRequestors()
          Get the list of 'Requestor' element items.
 PostEventRQ.Sites getSites()
          Get the 'Sites' element value.
 boolean ifEvents()
          Check if Events is current selection for choice.
 boolean ifSites()
          Check if Sites is current selection for choice.
 void setEvents(PostEventRQ.Events events)
          Set the 'Events' element value.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setRequestors(java.util.List<PostEventRQ.Requestor> list)
          Set the list of 'Requestor' element items.
 void setSites(PostEventRQ.Sites sites)
          Set the 'Sites' element value.
 int sizeRequestors()
          Get the number of 'Requestor' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostEventRQ

public PostEventRQ()
Method Detail

getRequestors

public java.util.List<PostEventRQ.Requestor> getRequestors()
Get the list of 'Requestor' element items.

Returns:
list

setRequestors

public void setRequestors(java.util.List<PostEventRQ.Requestor> list)
Set the list of 'Requestor' element items.

Parameters:
list -

sizeRequestors

public int sizeRequestors()
Get the number of 'Requestor' element items.

Returns:
count

addRequestor

public void addRequestor(PostEventRQ.Requestor item)
Add a 'Requestor' element item.

Parameters:
item -

getRequestor

public PostEventRQ.Requestor getRequestor(int index)
Get 'Requestor' element item by position.

Parameters:
index -
Returns:
item

clearRequestors

public void clearRequestors()
Remove all 'Requestor' element items.


clearChoiceSelect

public void clearChoiceSelect()
Clear the choice selection.


ifEvents

public boolean ifEvents()
Check if Events is current selection for choice.

Returns:
true if selection, false if not

getEvents

public PostEventRQ.Events getEvents()
Get the 'Events' element value.

Returns:
value

setEvents

public void setEvents(PostEventRQ.Events events)
Set the 'Events' element value.

Parameters:
events -

ifSites

public boolean ifSites()
Check if Sites is current selection for choice.

Returns:
true if selection, false if not

getSites

public PostEventRQ.Sites getSites()
Get the 'Sites' element value.

Returns:
value

setSites

public void setSites(PostEventRQ.Sites sites)
Set the 'Sites' element value.

Parameters:
sites -

getOTAPayloadStdAttributes

public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value.

Returns:
value

setOTAPayloadStdAttributes

public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value.

Parameters:
OTAPayloadStdAttributes -