org.ota.hotel
Class AvailRS.Criteria

java.lang.Object
  extended by org.ota.hotel.AvailRS.Criteria
Enclosing class:
AvailRS

public static class AvailRS.Criteria
extends java.lang.Object

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="Criteria" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:HotelSearchCriterionType" name="Criterion" maxOccurs="unbounded"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
AvailRS.Criteria()
           
 
Method Summary
 void addCriterion(HotelSearchCriterion item)
          Add a 'Criterion' element item.
 void clearCriterions()
          Remove all 'Criterion' element items.
 HotelSearchCriterion getCriterion(int index)
          Get 'Criterion' element item by position.
 java.util.List<HotelSearchCriterion> getCriterions()
          Get the list of 'Criterion' element items.
 void setCriterions(java.util.List<HotelSearchCriterion> list)
          Set the list of 'Criterion' element items.
 int sizeCriterions()
          Get the number of 'Criterion' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvailRS.Criteria

public AvailRS.Criteria()
Method Detail

getCriterions

public java.util.List<HotelSearchCriterion> getCriterions()
Get the list of 'Criterion' element items.

Returns:
list

setCriterions

public void setCriterions(java.util.List<HotelSearchCriterion> list)
Set the list of 'Criterion' element items.

Parameters:
list -

sizeCriterions

public int sizeCriterions()
Get the number of 'Criterion' element items.

Returns:
count

addCriterion

public void addCriterion(HotelSearchCriterion item)
Add a 'Criterion' element item.

Parameters:
item -

getCriterion

public HotelSearchCriterion getCriterion(int index)
Get 'Criterion' element item by position.

Parameters:
index -
Returns:
item

clearCriterions

public void clearCriterions()
Remove all 'Criterion' element items.