org.ota.hotel
Class RestrictionStatusGroup

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

public class RestrictionStatusGroup
extends java.lang.Object

Describes the status of a restriction on a room and/or rate. 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="RestrictionStatusGroup">
   <xs:attribute use="optional" name="Restriction">
     <xs:simpleType>
       <!-- Reference to inner class Restriction -->
     </xs:simpleType>
   </xs:attribute>
   <xs:attribute type="ns:AvailabilityStatusType" use="optional" name="Status"/>
   <xs:attribute type="xs:boolean" use="optional" name="SellThroughOpenIndicator"/>
 </xs:attributeGroup>
 


Nested Class Summary
static class RestrictionStatusGroup.Restriction
          Schema fragment(s) for this class:
 
Constructor Summary
RestrictionStatusGroup()
           
 
Method Summary
 RestrictionStatusGroup.Restriction getRestriction()
          Get the 'Restriction' attribute value.
 java.lang.Boolean getSellThroughOpenIndicator()
          Get the 'SellThroughOpenIndicator' attribute value.
 AvailabilityStatus getStatus()
          Get the 'Status' attribute value.
 void setRestriction(RestrictionStatusGroup.Restriction restriction)
          Set the 'Restriction' attribute value.
 void setSellThroughOpenIndicator(java.lang.Boolean sellThroughOpenIndicator)
          Set the 'SellThroughOpenIndicator' attribute value.
 void setStatus(AvailabilityStatus status)
          Set the 'Status' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestrictionStatusGroup

public RestrictionStatusGroup()
Method Detail

getRestriction

public RestrictionStatusGroup.Restriction getRestriction()
Get the 'Restriction' attribute value.

Returns:
value

setRestriction

public void setRestriction(RestrictionStatusGroup.Restriction restriction)
Set the 'Restriction' attribute value.

Parameters:
restriction -

getStatus

public AvailabilityStatus getStatus()
Get the 'Status' attribute value.

Returns:
value

setStatus

public void setStatus(AvailabilityStatus status)
Set the 'Status' attribute value.

Parameters:
status -

getSellThroughOpenIndicator

public java.lang.Boolean getSellThroughOpenIndicator()
Get the 'SellThroughOpenIndicator' attribute value. When true, this indicates sell through is open and when false, this indicates sell through is closed. Typically this would be used in conjunction with the Status attribute to indicate that bookings may be allowed based on a trading partner agreement even though one or more days are closed.

Returns:
value

setSellThroughOpenIndicator

public void setSellThroughOpenIndicator(java.lang.Boolean sellThroughOpenIndicator)
Set the 'SellThroughOpenIndicator' attribute value. When true, this indicates sell through is open and when false, this indicates sell through is closed. Typically this would be used in conjunction with the Status attribute to indicate that bookings may be allowed based on a trading partner agreement even though one or more days are closed.

Parameters:
sellThroughOpenIndicator -