org.ota.hotel
Class Features

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

public class Features
extends java.lang.Object

A collection of Feature. 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="FeaturesType">
   <xs:sequence>
     <xs:element name="Feature" maxOccurs="unbounded">
       <!-- Reference to inner class Feature -->
     </xs:element>
   </xs:sequence>
 </xs:complexType>
 


Nested Class Summary
static class Features.Feature
          Describes the security and physically challenged features that a hotel offers.
 
Constructor Summary
Features()
           
 
Method Summary
 void addFeature(Features.Feature item)
          Add a 'Feature' element item.
 void clearFeatures()
          Remove all 'Feature' element items.
 Features.Feature getFeature(int index)
          Get 'Feature' element item by position.
 java.util.List<Features.Feature> getFeatures()
          Get the list of 'Feature' element items.
 void setFeatures(java.util.List<Features.Feature> list)
          Set the list of 'Feature' element items.
 int sizeFeatures()
          Get the number of 'Feature' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Features

public Features()
Method Detail

getFeatures

public java.util.List<Features.Feature> getFeatures()
Get the list of 'Feature' element items.

Returns:
list

setFeatures

public void setFeatures(java.util.List<Features.Feature> list)
Set the list of 'Feature' element items.

Parameters:
list -

sizeFeatures

public int sizeFeatures()
Get the number of 'Feature' element items.

Returns:
count

addFeature

public void addFeature(Features.Feature item)
Add a 'Feature' element item.

Parameters:
item -

getFeature

public Features.Feature getFeature(int index)
Get 'Feature' element item by position.

Parameters:
index -
Returns:
item

clearFeatures

public void clearFeatures()
Remove all 'Feature' element items.