org.ota.hotel
Class HotelDescriptiveContent.Policies.Policy.StayRequirements.StayRequirement

java.lang.Object
  extended by org.ota.hotel.HotelDescriptiveContent.Policies.Policy.StayRequirements.StayRequirement
Enclosing class:
HotelDescriptiveContent.Policies.Policy.StayRequirements

public static class HotelDescriptiveContent.Policies.Policy.StayRequirements.StayRequirement
extends java.lang.Object

Defines the requirements for a minimimum or maximum length of stay for a property. Day of week may or may not have an impact on this requirement. Day of week is a stayover day unless StayContext is used. 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="StayRequirement" maxOccurs="9">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:ParagraphType" name="Description" minOccurs="0"/>
     </xs:sequence>
     <xs:attributeGroup ref="ns:DOW_PatternGroup"/>
     <xs:attribute type="xs:int" use="optional" name="MinLOS"/>
     <xs:attribute type="xs:int" use="optional" name="MaxLOS"/>
     <xs:attribute use="optional" name="StayContext">
       <xs:simpleType>
         <!-- Reference to inner class StayContext -->
       </xs:simpleType>
     </xs:attribute>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class HotelDescriptiveContent.Policies.Policy.StayRequirements.StayRequirement.StayContext
          Schema fragment(s) for this class:
 
Constructor Summary
HotelDescriptiveContent.Policies.Policy.StayRequirements.StayRequirement()
           
 
Method Summary
 Paragraph getDescription()
          Get the 'Description' element value.
 DOWPatternGroup getDOWPatternGroup()
          Get the 'DOW_PatternGroup' attributeGroup value.
 java.lang.Integer getMaxLOS()
          Get the 'MaxLOS' attribute value.
 java.lang.Integer getMinLOS()
          Get the 'MinLOS' attribute value.
 HotelDescriptiveContent.Policies.Policy.StayRequirements.StayRequirement.StayContext getStayContext()
          Get the 'StayContext' attribute value.
 void setDescription(Paragraph description)
          Set the 'Description' element value.
 void setDOWPatternGroup(DOWPatternGroup DOWPatternGroup)
          Set the 'DOW_PatternGroup' attributeGroup value.
 void setMaxLOS(java.lang.Integer maxLOS)
          Set the 'MaxLOS' attribute value.
 void setMinLOS(java.lang.Integer minLOS)
          Set the 'MinLOS' attribute value.
 void setStayContext(HotelDescriptiveContent.Policies.Policy.StayRequirements.StayRequirement.StayContext stayContext)
          Set the 'StayContext' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelDescriptiveContent.Policies.Policy.StayRequirements.StayRequirement

public HotelDescriptiveContent.Policies.Policy.StayRequirements.StayRequirement()
Method Detail

getDescription

public Paragraph getDescription()
Get the 'Description' element value. Provides additional information regarding stay requirements.

Returns:
value

setDescription

public void setDescription(Paragraph description)
Set the 'Description' element value. Provides additional information regarding stay requirements.

Parameters:
description -

getDOWPatternGroup

public DOWPatternGroup getDOWPatternGroup()
Get the 'DOW_PatternGroup' attributeGroup value.

Returns:
value

setDOWPatternGroup

public void setDOWPatternGroup(DOWPatternGroup DOWPatternGroup)
Set the 'DOW_PatternGroup' attributeGroup value.

Parameters:
DOWPatternGroup -

getMinLOS

public java.lang.Integer getMinLOS()
Get the 'MinLOS' attribute value. Indicates the minimum length of stay.

Returns:
value

setMinLOS

public void setMinLOS(java.lang.Integer minLOS)
Set the 'MinLOS' attribute value. Indicates the minimum length of stay.

Parameters:
minLOS -

getMaxLOS

public java.lang.Integer getMaxLOS()
Get the 'MaxLOS' attribute value. Indicates the maximum length of stay.

Returns:
value

setMaxLOS

public void setMaxLOS(java.lang.Integer maxLOS)
Set the 'MaxLOS' attribute value. Indicates the maximum length of stay.

Parameters:
maxLOS -

getStayContext

public HotelDescriptiveContent.Policies.Policy.StayRequirements.StayRequirement.StayContext getStayContext()
Get the 'StayContext' attribute value. Used to designate available check-in or check-out days of week. Used in conjunction with the days of week attributes.

Returns:
value

setStayContext

public void setStayContext(HotelDescriptiveContent.Policies.Policy.StayRequirements.StayRequirement.StayContext stayContext)
Set the 'StayContext' attribute value. Used to designate available check-in or check-out days of week. Used in conjunction with the days of week attributes.

Parameters:
stayContext -