org.ota.tour
Class SearchRS.Tours

java.lang.Object
  extended by org.ota.tour.SearchRS.Tours
Enclosing class:
SearchRS

public static class SearchRS.Tours
extends java.lang.Object

A collection of tours satisfying the criteria supplied in the search request. 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="Tours" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:TourInformationType" name="Tour" maxOccurs="unbounded"/>
     </xs:sequence>
     <xs:attribute type="xs:string" use="optional" name="MoreDataEchoToken"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
SearchRS.Tours()
           
 
Method Summary
 void addTour(TourInformation item)
          Add a 'Tour' element item.
 void clearTours()
          Remove all 'Tour' element items.
 java.lang.String getMoreDataEchoToken()
          Get the 'MoreDataEchoToken' attribute value.
 TourInformation getTour(int index)
          Get 'Tour' element item by position.
 java.util.List<TourInformation> getTours()
          Get the list of 'Tour' element items.
 void setMoreDataEchoToken(java.lang.String moreDataEchoToken)
          Set the 'MoreDataEchoToken' attribute value.
 void setTours(java.util.List<TourInformation> list)
          Set the list of 'Tour' element items.
 int sizeTours()
          Get the number of 'Tour' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchRS.Tours

public SearchRS.Tours()
Method Detail

getTours

public java.util.List<TourInformation> getTours()
Get the list of 'Tour' element items. A tour satisfying the criteria supplied in the search request.

Returns:
list

setTours

public void setTours(java.util.List<TourInformation> list)
Set the list of 'Tour' element items. A tour satisfying the criteria supplied in the search request.

Parameters:
list -

sizeTours

public int sizeTours()
Get the number of 'Tour' element items.

Returns:
count

addTour

public void addTour(TourInformation item)
Add a 'Tour' element item.

Parameters:
item -

getTour

public TourInformation getTour(int index)
Get 'Tour' element item by position.

Parameters:
index -
Returns:
item

clearTours

public void clearTours()
Remove all 'Tour' element items.


getMoreDataEchoToken

public java.lang.String getMoreDataEchoToken()
Get the 'MoreDataEchoToken' attribute value. The response returns the attribute if there was additional data. The text value should be echoed in this request to indicate where to begin the next block of data.

Returns:
value

setMoreDataEchoToken

public void setMoreDataEchoToken(java.lang.String moreDataEchoToken)
Set the 'MoreDataEchoToken' attribute value. The response returns the attribute if there was additional data. The text value should be echoed in this request to indicate where to begin the next block of data.

Parameters:
moreDataEchoToken -