org.ota.hotel
Class SellableProducts

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

public class SellableProducts
extends java.lang.Object

The SellableProduct class defines the inventoried item for this rate plan. 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="SellableProductsType">
   <xs:sequence>
     <xs:element name="SellableProduct" maxOccurs="unbounded">
       <!-- Reference to inner class SellableProduct -->
     </xs:element>
   </xs:sequence>
 </xs:complexType>
 


Nested Class Summary
static class SellableProducts.SellableProduct
          The individual sellable product.
 
Constructor Summary
SellableProducts()
           
 
Method Summary
 void addSellableProduct(SellableProducts.SellableProduct item)
          Add a 'SellableProduct' element item.
 void clearSellableProducts()
          Remove all 'SellableProduct' element items.
 SellableProducts.SellableProduct getSellableProduct(int index)
          Get 'SellableProduct' element item by position.
 java.util.List<SellableProducts.SellableProduct> getSellableProducts()
          Get the list of 'SellableProduct' element items.
 void setSellableProducts(java.util.List<SellableProducts.SellableProduct> list)
          Set the list of 'SellableProduct' element items.
 int sizeSellableProducts()
          Get the number of 'SellableProduct' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SellableProducts

public SellableProducts()
Method Detail

getSellableProducts

public java.util.List<SellableProducts.SellableProduct> getSellableProducts()
Get the list of 'SellableProduct' element items.

Returns:
list

setSellableProducts

public void setSellableProducts(java.util.List<SellableProducts.SellableProduct> list)
Set the list of 'SellableProduct' element items.

Parameters:
list -

sizeSellableProducts

public int sizeSellableProducts()
Get the number of 'SellableProduct' element items.

Returns:
count

addSellableProduct

public void addSellableProduct(SellableProducts.SellableProduct item)
Add a 'SellableProduct' element item.

Parameters:
item -

getSellableProduct

public SellableProducts.SellableProduct getSellableProduct(int index)
Get 'SellableProduct' element item by position.

Parameters:
index -
Returns:
item

clearSellableProducts

public void clearSellableProducts()
Remove all 'SellableProduct' element items.