org.ota.hotel
Class EventReport.GeneralEventInfo.EventContacts

java.lang.Object
  extended by org.ota.hotel.EventReport.GeneralEventInfo.EventContacts
Enclosing class:
EventReport.GeneralEventInfo

public static class EventReport.GeneralEventInfo.EventContacts
extends java.lang.Object

A collection of contacts that pertain to this event. 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="EventContacts" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="EventContact" maxOccurs="99">
         <!-- Reference to inner class EventContact -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class EventReport.GeneralEventInfo.EventContacts.EventContact
          A contact that pertains to this event.
 
Constructor Summary
EventReport.GeneralEventInfo.EventContacts()
           
 
Method Summary
 void addEventContact(EventReport.GeneralEventInfo.EventContacts.EventContact item)
          Add a 'EventContact' element item.
 void clearEventContacts()
          Remove all 'EventContact' element items.
 EventReport.GeneralEventInfo.EventContacts.EventContact getEventContact(int index)
          Get 'EventContact' element item by position.
 java.util.List<EventReport.GeneralEventInfo.EventContacts.EventContact> getEventContacts()
          Get the list of 'EventContact' element items.
 void setEventContacts(java.util.List<EventReport.GeneralEventInfo.EventContacts.EventContact> list)
          Set the list of 'EventContact' element items.
 int sizeEventContacts()
          Get the number of 'EventContact' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventReport.GeneralEventInfo.EventContacts

public EventReport.GeneralEventInfo.EventContacts()
Method Detail

getEventContacts

public java.util.List<EventReport.GeneralEventInfo.EventContacts.EventContact> getEventContacts()
Get the list of 'EventContact' element items.

Returns:
list

setEventContacts

public void setEventContacts(java.util.List<EventReport.GeneralEventInfo.EventContacts.EventContact> list)
Set the list of 'EventContact' element items.

Parameters:
list -

sizeEventContacts

public int sizeEventContacts()
Get the number of 'EventContact' element items.

Returns:
count

addEventContact

public void addEventContact(EventReport.GeneralEventInfo.EventContacts.EventContact item)
Add a 'EventContact' element item.

Parameters:
item -

getEventContact

public EventReport.GeneralEventInfo.EventContacts.EventContact getEventContact(int index)
Get 'EventContact' element item by position.

Parameters:
index -
Returns:
item

clearEventContacts

public void clearEventContacts()
Remove all 'EventContact' element items.