org.ota.pkg
Class BookRS.OwnInsuranceChoices

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

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

A collection of insurance policy details supplied by the customers. 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="OwnInsuranceChoices" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:OwnInsuranceChoiceType" name="OwnInsuranceChoice" maxOccurs="9"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
BookRS.OwnInsuranceChoices()
           
 
Method Summary
 void addOwnInsuranceChoice(OwnInsuranceChoice item)
          Add a 'OwnInsuranceChoice' element item.
 void clearOwnInsuranceChoices()
          Remove all 'OwnInsuranceChoice' element items.
 OwnInsuranceChoice getOwnInsuranceChoice(int index)
          Get 'OwnInsuranceChoice' element item by position.
 java.util.List<OwnInsuranceChoice> getOwnInsuranceChoices()
          Get the list of 'OwnInsuranceChoice' element items.
 void setOwnInsuranceChoices(java.util.List<OwnInsuranceChoice> list)
          Set the list of 'OwnInsuranceChoice' element items.
 int sizeOwnInsuranceChoices()
          Get the number of 'OwnInsuranceChoice' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookRS.OwnInsuranceChoices

public BookRS.OwnInsuranceChoices()
Method Detail

getOwnInsuranceChoices

public java.util.List<OwnInsuranceChoice> getOwnInsuranceChoices()
Get the list of 'OwnInsuranceChoice' element items. Details of the insurance company from whom the customer has purchased a policy to cover the holiday

Returns:
list

setOwnInsuranceChoices

public void setOwnInsuranceChoices(java.util.List<OwnInsuranceChoice> list)
Set the list of 'OwnInsuranceChoice' element items. Details of the insurance company from whom the customer has purchased a policy to cover the holiday

Parameters:
list -

sizeOwnInsuranceChoices

public int sizeOwnInsuranceChoices()
Get the number of 'OwnInsuranceChoice' element items.

Returns:
count

addOwnInsuranceChoice

public void addOwnInsuranceChoice(OwnInsuranceChoice item)
Add a 'OwnInsuranceChoice' element item.

Parameters:
item -

getOwnInsuranceChoice

public OwnInsuranceChoice getOwnInsuranceChoice(int index)
Get 'OwnInsuranceChoice' element item by position.

Parameters:
index -
Returns:
item

clearOwnInsuranceChoices

public void clearOwnInsuranceChoices()
Remove all 'OwnInsuranceChoice' element items.