org.ota.hotel
Class EventReport.GeneralEventInfo.Dates.Date

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

public static class EventReport.GeneralEventInfo.Dates.Date
extends DateTimeSpan

Specifies event date and associated location information. 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="Date" maxOccurs="99">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:DateTimeSpanType">
         <xs:sequence>
           <xs:element name="LocationCategories" minOccurs="0" maxOccurs="5">
             <!-- Reference to inner class LocationCategories -->
           </xs:element>
           <xs:element name="Comments" minOccurs="0">
             <!-- Reference to inner class Comments -->
           </xs:element>
         </xs:sequence>
         <xs:attribute type="xs:boolean" use="optional" name="ContractedIndicator"/>
         <xs:attribute use="optional" name="EventDateType">
           <xs:simpleType>
             <!-- Reference to inner class EventDate -->
           </xs:simpleType>
         </xs:attribute>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class EventReport.GeneralEventInfo.Dates.Date.Comments
          Collection of comments.
static class EventReport.GeneralEventInfo.Dates.Date.EventDate
          Schema fragment(s) for this class:
static class EventReport.GeneralEventInfo.Dates.Date.LocationCategories
          Used to define requirements or preferences in location for the event.
 
Nested classes/interfaces inherited from class org.ota.shared.DateTimeSpan
DateTimeSpan.Sequence
 
Constructor Summary
EventReport.GeneralEventInfo.Dates.Date()
           
 
Method Summary
 void addLocationCategory(EventReport.GeneralEventInfo.Dates.Date.LocationCategories item)
          Add a 'LocationCategories' element item.
 void clearLocationCategories()
          Remove all 'LocationCategories' element items.
 EventReport.GeneralEventInfo.Dates.Date.Comments getComments()
          Get the 'Comments' element value.
 java.lang.Boolean getContractedIndicator()
          Get the 'ContractedIndicator' attribute value.
 EventReport.GeneralEventInfo.Dates.Date.EventDate getEventDate()
          Get the 'EventDateType' attribute value.
 java.util.List<EventReport.GeneralEventInfo.Dates.Date.LocationCategories> getLocationCategories()
          Get the list of 'LocationCategories' element items.
 EventReport.GeneralEventInfo.Dates.Date.LocationCategories getLocationCategory(int index)
          Get 'LocationCategories' element item by position.
 void setComments(EventReport.GeneralEventInfo.Dates.Date.Comments comments)
          Set the 'Comments' element value.
 void setContractedIndicator(java.lang.Boolean contractedIndicator)
          Set the 'ContractedIndicator' attribute value.
 void setEventDate(EventReport.GeneralEventInfo.Dates.Date.EventDate eventDate)
          Set the 'EventDateType' attribute value.
 void setLocationCategories(java.util.List<EventReport.GeneralEventInfo.Dates.Date.LocationCategories> list)
          Set the list of 'LocationCategories' element items.
 int sizeLocationCategories()
          Get the number of 'LocationCategories' element items.
 
Methods inherited from class org.ota.shared.DateTimeSpan
clearChoiceSelect, getDateTimeSpanGroup, getDateWindowRange, getSequence, ifDateWindowRange, ifSequence, setDateTimeSpanGroup, setDateWindowRange, setSequence
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventReport.GeneralEventInfo.Dates.Date

public EventReport.GeneralEventInfo.Dates.Date()
Method Detail

getLocationCategories

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

Returns:
list

setLocationCategories

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

Parameters:
list -

sizeLocationCategories

public int sizeLocationCategories()
Get the number of 'LocationCategories' element items.

Returns:
count

addLocationCategory

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

Parameters:
item -

getLocationCategory

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

Parameters:
index -
Returns:
item

clearLocationCategories

public void clearLocationCategories()
Remove all 'LocationCategories' element items.


getComments

public EventReport.GeneralEventInfo.Dates.Date.Comments getComments()
Get the 'Comments' element value.

Returns:
value

setComments

public void setComments(EventReport.GeneralEventInfo.Dates.Date.Comments comments)
Set the 'Comments' element value.

Parameters:
comments -

getContractedIndicator

public java.lang.Boolean getContractedIndicator()
Get the 'ContractedIndicator' attribute value. When true, indicates that the event has already been contracted for these dates.

Returns:
value

setContractedIndicator

public void setContractedIndicator(java.lang.Boolean contractedIndicator)
Set the 'ContractedIndicator' attribute value. When true, indicates that the event has already been contracted for these dates.

Parameters:
contractedIndicator -

getEventDate

public EventReport.GeneralEventInfo.Dates.Date.EventDate getEventDate()
Get the 'EventDateType' attribute value. Used in conjunction with Start and End to identify the type of date.

Returns:
value

setEventDate

public void setEventDate(EventReport.GeneralEventInfo.Dates.Date.EventDate eventDate)
Set the 'EventDateType' attribute value. Used in conjunction with Start and End to identify the type of date.

Parameters:
eventDate -