org.ota.air
Class FareRestrictPrefGroup

java.lang.Object
  extended by org.ota.air.FareRestrictPrefGroup

public class FareRestrictPrefGroup
extends java.lang.Object

Identifies preferences for airfare restrictions acceptable or not acceptable for a given travel situation. Schema fragment(s) for this class:

 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="FareRestrictPrefGroup">
   <xs:attributeGroup ref="ns:PreferLevelGroup"/>
   <xs:attribute type="xs:string" use="optional" name="FareRestriction"/>
   <xs:attribute type="xs:string" use="optional" name="Date"/>
 </xs:attributeGroup>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="PreferLevelGroup">
   <xs:attribute type="ns:PreferLevelType" use="optional" name="PreferLevel"/>
 </xs:attributeGroup>
 


Constructor Summary
FareRestrictPrefGroup()
           
 
Method Summary
 java.lang.String getDate()
          Get the 'Date' attribute value.
 java.lang.String getFareRestriction()
          Get the 'FareRestriction' attribute value.
 PreferLevel getPreferLevel()
          Get the 'PreferLevel' attribute value.
 void setDate(java.lang.String date)
          Set the 'Date' attribute value.
 void setFareRestriction(java.lang.String fareRestriction)
          Set the 'FareRestriction' attribute value.
 void setPreferLevel(PreferLevel preferLevel)
          Set the 'PreferLevel' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FareRestrictPrefGroup

public FareRestrictPrefGroup()
Method Detail

getPreferLevel

public PreferLevel getPreferLevel()
Get the 'PreferLevel' attribute value. Used to indicate a level of preference for an associated item. Preferred

Returns:
value

setPreferLevel

public void setPreferLevel(PreferLevel preferLevel)
Set the 'PreferLevel' attribute value. Used to indicate a level of preference for an associated item. Preferred

Parameters:
preferLevel -

getFareRestriction

public java.lang.String getFareRestriction()
Get the 'FareRestriction' attribute value. Refer to OpenTravel Code List Fare Restriction (FAR).

Returns:
value

setFareRestriction

public void setFareRestriction(java.lang.String fareRestriction)
Set the 'FareRestriction' attribute value. Refer to OpenTravel Code List Fare Restriction (FAR).

Parameters:
fareRestriction -

getDate

public java.lang.String getDate()
Get the 'Date' attribute value. A date that is associated to the fare restriction.

Returns:
value

setDate

public void setDate(java.lang.String date)
Set the 'Date' attribute value. A date that is associated to the fare restriction.

Parameters:
date -