org.ota.insurance
Class PlanRestriction

java.lang.Object
  extended by org.ota.insurance.PlanRestriction

public class PlanRestriction
extends java.lang.Object

Contains all restrictions to coverage by the quoted or booked plan. Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="PlanRestrictionType">
   <xs:sequence>
     <xs:element name="PlanRestriction" maxOccurs="99">
       <!-- Reference to inner class PlanRestrictionInner -->
     </xs:element>
   </xs:sequence>
 </xs:complexType>
 


Nested Class Summary
static class PlanRestriction.PlanRestrictionInner
          Schema fragment(s) for this class:
 
Constructor Summary
PlanRestriction()
           
 
Method Summary
 void addPlanRestriction(PlanRestriction.PlanRestrictionInner item)
          Add a 'PlanRestriction' element item.
 void clearPlanRestrictions()
          Remove all 'PlanRestriction' element items.
 PlanRestriction.PlanRestrictionInner getPlanRestriction(int index)
          Get 'PlanRestriction' element item by position.
 java.util.List<PlanRestriction.PlanRestrictionInner> getPlanRestrictions()
          Get the list of 'PlanRestriction' element items.
 void setPlanRestrictions(java.util.List<PlanRestriction.PlanRestrictionInner> list)
          Set the list of 'PlanRestriction' element items.
 int sizePlanRestrictions()
          Get the number of 'PlanRestriction' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlanRestriction

public PlanRestriction()
Method Detail

getPlanRestrictions

public java.util.List<PlanRestriction.PlanRestrictionInner> getPlanRestrictions()
Get the list of 'PlanRestriction' element items.

Returns:
list

setPlanRestrictions

public void setPlanRestrictions(java.util.List<PlanRestriction.PlanRestrictionInner> list)
Set the list of 'PlanRestriction' element items.

Parameters:
list -

sizePlanRestrictions

public int sizePlanRestrictions()
Get the number of 'PlanRestriction' element items.

Returns:
count

addPlanRestriction

public void addPlanRestriction(PlanRestriction.PlanRestrictionInner item)
Add a 'PlanRestriction' element item.

Parameters:
item -

getPlanRestriction

public PlanRestriction.PlanRestrictionInner getPlanRestriction(int index)
Get 'PlanRestriction' element item by position.

Parameters:
index -
Returns:
item

clearPlanRestrictions

public void clearPlanRestrictions()
Remove all 'PlanRestriction' element items.