org.ota.hotel
Class RFPMeetingRQ.RFPRequestSegment.Preferences

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

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

Collection of 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="Preferences" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Preference" maxOccurs="5">
         <!-- Reference to inner class Preference -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class RFPMeetingRQ.RFPRequestSegment.Preferences.Preference
          Describes various preferences or requirements for the RFP.
 
Constructor Summary
RFPMeetingRQ.RFPRequestSegment.Preferences()
           
 
Method Summary
 void addPreference(RFPMeetingRQ.RFPRequestSegment.Preferences.Preference item)
          Add a 'Preference' element item.
 void clearPreferences()
          Remove all 'Preference' element items.
 RFPMeetingRQ.RFPRequestSegment.Preferences.Preference getPreference(int index)
          Get 'Preference' element item by position.
 java.util.List<RFPMeetingRQ.RFPRequestSegment.Preferences.Preference> getPreferences()
          Get the list of 'Preference' element items.
 void setPreferences(java.util.List<RFPMeetingRQ.RFPRequestSegment.Preferences.Preference> list)
          Set the list of 'Preference' element items.
 int sizePreferences()
          Get the number of 'Preference' 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

public RFPMeetingRQ.RFPRequestSegment.Preferences()
Method Detail

getPreferences

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

Returns:
list

setPreferences

public void setPreferences(java.util.List<RFPMeetingRQ.RFPRequestSegment.Preferences.Preference> list)
Set the list of 'Preference' element items.

Parameters:
list -

sizePreferences

public int sizePreferences()
Get the number of 'Preference' element items.

Returns:
count

addPreference

public void addPreference(RFPMeetingRQ.RFPRequestSegment.Preferences.Preference item)
Add a 'Preference' element item.

Parameters:
item -

getPreference

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

Parameters:
index -
Returns:
item

clearPreferences

public void clearPreferences()
Remove all 'Preference' element items.