org.ota.pkg
Class BookRS.Transactions

java.lang.Object
  extended by org.ota.pkg.BookRS.Transactions
Enclosing class:
BookRS

public static class BookRS.Transactions
extends java.lang.Object

Details of each transaction posted against a reservation. Schema fragment(s) for this class:

 <xs:element xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Transactions" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="TransactionType" name="Transaction" maxOccurs="99">
         <!-- Reference to inner class Transaction -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class BookRS.Transactions.Transaction
          Details of a transaction posted against a reservation.
 
Constructor Summary
BookRS.Transactions()
           
 
Method Summary
 void addTransaction(BookRS.Transactions.Transaction item)
          Add a 'Transaction' element item.
 void clearTransactions()
          Remove all 'Transaction' element items.
 BookRS.Transactions.Transaction getTransaction(int index)
          Get 'Transaction' element item by position.
 java.util.List<BookRS.Transactions.Transaction> getTransactions()
          Get the list of 'Transaction' element items.
 void setTransactions(java.util.List<BookRS.Transactions.Transaction> list)
          Set the list of 'Transaction' element items.
 int sizeTransactions()
          Get the number of 'Transaction' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookRS.Transactions

public BookRS.Transactions()
Method Detail

getTransactions

public java.util.List<BookRS.Transactions.Transaction> getTransactions()
Get the list of 'Transaction' element items.

Returns:
list

setTransactions

public void setTransactions(java.util.List<BookRS.Transactions.Transaction> list)
Set the list of 'Transaction' element items.

Parameters:
list -

sizeTransactions

public int sizeTransactions()
Get the number of 'Transaction' element items.

Returns:
count

addTransaction

public void addTransaction(BookRS.Transactions.Transaction item)
Add a 'Transaction' element item.

Parameters:
item -

getTransaction

public BookRS.Transactions.Transaction getTransaction(int index)
Get 'Transaction' element item by position.

Parameters:
index -
Returns:
item

clearTransactions

public void clearTransactions()
Remove all 'Transaction' element items.