org.ota.air
Class FareDisplayRS.FareDisplayInfos.FareDisplayInfo.Restrictions

java.lang.Object
  extended by org.ota.air.FareDisplayRS.FareDisplayInfos.FareDisplayInfo.Restrictions
Enclosing class:
FareDisplayRS.FareDisplayInfos.FareDisplayInfo

public static class FareDisplayRS.FareDisplayInfos.FareDisplayInfo.Restrictions
extends java.lang.Object

Container for multiple restriction elements 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="Restrictions" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Restriction" maxOccurs="99">
         <!-- Reference to inner class Restriction -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class FareDisplayRS.FareDisplayInfos.FareDisplayInfo.Restrictions.Restriction
          Date time and flight restrictions.
 
Constructor Summary
FareDisplayRS.FareDisplayInfos.FareDisplayInfo.Restrictions()
           
 
Method Summary
 void addRestriction(FareDisplayRS.FareDisplayInfos.FareDisplayInfo.Restrictions.Restriction item)
          Add a 'Restriction' element item.
 void clearRestrictions()
          Remove all 'Restriction' element items.
 FareDisplayRS.FareDisplayInfos.FareDisplayInfo.Restrictions.Restriction getRestriction(int index)
          Get 'Restriction' element item by position.
 java.util.List<FareDisplayRS.FareDisplayInfos.FareDisplayInfo.Restrictions.Restriction> getRestrictions()
          Get the list of 'Restriction' element items.
 void setRestrictions(java.util.List<FareDisplayRS.FareDisplayInfos.FareDisplayInfo.Restrictions.Restriction> list)
          Set the list of 'Restriction' element items.
 int sizeRestrictions()
          Get the number of 'Restriction' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FareDisplayRS.FareDisplayInfos.FareDisplayInfo.Restrictions

public FareDisplayRS.FareDisplayInfos.FareDisplayInfo.Restrictions()
Method Detail

getRestrictions

public java.util.List<FareDisplayRS.FareDisplayInfos.FareDisplayInfo.Restrictions.Restriction> getRestrictions()
Get the list of 'Restriction' element items.

Returns:
list

setRestrictions

public void setRestrictions(java.util.List<FareDisplayRS.FareDisplayInfos.FareDisplayInfo.Restrictions.Restriction> list)
Set the list of 'Restriction' element items.

Parameters:
list -

sizeRestrictions

public int sizeRestrictions()
Get the number of 'Restriction' element items.

Returns:
count

addRestriction

public void addRestriction(FareDisplayRS.FareDisplayInfos.FareDisplayInfo.Restrictions.Restriction item)
Add a 'Restriction' element item.

Parameters:
item -

getRestriction

public FareDisplayRS.FareDisplayInfos.FareDisplayInfo.Restrictions.Restriction getRestriction(int index)
Get 'Restriction' element item by position.

Parameters:
index -
Returns:
item

clearRestrictions

public void clearRestrictions()
Remove all 'Restriction' element items.