org.ota.hotel
Class RFPMeetingRQ.RFPRequestSegment.Preferences.Preference.LocationCategories

java.lang.Object
  extended by org.ota.hotel.RFPMeetingRQ.RFPRequestSegment.Preferences.Preference.LocationCategories
Enclosing class:
RFPMeetingRQ.RFPRequestSegment.Preferences.Preference

public static class RFPMeetingRQ.RFPRequestSegment.Preferences.Preference.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 type="ns:LocationGeneralType" name="Location" minOccurs="0"/>
       <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 RFPMeetingRQ.RFPRequestSegment.Preferences.Preference.LocationCategories.Category
          Used to define the preferences or requirements regarding an event location.
 
Constructor Summary
RFPMeetingRQ.RFPRequestSegment.Preferences.Preference.LocationCategories()
           
 
Method Summary
 void addCategory(RFPMeetingRQ.RFPRequestSegment.Preferences.Preference.LocationCategories.Category item)
          Add a 'Category' element item.
 void clearCategories()
          Remove all 'Category' element items.
 java.util.List<RFPMeetingRQ.RFPRequestSegment.Preferences.Preference.LocationCategories.Category> getCategories()
          Get the list of 'Category' element items.
 RFPMeetingRQ.RFPRequestSegment.Preferences.Preference.LocationCategories.Category getCategory(int index)
          Get 'Category' element item by position.
 LocationGeneral getLocation()
          Get the 'Location' element value.
 void setCategories(java.util.List<RFPMeetingRQ.RFPRequestSegment.Preferences.Preference.LocationCategories.Category> list)
          Set the list of 'Category' element items.
 void setLocation(LocationGeneral 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

RFPMeetingRQ.RFPRequestSegment.Preferences.Preference.LocationCategories

public RFPMeetingRQ.RFPRequestSegment.Preferences.Preference.LocationCategories()
Method Detail

getLocation

public LocationGeneral getLocation()
Get the 'Location' element value. Preferred event location.

Returns:
value

setLocation

public void setLocation(LocationGeneral location)
Set the 'Location' element value. Preferred event location.

Parameters:
location -

getCategories

public java.util.List<RFPMeetingRQ.RFPRequestSegment.Preferences.Preference.LocationCategories.Category> getCategories()
Get the list of 'Category' element items.

Returns:
list

setCategories

public void setCategories(java.util.List<RFPMeetingRQ.RFPRequestSegment.Preferences.Preference.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(RFPMeetingRQ.RFPRequestSegment.Preferences.Preference.LocationCategories.Category item)
Add a 'Category' element item.

Parameters:
item -

getCategory

public RFPMeetingRQ.RFPRequestSegment.Preferences.Preference.LocationCategories.Category getCategory(int index)
Get 'Category' element item by position.

Parameters:
index -
Returns:
item

clearCategories

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