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

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

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

Seasonal information for this fare. 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="SeasonalInfo" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="SeasonalRange" minOccurs="0" maxOccurs="2">
         <!-- Reference to inner class SeasonalRange -->
       </xs:element>
     </xs:sequence>
     <xs:attribute use="optional" name="Comment">
       <xs:simpleType>
         <!-- Reference to inner class Comment -->
       </xs:simpleType>
     </xs:attribute>
     <xs:attribute type="xs:boolean" use="optional" name="VariationByDatesExistInd"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.Comment
          Schema fragment(s) for this class:
static class FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.SeasonalRange
          The date range for the season.
 
Constructor Summary
FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo()
           
 
Method Summary
 void addSeasonalRange(FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.SeasonalRange item)
          Add a 'SeasonalRange' element item.
 void clearSeasonalRanges()
          Remove all 'SeasonalRange' element items.
 FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.Comment getComment()
          Get the 'Comment' attribute value.
 FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.SeasonalRange getSeasonalRange(int index)
          Get 'SeasonalRange' element item by position.
 java.util.List<FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.SeasonalRange> getSeasonalRanges()
          Get the list of 'SeasonalRange' element items.
 java.lang.Boolean getVariationByDatesExistInd()
          Get the 'VariationByDatesExistInd' attribute value.
 void setComment(FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.Comment comment)
          Set the 'Comment' attribute value.
 void setSeasonalRanges(java.util.List<FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.SeasonalRange> list)
          Set the list of 'SeasonalRange' element items.
 void setVariationByDatesExistInd(java.lang.Boolean variationByDatesExistInd)
          Set the 'VariationByDatesExistInd' attribute value.
 int sizeSeasonalRanges()
          Get the number of 'SeasonalRange' 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.SeasonalInfo

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

getSeasonalRanges

public java.util.List<FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.SeasonalRange> getSeasonalRanges()
Get the list of 'SeasonalRange' element items.

Returns:
list

setSeasonalRanges

public void setSeasonalRanges(java.util.List<FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.SeasonalRange> list)
Set the list of 'SeasonalRange' element items.

Parameters:
list -

sizeSeasonalRanges

public int sizeSeasonalRanges()
Get the number of 'SeasonalRange' element items.

Returns:
count

addSeasonalRange

public void addSeasonalRange(FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.SeasonalRange item)
Add a 'SeasonalRange' element item.

Parameters:
item -

getSeasonalRange

public FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.SeasonalRange getSeasonalRange(int index)
Get 'SeasonalRange' element item by position.

Parameters:
index -
Returns:
item

clearSeasonalRanges

public void clearSeasonalRanges()
Remove all 'SeasonalRange' element items.


getComment

public FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.Comment getComment()
Get the 'Comment' attribute value. Seasonal comment information associated with the fare.

Returns:
value

setComment

public void setComment(FareDisplayRS.FareDisplayInfos.FareDisplayInfo.SeasonalInfo.Comment comment)
Set the 'Comment' attribute value. Seasonal comment information associated with the fare.

Parameters:
comment -

getVariationByDatesExistInd

public java.lang.Boolean getVariationByDatesExistInd()
Get the 'VariationByDatesExistInd' attribute value. If true, there is a variation in the fare by the seasonal dates.

Returns:
value

setVariationByDatesExistInd

public void setVariationByDatesExistInd(java.lang.Boolean variationByDatesExistInd)
Set the 'VariationByDatesExistInd' attribute value. If true, there is a variation in the fare by the seasonal dates.

Parameters:
variationByDatesExistInd -