org.ota.hotel
Class Event.EventInner.Sites

java.lang.Object
  extended by org.ota.hotel.Event.EventInner.Sites
Enclosing class:
Event.EventInner

public static class Event.EventInner.Sites
extends java.lang.Object

A collection of 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="Sites" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Site" maxOccurs="99">
         <!-- Reference to inner class Site -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class Event.EventInner.Sites.Site
          Identifies the site where functions for the event will be held.
 
Constructor Summary
Event.EventInner.Sites()
           
 
Method Summary
 void addSite(Event.EventInner.Sites.Site item)
          Add a 'Site' element item.
 void clearSites()
          Remove all 'Site' element items.
 Event.EventInner.Sites.Site getSite(int index)
          Get 'Site' element item by position.
 java.util.List<Event.EventInner.Sites.Site> getSites()
          Get the list of 'Site' element items.
 void setSites(java.util.List<Event.EventInner.Sites.Site> list)
          Set the list of 'Site' element items.
 int sizeSites()
          Get the number of 'Site' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Event.EventInner.Sites

public Event.EventInner.Sites()
Method Detail

getSites

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

Returns:
list

setSites

public void setSites(java.util.List<Event.EventInner.Sites.Site> list)
Set the list of 'Site' element items.

Parameters:
list -

sizeSites

public int sizeSites()
Get the number of 'Site' element items.

Returns:
count

addSite

public void addSite(Event.EventInner.Sites.Site item)
Add a 'Site' element item.

Parameters:
item -

getSite

public Event.EventInner.Sites.Site getSite(int index)
Get 'Site' element item by position.

Parameters:
index -
Returns:
item

clearSites

public void clearSites()
Remove all 'Site' element items.