org.ota.insurance
Class IndCoverageReqs.CoveredLuggage

java.lang.Object
  extended by org.ota.insurance.IndCoverageReqs.CoveredLuggage
Enclosing class:
IndCoverageReqs

public static class IndCoverageReqs.CoveredLuggage
extends java.lang.Object

Contains descriptions of luggage or equipment for which the traveler has requested additional baggage/equipment coverage (if offered by the insurance plan). 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="CoveredLuggage" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="LuggageItem" maxOccurs="99">
         <!-- Reference to inner class LuggageItem -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class IndCoverageReqs.CoveredLuggage.LuggageItem
          Contains a description and estimated value for a specific piece of luggage/equipment for which the traveler would like additional insurance.
 
Constructor Summary
IndCoverageReqs.CoveredLuggage()
           
 
Method Summary
 void addLuggageItem(IndCoverageReqs.CoveredLuggage.LuggageItem item)
          Add a 'LuggageItem' element item.
 void clearLuggageItems()
          Remove all 'LuggageItem' element items.
 IndCoverageReqs.CoveredLuggage.LuggageItem getLuggageItem(int index)
          Get 'LuggageItem' element item by position.
 java.util.List<IndCoverageReqs.CoveredLuggage.LuggageItem> getLuggageItems()
          Get the list of 'LuggageItem' element items.
 void setLuggageItems(java.util.List<IndCoverageReqs.CoveredLuggage.LuggageItem> list)
          Set the list of 'LuggageItem' element items.
 int sizeLuggageItems()
          Get the number of 'LuggageItem' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndCoverageReqs.CoveredLuggage

public IndCoverageReqs.CoveredLuggage()
Method Detail

getLuggageItems

public java.util.List<IndCoverageReqs.CoveredLuggage.LuggageItem> getLuggageItems()
Get the list of 'LuggageItem' element items.

Returns:
list

setLuggageItems

public void setLuggageItems(java.util.List<IndCoverageReqs.CoveredLuggage.LuggageItem> list)
Set the list of 'LuggageItem' element items.

Parameters:
list -

sizeLuggageItems

public int sizeLuggageItems()
Get the number of 'LuggageItem' element items.

Returns:
count

addLuggageItem

public void addLuggageItem(IndCoverageReqs.CoveredLuggage.LuggageItem item)
Add a 'LuggageItem' element item.

Parameters:
item -

getLuggageItem

public IndCoverageReqs.CoveredLuggage.LuggageItem getLuggageItem(int index)
Get 'LuggageItem' element item by position.

Parameters:
index -
Returns:
item

clearLuggageItems

public void clearLuggageItems()
Remove all 'LuggageItem' element items.