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

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

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

Allows fare contract to be restricted by time of day 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="TimeRestriction" maxOccurs="10">
   <xs:complexType>
     <xs:attribute type="xs:time" use="required" name="StartTime"/>
     <xs:attribute type="xs:time" use="required" name="EndTime"/>
     <xs:attribute type="xs:boolean" use="optional" name="IncludeExcludeUseInd"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
FareDisplayRS.FareDisplayInfos.FareDisplayInfo.Restrictions.Restriction.TimeRestrictions.TimeRestriction()
           
 
Method Summary
 java.sql.Time getEndTime()
          Get the 'EndTime' attribute value.
 java.lang.Boolean getIncludeExcludeUseInd()
          Get the 'IncludeExcludeUseInd' attribute value.
 java.sql.Time getStartTime()
          Get the 'StartTime' attribute value.
 void setEndTime(java.sql.Time endTime)
          Set the 'EndTime' attribute value.
 void setIncludeExcludeUseInd(java.lang.Boolean includeExcludeUseInd)
          Set the 'IncludeExcludeUseInd' attribute value.
 void setStartTime(java.sql.Time startTime)
          Set the 'StartTime' 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.TimeRestrictions.TimeRestriction

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

getStartTime

public java.sql.Time getStartTime()
Get the 'StartTime' attribute value. The start time for the time restriction

Returns:
value

setStartTime

public void setStartTime(java.sql.Time startTime)
Set the 'StartTime' attribute value. The start time for the time restriction

Parameters:
startTime -

getEndTime

public java.sql.Time getEndTime()
Get the 'EndTime' attribute value. The end time for the time restriction

Returns:
value

setEndTime

public void setEndTime(java.sql.Time endTime)
Set the 'EndTime' attribute value. The end time for the time restriction

Parameters:
endTime -

getIncludeExcludeUseInd

public java.lang.Boolean getIncludeExcludeUseInd()
Get the 'IncludeExcludeUseInd' attribute value. When true, the time restriction period should be included (i.e. travel allowed between the start and end times)When false, the time restriction period should be excluded (i.e. no travel allowed between the start and end times)

Returns:
value

setIncludeExcludeUseInd

public void setIncludeExcludeUseInd(java.lang.Boolean includeExcludeUseInd)
Set the 'IncludeExcludeUseInd' attribute value. When true, the time restriction period should be included (i.e. travel allowed between the start and end times)When false, the time restriction period should be excluded (i.e. no travel allowed between the start and end times)

Parameters:
includeExcludeUseInd -