org.ota.hotel
Class EventReport.GeneralEventInfo.Dates

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

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

A collection of dates for past or future events. 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="Dates" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Date" maxOccurs="99">
         <!-- Reference to inner class Date -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class EventReport.GeneralEventInfo.Dates.Date
          Specifies event date and associated location information.
 
Constructor Summary
EventReport.GeneralEventInfo.Dates()
           
 
Method Summary
 void addDate(EventReport.GeneralEventInfo.Dates.Date item)
          Add a 'Date' element item.
 void clearDates()
          Remove all 'Date' element items.
 EventReport.GeneralEventInfo.Dates.Date getDate(int index)
          Get 'Date' element item by position.
 java.util.List<EventReport.GeneralEventInfo.Dates.Date> getDates()
          Get the list of 'Date' element items.
 void setDates(java.util.List<EventReport.GeneralEventInfo.Dates.Date> list)
          Set the list of 'Date' element items.
 int sizeDates()
          Get the number of 'Date' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventReport.GeneralEventInfo.Dates

public EventReport.GeneralEventInfo.Dates()
Method Detail

getDates

public java.util.List<EventReport.GeneralEventInfo.Dates.Date> getDates()
Get the list of 'Date' element items.

Returns:
list

setDates

public void setDates(java.util.List<EventReport.GeneralEventInfo.Dates.Date> list)
Set the list of 'Date' element items.

Parameters:
list -

sizeDates

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

Returns:
count

addDate

public void addDate(EventReport.GeneralEventInfo.Dates.Date item)
Add a 'Date' element item.

Parameters:
item -

getDate

public EventReport.GeneralEventInfo.Dates.Date getDate(int index)
Get 'Date' element item by position.

Parameters:
index -
Returns:
item

clearDates

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