org.ota.air
Class StayRestrictions.Sequence.MinimumStay

java.lang.Object
  extended by org.ota.air.StayRestrictions.Sequence.MinimumStay
Enclosing class:
StayRestrictions.Sequence

public static class StayRestrictions.Sequence.MinimumStay
extends java.lang.Object

Specifies restrictions for the shortest length/period of time or earliest day return travel can commence or be completed. 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="MinimumStay" minOccurs="0">
   <xs:complexType>
     <xs:attribute type="xs:string" use="optional" name="ReturnTimeOfDay"/>
     <xs:attribute type="xs:int" use="optional" name="MinStay"/>
     <xs:attribute type="ns:StayUnitType" use="optional" name="StayUnit"/>
     <xs:attribute type="xs:string" use="optional" name="MinStayDate"/>
     <xs:attribute type="xs:boolean" use="optional" name="ComplicatedRulesInd"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
StayRestrictions.Sequence.MinimumStay()
           
 
Method Summary
 java.lang.Boolean getComplicatedRulesInd()
          Get the 'ComplicatedRulesInd' attribute value.
 java.lang.Integer getMinStay()
          Get the 'MinStay' attribute value.
 java.lang.String getMinStayDate()
          Get the 'MinStayDate' attribute value.
 java.lang.String getReturnTimeOfDay()
          Get the 'ReturnTimeOfDay' attribute value.
 StayUnit getStayUnit()
          Get the 'StayUnit' attribute value.
 void setComplicatedRulesInd(java.lang.Boolean complicatedRulesInd)
          Set the 'ComplicatedRulesInd' attribute value.
 void setMinStay(java.lang.Integer minStay)
          Set the 'MinStay' attribute value.
 void setMinStayDate(java.lang.String minStayDate)
          Set the 'MinStayDate' attribute value.
 void setReturnTimeOfDay(java.lang.String returnTimeOfDay)
          Set the 'ReturnTimeOfDay' attribute value.
 void setStayUnit(StayUnit stayUnit)
          Set the 'StayUnit' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StayRestrictions.Sequence.MinimumStay

public StayRestrictions.Sequence.MinimumStay()
Method Detail

getReturnTimeOfDay

public java.lang.String getReturnTimeOfDay()
Get the 'ReturnTimeOfDay' attribute value. The time of day when return travel may commence.

Returns:
value

setReturnTimeOfDay

public void setReturnTimeOfDay(java.lang.String returnTimeOfDay)
Set the 'ReturnTimeOfDay' attribute value. The time of day when return travel may commence.

Parameters:
returnTimeOfDay -

getMinStay

public java.lang.Integer getMinStay()
Get the 'MinStay' attribute value. The amount of elapsed time or number of occurrences of a day of the week needed to satisfy a minimum stay requirement.

Returns:
value

setMinStay

public void setMinStay(java.lang.Integer minStay)
Set the 'MinStay' attribute value. The amount of elapsed time or number of occurrences of a day of the week needed to satisfy a minimum stay requirement.

Parameters:
minStay -

getStayUnit

public StayUnit getStayUnit()
Get the 'StayUnit' attribute value. The unit of elapsed time or the day of the week applied to the MinStay value.

Returns:
value

setStayUnit

public void setStayUnit(StayUnit stayUnit)
Set the 'StayUnit' attribute value. The unit of elapsed time or the day of the week applied to the MinStay value.

Parameters:
stayUnit -

getMinStayDate

public java.lang.String getMinStayDate()
Get the 'MinStayDate' attribute value. The specific date for the minimum stay requirement.

Returns:
value

setMinStayDate

public void setMinStayDate(java.lang.String minStayDate)
Set the 'MinStayDate' attribute value. The specific date for the minimum stay requirement.

Parameters:
minStayDate -

getComplicatedRulesInd

public java.lang.Boolean getComplicatedRulesInd()
Get the 'ComplicatedRulesInd' attribute value. If true, there are complicated rules for the minimum stay requirement.

Returns:
value

setComplicatedRulesInd

public void setComplicatedRulesInd(java.lang.Boolean complicatedRulesInd)
Set the 'ComplicatedRulesInd' attribute value. If true, there are complicated rules for the minimum stay requirement.

Parameters:
complicatedRulesInd -