org.ota.itin
Class TravelSegment.Reservation.RatePlans.RatePlan.Sequence

java.lang.Object
  extended by org.ota.itin.TravelSegment.Reservation.RatePlans.RatePlan.Sequence
Enclosing class:
TravelSegment.Reservation.RatePlans.RatePlan

public static class TravelSegment.Reservation.RatePlans.RatePlan.Sequence
extends java.lang.Object

Schema fragment(s) for this class:

 <xs:sequence xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" minOccurs="0">
   <xs:element type="ns:GuaranteeType" name="Guarantee" minOccurs="0" maxOccurs="5"/>
   <xs:element type="ns:ParagraphType" name="RatePlanDescription" minOccurs="0"/>
 </xs:sequence>
 


Constructor Summary
TravelSegment.Reservation.RatePlans.RatePlan.Sequence()
           
 
Method Summary
 void addGuarantee(Guarantee item)
          Add a 'Guarantee' element item.
 void clearGuarantees()
          Remove all 'Guarantee' element items.
 Guarantee getGuarantee(int index)
          Get 'Guarantee' element item by position.
 java.util.List<Guarantee> getGuarantees()
          Get the list of 'Guarantee' element items.
 Paragraph getRatePlanDescription()
          Get the 'RatePlanDescription' element value.
 void setGuarantees(java.util.List<Guarantee> list)
          Set the list of 'Guarantee' element items.
 void setRatePlanDescription(Paragraph ratePlanDescription)
          Set the 'RatePlanDescription' element value.
 int sizeGuarantees()
          Get the number of 'Guarantee' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TravelSegment.Reservation.RatePlans.RatePlan.Sequence

public TravelSegment.Reservation.RatePlans.RatePlan.Sequence()
Method Detail

getGuarantees

public java.util.List<Guarantee> getGuarantees()
Get the list of 'Guarantee' element items. Guarantee information that applies to the rate plan. A maximum of 5 occurances are available for use depending on the context.

Returns:
list

setGuarantees

public void setGuarantees(java.util.List<Guarantee> list)
Set the list of 'Guarantee' element items. Guarantee information that applies to the rate plan. A maximum of 5 occurances are available for use depending on the context.

Parameters:
list -

sizeGuarantees

public int sizeGuarantees()
Get the number of 'Guarantee' element items.

Returns:
count

addGuarantee

public void addGuarantee(Guarantee item)
Add a 'Guarantee' element item.

Parameters:
item -

getGuarantee

public Guarantee getGuarantee(int index)
Get 'Guarantee' element item by position.

Parameters:
index -
Returns:
item

clearGuarantees

public void clearGuarantees()
Remove all 'Guarantee' element items.


getRatePlanDescription

public Paragraph getRatePlanDescription()
Get the 'RatePlanDescription' element value. Describes the rate plan.

Returns:
value

setRatePlanDescription

public void setRatePlanDescription(Paragraph ratePlanDescription)
Set the 'RatePlanDescription' element value. Describes the rate plan.

Parameters:
ratePlanDescription -