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

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

public static class RFPMeetingRQ.RFPRequestSegment.Preferences.Preference
extends java.lang.Object

Describes various preferences or requirements for the RFP. 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="Preference" maxOccurs="5">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="LocationCategories" minOccurs="0" maxOccurs="5">
         <!-- Reference to inner class LocationCategories -->
       </xs:element>
       <xs:element name="Recreations" minOccurs="0">
         <!-- Reference to inner class Recreations -->
       </xs:element>
       <xs:element name="Properties" minOccurs="0">
         <!-- Reference to inner class Properties -->
       </xs:element>
       <xs:element type="ns:ParagraphType" name="Comments" minOccurs="0"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class RFPMeetingRQ.RFPRequestSegment.Preferences.Preference.LocationCategories
          Used to define requirements or preferences in location for the event, Schema fragment(s) for this class:
static class RFPMeetingRQ.RFPRequestSegment.Preferences.Preference.Properties
          A collection of preferred properties.
static class RFPMeetingRQ.RFPRequestSegment.Preferences.Preference.Recreations
          A collection of recreation preferences.
 
Constructor Summary
RFPMeetingRQ.RFPRequestSegment.Preferences.Preference()
           
 
Method Summary
 void addLocationCategory(RFPMeetingRQ.RFPRequestSegment.Preferences.Preference.LocationCategories item)
          Add a 'LocationCategories' element item.
 void clearLocationCategories()
          Remove all 'LocationCategories' element items.
 Paragraph getComments()
          Get the 'Comments' element value.
 java.util.List<RFPMeetingRQ.RFPRequestSegment.Preferences.Preference.LocationCategories> getLocationCategories()
          Get the list of 'LocationCategories' element items.
 RFPMeetingRQ.RFPRequestSegment.Preferences.Preference.LocationCategories getLocationCategory(int index)
          Get 'LocationCategories' element item by position.
 RFPMeetingRQ.RFPRequestSegment.Preferences.Preference.Properties getProperties()
          Get the 'Properties' element value.
 RFPMeetingRQ.RFPRequestSegment.Preferences.Preference.Recreations getRecreations()
          Get the 'Recreations' element value.
 void setComments(Paragraph comments)
          Set the 'Comments' element value.
 void setLocationCategories(java.util.List<RFPMeetingRQ.RFPRequestSegment.Preferences.Preference.LocationCategories> list)
          Set the list of 'LocationCategories' element items.
 void setProperties(RFPMeetingRQ.RFPRequestSegment.Preferences.Preference.Properties properties)
          Set the 'Properties' element value.
 void setRecreations(RFPMeetingRQ.RFPRequestSegment.Preferences.Preference.Recreations recreations)
          Set the 'Recreations' element value.
 int sizeLocationCategories()
          Get the number of 'LocationCategories' 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

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

getLocationCategories

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

Returns:
list

setLocationCategories

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

Parameters:
item -

getLocationCategory

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

Parameters:
index -
Returns:
item

clearLocationCategories

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


getRecreations

public RFPMeetingRQ.RFPRequestSegment.Preferences.Preference.Recreations getRecreations()
Get the 'Recreations' element value.

Returns:
value

setRecreations

public void setRecreations(RFPMeetingRQ.RFPRequestSegment.Preferences.Preference.Recreations recreations)
Set the 'Recreations' element value.

Parameters:
recreations -

getProperties

public RFPMeetingRQ.RFPRequestSegment.Preferences.Preference.Properties getProperties()
Get the 'Properties' element value.

Returns:
value

setProperties

public void setProperties(RFPMeetingRQ.RFPRequestSegment.Preferences.Preference.Properties properties)
Set the 'Properties' element value.

Parameters:
properties -

getComments

public Paragraph getComments()
Get the 'Comments' element value. Used to further define event preference information.

Returns:
value

setComments

public void setComments(Paragraph comments)
Set the 'Comments' element value. Used to further define event preference information.

Parameters:
comments -