org.ota.hotel
Class InvCount.Inventory.InvCounts

java.lang.Object
  extended by org.ota.hotel.InvCount.Inventory.InvCounts
Enclosing class:
InvCount.Inventory

public static class InvCount.Inventory.InvCounts
extends java.lang.Object

A collection of inventory counts. 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="InvCounts" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="InvCount" maxOccurs="unbounded">
         <!-- Reference to inner class InvCountInner -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class InvCount.Inventory.InvCounts.InvCountInner
          Individual inventory count (e.g., Physical, Available, Sold, OOO, NAFS).
 
Constructor Summary
InvCount.Inventory.InvCounts()
           
 
Method Summary
 void addInvCount(InvCount.Inventory.InvCounts.InvCountInner item)
          Add a 'InvCount' element item.
 void clearInvCounts()
          Remove all 'InvCount' element items.
 InvCount.Inventory.InvCounts.InvCountInner getInvCount(int index)
          Get 'InvCount' element item by position.
 java.util.List<InvCount.Inventory.InvCounts.InvCountInner> getInvCounts()
          Get the list of 'InvCount' element items.
 void setInvCounts(java.util.List<InvCount.Inventory.InvCounts.InvCountInner> list)
          Set the list of 'InvCount' element items.
 int sizeInvCounts()
          Get the number of 'InvCount' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvCount.Inventory.InvCounts

public InvCount.Inventory.InvCounts()
Method Detail

getInvCounts

public java.util.List<InvCount.Inventory.InvCounts.InvCountInner> getInvCounts()
Get the list of 'InvCount' element items.

Returns:
list

setInvCounts

public void setInvCounts(java.util.List<InvCount.Inventory.InvCounts.InvCountInner> list)
Set the list of 'InvCount' element items.

Parameters:
list -

sizeInvCounts

public int sizeInvCounts()
Get the number of 'InvCount' element items.

Returns:
count

addInvCount

public void addInvCount(InvCount.Inventory.InvCounts.InvCountInner item)
Add a 'InvCount' element item.

Parameters:
item -

getInvCount

public InvCount.Inventory.InvCounts.InvCountInner getInvCount(int index)
Get 'InvCount' element item by position.

Parameters:
index -
Returns:
item

clearInvCounts

public void clearInvCounts()
Remove all 'InvCount' element items.