org.ota.air
Class StayRestrictions.Sequence.MaximumStay

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

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

Specifies restrictions for the longest length/period of time or last day to begin or complete the return. 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="MaximumStay" minOccurs="0">
   <xs:complexType>
     <xs:attribute use="optional" name="ReturnType">
       <xs:simpleType>
         <!-- Reference to inner class _return -->
       </xs:simpleType>
     </xs:attribute>
     <xs:attribute type="xs:string" use="optional" name="ReturnTimeOfDay"/>
     <xs:attribute type="xs:int" use="optional" name="MaxStay"/>
     <xs:attribute type="ns:StayUnitType" use="optional" name="StayUnit"/>
     <xs:attribute type="xs:string" use="optional" name="MaxStayDate"/>
     <xs:attribute type="xs:boolean" use="optional" name="ComplicatedRulesInd"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class StayRestrictions.Sequence.MaximumStay._return
          Schema fragment(s) for this class:
 
Constructor Summary
StayRestrictions.Sequence.MaximumStay()
           
 
Method Summary
 java.lang.Boolean getComplicatedRulesInd()
          Get the 'ComplicatedRulesInd' attribute value.
 java.lang.Integer getMaxStay()
          Get the 'MaxStay' attribute value.
 java.lang.String getMaxStayDate()
          Get the 'MaxStayDate' attribute value.
 StayRestrictions.Sequence.MaximumStay._return getReturn1()
          Get the 'ReturnType' 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 setMaxStay(java.lang.Integer maxStay)
          Set the 'MaxStay' attribute value.
 void setMaxStayDate(java.lang.String maxStayDate)
          Set the 'MaxStayDate' attribute value.
 void setReturn1(StayRestrictions.Sequence.MaximumStay._return _return1)
          Set the 'ReturnType' 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.MaximumStay

public StayRestrictions.Sequence.MaximumStay()
Method Detail

getReturn1

public StayRestrictions.Sequence.MaximumStay._return getReturn1()
Get the 'ReturnType' attribute value. Code indicating whether travel must commence or be completed in order to satisfy the stay restriction.

Returns:
value

setReturn1

public void setReturn1(StayRestrictions.Sequence.MaximumStay._return _return1)
Set the 'ReturnType' attribute value. Code indicating whether travel must commence or be completed in order to satisfy the stay restriction.

Parameters:
_return1 -

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 -

getMaxStay

public java.lang.Integer getMaxStay()
Get the 'MaxStay' attribute value. The amount of elapsed time or number of occurrences of a day of the week that must occur to satisfy a maximum stay requirement.

Returns:
value

setMaxStay

public void setMaxStay(java.lang.Integer maxStay)
Set the 'MaxStay' attribute value. The amount of elapsed time or number of occurrences of a day of the week that must occur to satisfy a maximum stay requirement.

Parameters:
maxStay -

getStayUnit

public StayUnit getStayUnit()
Get the 'StayUnit' attribute value. The unit of elapsed time or the day of the week applied to the MaxStay 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 MaxStay value.

Parameters:
stayUnit -

getMaxStayDate

public java.lang.String getMaxStayDate()
Get the 'MaxStayDate' attribute value. The specific date for the maximum stay requirement.

Returns:
value

setMaxStayDate

public void setMaxStayDate(java.lang.String maxStayDate)
Set the 'MaxStayDate' attribute value. The specific date for the maximum stay requirement.

Parameters:
maxStayDate -

getComplicatedRulesInd

public java.lang.Boolean getComplicatedRulesInd()
Get the 'ComplicatedRulesInd' attribute value. If true, there are complicated rules for the maximum 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 maximum stay requirement.

Parameters:
complicatedRulesInd -