org.ota.hotel
Class InvBlockCutoffGroup

java.lang.Object
  extended by org.ota.hotel.InvBlockCutoffGroup

public class InvBlockCutoffGroup
extends java.lang.Object

Defines the absolute deadline or amount of offset time before unused block inventory is returned to general inventory. Schema fragment(s) for this class:

 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="InvBlockCutoffGroup">
   <xs:attribute type="xs:string" use="optional" name="AbsoluteCutoff"/>
   <xs:attribute type="xs:string" use="optional" name="OffsetDuration"/>
   <xs:attribute use="optional" name="OffsetCalculationMode">
     <xs:simpleType>
       <!-- Reference to inner class OffsetCalculationMode -->
     </xs:simpleType>
   </xs:attribute>
 </xs:attributeGroup>
 


Nested Class Summary
static class InvBlockCutoffGroup.OffsetCalculationMode
          Schema fragment(s) for this class:
 
Constructor Summary
InvBlockCutoffGroup()
           
 
Method Summary
 java.lang.String getAbsoluteCutoff()
          Get the 'AbsoluteCutoff' attribute value.
 InvBlockCutoffGroup.OffsetCalculationMode getOffsetCalculationMode()
          Get the 'OffsetCalculationMode' attribute value.
 java.lang.String getOffsetDuration()
          Get the 'OffsetDuration' attribute value.
 void setAbsoluteCutoff(java.lang.String absoluteCutoff)
          Set the 'AbsoluteCutoff' attribute value.
 void setOffsetCalculationMode(InvBlockCutoffGroup.OffsetCalculationMode offsetCalculationMode)
          Set the 'OffsetCalculationMode' attribute value.
 void setOffsetDuration(java.lang.String offsetDuration)
          Set the 'OffsetDuration' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvBlockCutoffGroup

public InvBlockCutoffGroup()
Method Detail

getAbsoluteCutoff

public java.lang.String getAbsoluteCutoff()
Get the 'AbsoluteCutoff' attribute value. Defines the absolute deadline. Either this or the offset attributes may be used.

Returns:
value

setAbsoluteCutoff

public void setAbsoluteCutoff(java.lang.String absoluteCutoff)
Set the 'AbsoluteCutoff' attribute value. Defines the absolute deadline. Either this or the offset attributes may be used.

Parameters:
absoluteCutoff -

getOffsetDuration

public java.lang.String getOffsetDuration()
Get the 'OffsetDuration' attribute value. The units of time, e.g.: days, hours, etc., that apply to the deadline.

Returns:
value

setOffsetDuration

public void setOffsetDuration(java.lang.String offsetDuration)
Set the 'OffsetDuration' attribute value. The units of time, e.g.: days, hours, etc., that apply to the deadline.

Parameters:
offsetDuration -

getOffsetCalculationMode

public InvBlockCutoffGroup.OffsetCalculationMode getOffsetCalculationMode()
Get the 'OffsetCalculationMode' attribute value. This indicates how the offset period is applied for the release back to general inventory of unbooked rooms in the inventory block .

Returns:
value

setOffsetCalculationMode

public void setOffsetCalculationMode(InvBlockCutoffGroup.OffsetCalculationMode offsetCalculationMode)
Set the 'OffsetCalculationMode' attribute value. This indicates how the offset period is applied for the release back to general inventory of unbooked rooms in the inventory block .

Parameters:
offsetCalculationMode -