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

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

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

Allows Fare Contract to be restricted to certain days of the week for outbound, return or all journey directions 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="DaysOfWeekRestriction" minOccurs="0" maxOccurs="3">
   <xs:complexType>
     <xs:attribute type="ns:AirTripDirectionType" use="optional" name="Application"/>
     <xs:attribute type="ns:AirTripType" use="optional" name="TripType"/>
     <xs:attribute type="xs:boolean" use="optional" name="RestrictionExistsInd"/>
     <xs:attribute type="xs:boolean" use="optional" name="IncludeExcludeUseInd"/>
     <xs:attributeGroup ref="ns:DOW_PatternGroup"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
FareDisplayRS.FareDisplayInfos.FareDisplayInfo.Restrictions.Restriction.DaysOfWeekRestriction()
           
 
Method Summary
 AirTripDirection getApplication()
          Get the 'Application' attribute value.
 DOWPatternGroup getDOWPatternGroup()
          Get the 'DOW_PatternGroup' attributeGroup value.
 java.lang.Boolean getIncludeExcludeUseInd()
          Get the 'IncludeExcludeUseInd' attribute value.
 java.lang.Boolean getRestrictionExistsInd()
          Get the 'RestrictionExistsInd' attribute value.
 AirTrip getTrip()
          Get the 'TripType' attribute value.
 void setApplication(AirTripDirection application)
          Set the 'Application' attribute value.
 void setDOWPatternGroup(DOWPatternGroup DOWPatternGroup)
          Set the 'DOW_PatternGroup' attributeGroup value.
 void setIncludeExcludeUseInd(java.lang.Boolean includeExcludeUseInd)
          Set the 'IncludeExcludeUseInd' attribute value.
 void setRestrictionExistsInd(java.lang.Boolean restrictionExistsInd)
          Set the 'RestrictionExistsInd' attribute value.
 void setTrip(AirTrip trip)
          Set the 'TripType' attribute value.
 
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.DaysOfWeekRestriction

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

getApplication

public AirTripDirection getApplication()
Get the 'Application' attribute value. Identify whether the restriction applies to the outbound , return or both trip directions

Returns:
value

setApplication

public void setApplication(AirTripDirection application)
Set the 'Application' attribute value. Identify whether the restriction applies to the outbound , return or both trip directions

Parameters:
application -

getTrip

public AirTrip getTrip()
Get the 'TripType' attribute value. Indicate the type of trip to which the restriction applies

Returns:
value

setTrip

public void setTrip(AirTrip trip)
Set the 'TripType' attribute value. Indicate the type of trip to which the restriction applies

Parameters:
trip -

getRestrictionExistsInd

public java.lang.Boolean getRestrictionExistsInd()
Get the 'RestrictionExistsInd' attribute value. When true, indicates that a day of week restriction applies.

Returns:
value

setRestrictionExistsInd

public void setRestrictionExistsInd(java.lang.Boolean restrictionExistsInd)
Set the 'RestrictionExistsInd' attribute value. When true, indicates that a day of week restriction applies.

Parameters:
restrictionExistsInd -

getIncludeExcludeUseInd

public java.lang.Boolean getIncludeExcludeUseInd()
Get the 'IncludeExcludeUseInd' attribute value. When true, the days of week should be included (i.e. travel allowed on those days)When false, the days of week should be excluded (i.e. no travel allowed on those days)

Returns:
value

setIncludeExcludeUseInd

public void setIncludeExcludeUseInd(java.lang.Boolean includeExcludeUseInd)
Set the 'IncludeExcludeUseInd' attribute value. When true, the days of week should be included (i.e. travel allowed on those days)When false, the days of week should be excluded (i.e. no travel allowed on those days)

Parameters:
includeExcludeUseInd -

getDOWPatternGroup

public DOWPatternGroup getDOWPatternGroup()
Get the 'DOW_PatternGroup' attributeGroup value. Identify the days on which travel is allowed or disallowed

Returns:
value

setDOWPatternGroup

public void setDOWPatternGroup(DOWPatternGroup DOWPatternGroup)
Set the 'DOW_PatternGroup' attributeGroup value. Identify the days on which travel is allowed or disallowed

Parameters:
DOWPatternGroup -