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

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

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

Container for time of day restrictions 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="TimeRestrictions" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="TimeRestriction" maxOccurs="10">
         <!-- Reference to inner class TimeRestriction -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class FareDisplayRS.FareDisplayInfos.FareDisplayInfo.Restrictions.Restriction.TimeRestrictions.TimeRestriction
          Allows fare contract to be restricted by time of day Schema fragment(s) for this class:
 
Constructor Summary
FareDisplayRS.FareDisplayInfos.FareDisplayInfo.Restrictions.Restriction.TimeRestrictions()
           
 
Method Summary
 void addTimeRestriction(FareDisplayRS.FareDisplayInfos.FareDisplayInfo.Restrictions.Restriction.TimeRestrictions.TimeRestriction item)
          Add a 'TimeRestriction' element item.
 void clearTimeRestrictions()
          Remove all 'TimeRestriction' element items.
 FareDisplayRS.FareDisplayInfos.FareDisplayInfo.Restrictions.Restriction.TimeRestrictions.TimeRestriction getTimeRestriction(int index)
          Get 'TimeRestriction' element item by position.
 java.util.List<FareDisplayRS.FareDisplayInfos.FareDisplayInfo.Restrictions.Restriction.TimeRestrictions.TimeRestriction> getTimeRestrictions()
          Get the list of 'TimeRestriction' element items.
 void setTimeRestrictions(java.util.List<FareDisplayRS.FareDisplayInfos.FareDisplayInfo.Restrictions.Restriction.TimeRestrictions.TimeRestriction> list)
          Set the list of 'TimeRestriction' element items.
 int sizeTimeRestrictions()
          Get the number of 'TimeRestriction' 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.Restriction.TimeRestrictions

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

getTimeRestrictions

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

Returns:
list

setTimeRestrictions

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

Parameters:
list -

sizeTimeRestrictions

public int sizeTimeRestrictions()
Get the number of 'TimeRestriction' element items.

Returns:
count

addTimeRestriction

public void addTimeRestriction(FareDisplayRS.FareDisplayInfos.FareDisplayInfo.Restrictions.Restriction.TimeRestrictions.TimeRestriction item)
Add a 'TimeRestriction' element item.

Parameters:
item -

getTimeRestriction

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

Parameters:
index -
Returns:
item

clearTimeRestrictions

public void clearTimeRestrictions()
Remove all 'TimeRestriction' element items.