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

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

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

Allows fare contract to include or exclude date ranges 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="DateRestriction" minOccurs="0" maxOccurs="3">
   <xs:complexType>
     <xs:attribute type="ns:AirTripDirectionType" use="optional" name="Application"/>
     <xs:attribute type="xs:dateTime" use="required" name="StartDate"/>
     <xs:attribute type="xs:dateTime" use="required" name="EndDate"/>
     <xs:attribute type="xs:boolean" use="optional" name="IncludeIndicator"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
FareDisplayRS.FareDisplayInfos.FareDisplayInfo.Restrictions.Restriction.DateRestriction()
           
 
Method Summary
 AirTripDirection getApplication()
          Get the 'Application' attribute value.
 java.util.Date getEndDate()
          Get the 'EndDate' attribute value.
 java.lang.Boolean getIncludeIndicator()
          Get the 'IncludeIndicator' attribute value.
 java.util.Date getStartDate()
          Get the 'StartDate' attribute value.
 void setApplication(AirTripDirection application)
          Set the 'Application' attribute value.
 void setEndDate(java.util.Date endDate)
          Set the 'EndDate' attribute value.
 void setIncludeIndicator(java.lang.Boolean includeIndicator)
          Set the 'IncludeIndicator' attribute value.
 void setStartDate(java.util.Date startDate)
          Set the 'StartDate' 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.DateRestriction

public FareDisplayRS.FareDisplayInfos.FareDisplayInfo.Restrictions.Restriction.DateRestriction()
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 -

getStartDate

public java.util.Date getStartDate()
Get the 'StartDate' attribute value. The start of the date restriction.

Returns:
value

setStartDate

public void setStartDate(java.util.Date startDate)
Set the 'StartDate' attribute value. The start of the date restriction.

Parameters:
startDate -

getEndDate

public java.util.Date getEndDate()
Get the 'EndDate' attribute value. The end of the date restriction

Returns:
value

setEndDate

public void setEndDate(java.util.Date endDate)
Set the 'EndDate' attribute value. The end of the date restriction

Parameters:
endDate -

getIncludeIndicator

public java.lang.Boolean getIncludeIndicator()
Get the 'IncludeIndicator' attribute value. When true, the date restriction period should be included (i.e., travel allowed within those dates). When false, the date restriction period should be excluded (ie., no travel allowed within those dates)

Returns:
value

setIncludeIndicator

public void setIncludeIndicator(java.lang.Boolean includeIndicator)
Set the 'IncludeIndicator' attribute value. When true, the date restriction period should be included (i.e., travel allowed within those dates). When false, the date restriction period should be excluded (ie., no travel allowed within those dates)

Parameters:
includeIndicator -