org.ota.air
Class AdvResTicketing.Sequence.AdvReservation

java.lang.Object
  extended by org.ota.air.AdvResTicketing.Sequence.AdvReservation
Enclosing class:
AdvResTicketing.Sequence

public static class AdvResTicketing.Sequence.AdvReservation
extends java.lang.Object

Specifies constraints on when advance reservations can be made. 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="AdvReservation" minOccurs="0">
   <xs:complexType>
     <xs:attribute type="xs:string" use="optional" name="LatestTimeOfDay"/>
     <xs:attribute type="xs:string" use="optional" name="LatestPeriod"/>
     <xs:attribute type="ns:StayUnitType" use="optional" name="LatestUnit"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
AdvResTicketing.Sequence.AdvReservation()
           
 
Method Summary
 java.lang.String getLatestPeriod()
          Get the 'LatestPeriod' attribute value.
 java.lang.String getLatestTimeOfDay()
          Get the 'LatestTimeOfDay' attribute value.
 StayUnit getLatestUnit()
          Get the 'LatestUnit' attribute value.
 void setLatestPeriod(java.lang.String latestPeriod)
          Set the 'LatestPeriod' attribute value.
 void setLatestTimeOfDay(java.lang.String latestTimeOfDay)
          Set the 'LatestTimeOfDay' attribute value.
 void setLatestUnit(StayUnit latestUnit)
          Set the 'LatestUnit' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdvResTicketing.Sequence.AdvReservation

public AdvResTicketing.Sequence.AdvReservation()
Method Detail

getLatestTimeOfDay

public java.lang.String getLatestTimeOfDay()
Get the 'LatestTimeOfDay' attribute value. The time of day by which reservations must be made on the last day that advance reservations can be made.

Returns:
value

setLatestTimeOfDay

public void setLatestTimeOfDay(java.lang.String latestTimeOfDay)
Set the 'LatestTimeOfDay' attribute value. The time of day by which reservations must be made on the last day that advance reservations can be made.

Parameters:
latestTimeOfDay -

getLatestPeriod

public java.lang.String getLatestPeriod()
Get the 'LatestPeriod' attribute value. The amount of elapsed time or number of occurrences of a day of the week before departure needed to satisfy an advance reservation requirement.

Returns:
value

setLatestPeriod

public void setLatestPeriod(java.lang.String latestPeriod)
Set the 'LatestPeriod' attribute value. The amount of elapsed time or number of occurrences of a day of the week before departure needed to satisfy an advance reservation requirement.

Parameters:
latestPeriod -

getLatestUnit

public StayUnit getLatestUnit()
Get the 'LatestUnit' attribute value. The unit of elapsed time or the day of the week to be applied to the LatestPeriod value.

Returns:
value

setLatestUnit

public void setLatestUnit(StayUnit latestUnit)
Set the 'LatestUnit' attribute value. The unit of elapsed time or the day of the week to be applied to the LatestPeriod value.

Parameters:
latestUnit -