org.ota.tour
Class TourInformation.Keywords

java.lang.Object
  extended by org.ota.tour.TourInformation.Keywords
Enclosing class:
TourInformation

public static class TourInformation.Keywords
extends java.lang.Object

A collection of keywords relevant to search for tours. 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="Keywords" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Keyword" maxOccurs="99">
         <!-- Reference to inner class Keyword -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class TourInformation.Keywords.Keyword
          Keyword relevant to search for tours.
 
Constructor Summary
TourInformation.Keywords()
           
 
Method Summary
 void addKeyword(TourInformation.Keywords.Keyword item)
          Add a 'Keyword' element item.
 void clearKeywords()
          Remove all 'Keyword' element items.
 TourInformation.Keywords.Keyword getKeyword(int index)
          Get 'Keyword' element item by position.
 java.util.List<TourInformation.Keywords.Keyword> getKeywords()
          Get the list of 'Keyword' element items.
 void setKeywords(java.util.List<TourInformation.Keywords.Keyword> list)
          Set the list of 'Keyword' element items.
 int sizeKeywords()
          Get the number of 'Keyword' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TourInformation.Keywords

public TourInformation.Keywords()
Method Detail

getKeywords

public java.util.List<TourInformation.Keywords.Keyword> getKeywords()
Get the list of 'Keyword' element items.

Returns:
list

setKeywords

public void setKeywords(java.util.List<TourInformation.Keywords.Keyword> list)
Set the list of 'Keyword' element items.

Parameters:
list -

sizeKeywords

public int sizeKeywords()
Get the number of 'Keyword' element items.

Returns:
count

addKeyword

public void addKeyword(TourInformation.Keywords.Keyword item)
Add a 'Keyword' element item.

Parameters:
item -

getKeyword

public TourInformation.Keywords.Keyword getKeyword(int index)
Get 'Keyword' element item by position.

Parameters:
index -
Returns:
item

clearKeywords

public void clearKeywords()
Remove all 'Keyword' element items.