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

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

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

Used to define requirements or preferences in location for the 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="LocationCategories" minOccurs="0" maxOccurs="5">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Location" minOccurs="0">
         <!-- Reference to inner class Location -->
       </xs:element>
       <xs:element name="Category" minOccurs="0" maxOccurs="99">
         <!-- Reference to inner class Category -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class EventReport.GeneralEventInfo.Dates.Date.LocationCategories.Category
          Used to define the preferences or requirements regarding an event location.
static class EventReport.GeneralEventInfo.Dates.Date.LocationCategories.Location
          Preferred event location.
 
Constructor Summary
EventReport.GeneralEventInfo.Dates.Date.LocationCategories()
           
 
Method Summary
 void addCategory(EventReport.GeneralEventInfo.Dates.Date.LocationCategories.Category item)
          Add a 'Category' element item.
 void clearCategories()
          Remove all 'Category' element items.
 java.util.List<EventReport.GeneralEventInfo.Dates.Date.LocationCategories.Category> getCategories()
          Get the list of 'Category' element items.
 EventReport.GeneralEventInfo.Dates.Date.LocationCategories.Category getCategory(int index)
          Get 'Category' element item by position.
 EventReport.GeneralEventInfo.Dates.Date.LocationCategories.Location getLocation()
          Get the 'Location' element value.
 void setCategories(java.util.List<EventReport.GeneralEventInfo.Dates.Date.LocationCategories.Category> list)
          Set the list of 'Category' element items.
 void setLocation(EventReport.GeneralEventInfo.Dates.Date.LocationCategories.Location location)
          Set the 'Location' element value.
 int sizeCategories()
          Get the number of 'Category' 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.Date.LocationCategories

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

getLocation

public EventReport.GeneralEventInfo.Dates.Date.LocationCategories.Location getLocation()
Get the 'Location' element value.

Returns:
value

setLocation

public void setLocation(EventReport.GeneralEventInfo.Dates.Date.LocationCategories.Location location)
Set the 'Location' element value.

Parameters:
location -

getCategories

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

Returns:
list

setCategories

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

Parameters:
list -

sizeCategories

public int sizeCategories()
Get the number of 'Category' element items.

Returns:
count

addCategory

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

Parameters:
item -

getCategory

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

Parameters:
index -
Returns:
item

clearCategories

public void clearCategories()
Remove all 'Category' element items.