org.ota.hotel
Class ResCommonDetail.TimeSpan

java.lang.Object
  extended by org.ota.shared.DateTimeSpan
      extended by org.ota.hotel.ResCommonDetail.TimeSpan
Enclosing class:
ResCommonDetail

public static class ResCommonDetail.TimeSpan
extends DateTimeSpan

The Time Span which covers the Reservation, Room Stay or Service. 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="TimeSpan" minOccurs="0">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:DateTimeSpanType">
         <xs:attribute type="xs:string" use="optional" name="Increment"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
 
Nested classes/interfaces inherited from class org.ota.shared.DateTimeSpan
DateTimeSpan.Sequence
 
Constructor Summary
ResCommonDetail.TimeSpan()
           
 
Method Summary
 java.lang.String getIncrement()
          Get the 'Increment' attribute value.
 void setIncrement(java.lang.String increment)
          Set the 'Increment' attribute value.
 
Methods inherited from class org.ota.shared.DateTimeSpan
clearChoiceSelect, getDateTimeSpanGroup, getDateWindowRange, getSequence, ifDateWindowRange, ifSequence, setDateTimeSpanGroup, setDateWindowRange, setSequence
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResCommonDetail.TimeSpan

public ResCommonDetail.TimeSpan()
Method Detail

getIncrement

public java.lang.String getIncrement()
Get the 'Increment' attribute value. Specifies the increment at which a service offering is repeated. For example an increment of PT2H would mean that the service is offered every two hours.

Returns:
value

setIncrement

public void setIncrement(java.lang.String increment)
Set the 'Increment' attribute value. Specifies the increment at which a service offering is repeated. For example an increment of PT2H would mean that the service is offered every two hours.

Parameters:
increment -