org.ota.tour
Class TourInformation.Duration

java.lang.Object
  extended by org.ota.tour.TourInformation.Duration
Enclosing class:
TourInformation

public static class TourInformation.Duration
extends java.lang.Object

Provides the duration for the tour. 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="Duration" minOccurs="0">
   <xs:complexType>
     <xs:attribute type="xs:string" use="optional" name="Description"/>
     <xs:attribute type="xs:string" use="optional" name="Duration"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
TourInformation.Duration()
           
 
Method Summary
 java.lang.String getDescription()
          Get the 'Description' attribute value.
 java.lang.String getDuration()
          Get the 'Duration' attribute value.
 void setDescription(java.lang.String description)
          Set the 'Description' attribute value.
 void setDuration(java.lang.String duration)
          Set the 'Duration' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TourInformation.Duration

public TourInformation.Duration()
Method Detail

getDescription

public java.lang.String getDescription()
Get the 'Description' attribute value. Textual description of the tour duration (e.g., one day and four hours).

Returns:
value

setDescription

public void setDescription(java.lang.String description)
Set the 'Description' attribute value. Textual description of the tour duration (e.g., one day and four hours).

Parameters:
description -

getDuration

public java.lang.String getDuration()
Get the 'Duration' attribute value. The duration of the tour in ISO8601 format (e.g., P1DT04H).

Returns:
value

setDuration

public void setDuration(java.lang.String duration)
Set the 'Duration' attribute value. The duration of the tour in ISO8601 format (e.g., P1DT04H).

Parameters:
duration -