org.ota.hotel
Class BookingRules.BookingRule.AcceptableGuarantees

java.lang.Object
  extended by org.ota.hotel.BookingRules.BookingRule.AcceptableGuarantees
Enclosing class:
BookingRules.BookingRule

public static class BookingRules.BookingRule.AcceptableGuarantees
extends java.lang.Object

A collection of accepted guarantees. 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="AcceptableGuarantees" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="AcceptableGuarantee" maxOccurs="unbounded">
         <!-- Reference to inner class AcceptableGuarantee -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class BookingRules.BookingRule.AcceptableGuarantees.AcceptableGuarantee
          The guarantee information.
 
Constructor Summary
BookingRules.BookingRule.AcceptableGuarantees()
           
 
Method Summary
 void addAcceptableGuarantee(BookingRules.BookingRule.AcceptableGuarantees.AcceptableGuarantee item)
          Add a 'AcceptableGuarantee' element item.
 void clearAcceptableGuarantees()
          Remove all 'AcceptableGuarantee' element items.
 BookingRules.BookingRule.AcceptableGuarantees.AcceptableGuarantee getAcceptableGuarantee(int index)
          Get 'AcceptableGuarantee' element item by position.
 java.util.List<BookingRules.BookingRule.AcceptableGuarantees.AcceptableGuarantee> getAcceptableGuarantees()
          Get the list of 'AcceptableGuarantee' element items.
 void setAcceptableGuarantees(java.util.List<BookingRules.BookingRule.AcceptableGuarantees.AcceptableGuarantee> list)
          Set the list of 'AcceptableGuarantee' element items.
 int sizeAcceptableGuarantees()
          Get the number of 'AcceptableGuarantee' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookingRules.BookingRule.AcceptableGuarantees

public BookingRules.BookingRule.AcceptableGuarantees()
Method Detail

getAcceptableGuarantees

public java.util.List<BookingRules.BookingRule.AcceptableGuarantees.AcceptableGuarantee> getAcceptableGuarantees()
Get the list of 'AcceptableGuarantee' element items.

Returns:
list

setAcceptableGuarantees

public void setAcceptableGuarantees(java.util.List<BookingRules.BookingRule.AcceptableGuarantees.AcceptableGuarantee> list)
Set the list of 'AcceptableGuarantee' element items.

Parameters:
list -

sizeAcceptableGuarantees

public int sizeAcceptableGuarantees()
Get the number of 'AcceptableGuarantee' element items.

Returns:
count

addAcceptableGuarantee

public void addAcceptableGuarantee(BookingRules.BookingRule.AcceptableGuarantees.AcceptableGuarantee item)
Add a 'AcceptableGuarantee' element item.

Parameters:
item -

getAcceptableGuarantee

public BookingRules.BookingRule.AcceptableGuarantees.AcceptableGuarantee getAcceptableGuarantee(int index)
Get 'AcceptableGuarantee' element item by position.

Parameters:
index -
Returns:
item

clearAcceptableGuarantees

public void clearAcceptableGuarantees()
Remove all 'AcceptableGuarantee' element items.