org.ota.hotel
Class ResCommonDetail.TimeSpan
java.lang.Object
org.ota.shared.DateTimeSpan
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>
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResCommonDetail.TimeSpan
public ResCommonDetail.TimeSpan()
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
-