org.ota.hotel
Class RatePlanCandidates

java.lang.Object
  extended by org.ota.hotel.RatePlanCandidates

public class RatePlanCandidates
extends java.lang.Object

Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="RatePlanCandidatesType">
   <xs:sequence>
     <xs:element name="RatePlanCandidate" maxOccurs="unbounded">
       <!-- Reference to inner class RatePlanCandidate -->
     </xs:element>
   </xs:sequence>
 </xs:complexType>
 


Nested Class Summary
static class RatePlanCandidates.RatePlanCandidate
          Element used to identify available products and rates.
 
Constructor Summary
RatePlanCandidates()
           
 
Method Summary
 void addRatePlanCandidate(RatePlanCandidates.RatePlanCandidate item)
          Add a 'RatePlanCandidate' element item.
 void clearRatePlanCandidates()
          Remove all 'RatePlanCandidate' element items.
 RatePlanCandidates.RatePlanCandidate getRatePlanCandidate(int index)
          Get 'RatePlanCandidate' element item by position.
 java.util.List<RatePlanCandidates.RatePlanCandidate> getRatePlanCandidates()
          Get the list of 'RatePlanCandidate' element items.
 void setRatePlanCandidates(java.util.List<RatePlanCandidates.RatePlanCandidate> list)
          Set the list of 'RatePlanCandidate' element items.
 int sizeRatePlanCandidates()
          Get the number of 'RatePlanCandidate' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RatePlanCandidates

public RatePlanCandidates()
Method Detail

getRatePlanCandidates

public java.util.List<RatePlanCandidates.RatePlanCandidate> getRatePlanCandidates()
Get the list of 'RatePlanCandidate' element items.

Returns:
list

setRatePlanCandidates

public void setRatePlanCandidates(java.util.List<RatePlanCandidates.RatePlanCandidate> list)
Set the list of 'RatePlanCandidate' element items.

Parameters:
list -

sizeRatePlanCandidates

public int sizeRatePlanCandidates()
Get the number of 'RatePlanCandidate' element items.

Returns:
count

addRatePlanCandidate

public void addRatePlanCandidate(RatePlanCandidates.RatePlanCandidate item)
Add a 'RatePlanCandidate' element item.

Parameters:
item -

getRatePlanCandidate

public RatePlanCandidates.RatePlanCandidate getRatePlanCandidate(int index)
Get 'RatePlanCandidate' element item by position.

Parameters:
index -
Returns:
item

clearRatePlanCandidates

public void clearRatePlanCandidates()
Remove all 'RatePlanCandidate' element items.