org.ota.tour
Class TourInformation.Departures.DepartureSchedule

java.lang.Object
  extended by org.ota.shared.OperationSchedule
      extended by org.ota.shared.OperationSchedulePlusCharge
          extended by org.ota.tour.TourInformation.Departures.DepartureSchedule
Enclosing class:
TourInformation.Departures

public static class TourInformation.Departures.DepartureSchedule
extends OperationSchedulePlusCharge

Departure dates and times. 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="DepartureSchedule" minOccurs="0" maxOccurs="366">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:OperationSchedulePlusChargeType">
         <xs:attribute type="xs:string" use="optional" name="PeriodTitle"/>
         <xs:attribute type="xs:string" use="optional" name="InfoType"/>
         <xs:attribute type="xs:boolean" use="optional" name="HasAvailabilityInd"/>
         <xs:attribute type="xs:int" use="optional" name="Availability"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
 
Nested classes/interfaces inherited from class org.ota.shared.OperationSchedule
OperationSchedule.OperationTimes
 
Constructor Summary
TourInformation.Departures.DepartureSchedule()
           
 
Method Summary
 java.lang.Integer getAvailability()
          Get the 'Availability' attribute value.
 java.lang.Boolean getHasAvailabilityInd()
          Get the 'HasAvailabilityInd' attribute value.
 java.lang.String getInfo()
          Get the 'InfoType' attribute value.
 java.lang.String getPeriodTitle()
          Get the 'PeriodTitle' attribute value.
 void setAvailability(java.lang.Integer availability)
          Set the 'Availability' attribute value.
 void setHasAvailabilityInd(java.lang.Boolean hasAvailabilityInd)
          Set the 'HasAvailabilityInd' attribute value.
 void setInfo(java.lang.String info)
          Set the 'InfoType' attribute value.
 void setPeriodTitle(java.lang.String periodTitle)
          Set the 'PeriodTitle' attribute value.
 
Methods inherited from class org.ota.shared.OperationSchedulePlusCharge
addCharge, clearCharges, getCharge, getCharges, setCharges, sizeCharges
 
Methods inherited from class org.ota.shared.OperationSchedule
getDateTimeSpanGroup, getOperationTimes, setDateTimeSpanGroup, setOperationTimes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TourInformation.Departures.DepartureSchedule

public TourInformation.Departures.DepartureSchedule()
Method Detail

getPeriodTitle

public java.lang.String getPeriodTitle()
Get the 'PeriodTitle' attribute value. Describes the duration period, e.g. 5 days, 4 nights.

Returns:
value

setPeriodTitle

public void setPeriodTitle(java.lang.String periodTitle)
Set the 'PeriodTitle' attribute value. Describes the duration period, e.g. 5 days, 4 nights.

Parameters:
periodTitle -

getInfo

public java.lang.String getInfo()
Get the 'InfoType' attribute value. Alllows the provider to indiocate whether the schedule is general or specific.

Returns:
value

setInfo

public void setInfo(java.lang.String info)
Set the 'InfoType' attribute value. Alllows the provider to indiocate whether the schedule is general or specific.

Parameters:
info -

getHasAvailabilityInd

public java.lang.Boolean getHasAvailabilityInd()
Get the 'HasAvailabilityInd' attribute value. When true, the tour has availability.

Returns:
value

setHasAvailabilityInd

public void setHasAvailabilityInd(java.lang.Boolean hasAvailabilityInd)
Set the 'HasAvailabilityInd' attribute value. When true, the tour has availability.

Parameters:
hasAvailabilityInd -

getAvailability

public java.lang.Integer getAvailability()
Get the 'Availability' attribute value. Indicates the number of inventory items (e.g. seats) available.

Returns:
value

setAvailability

public void setAvailability(java.lang.Integer availability)
Set the 'Availability' attribute value. Indicates the number of inventory items (e.g. seats) available.

Parameters:
availability -