org.ota.hotel
Class Offer.OfferRules.OfferRule.Occupancy

java.lang.Object
  extended by org.ota.hotel.Offer.OfferRules.OfferRule.Occupancy
Enclosing class:
Offer.OfferRules.OfferRule

public static class Offer.OfferRules.OfferRule.Occupancy
extends java.lang.Object

Provides parameters of occupancy limits. 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="Occupancy" minOccurs="0" maxOccurs="5">
   <xs:complexType>
     <xs:attributeGroup ref="ns:OccupancyGroup"/>
     <xs:attributeGroup ref="ns:AgeQualifyingGroup"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
Offer.OfferRules.OfferRule.Occupancy()
           
 
Method Summary
 AgeQualifyingGroup getAgeQualifyingGroup()
          Get the 'AgeQualifyingGroup' attributeGroup value.
 OccupancyGroup getOccupancyGroup()
          Get the 'OccupancyGroup' attributeGroup value.
 void setAgeQualifyingGroup(AgeQualifyingGroup ageQualifyingGroup)
          Set the 'AgeQualifyingGroup' attributeGroup value.
 void setOccupancyGroup(OccupancyGroup occupancyGroup)
          Set the 'OccupancyGroup' attributeGroup value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Offer.OfferRules.OfferRule.Occupancy

public Offer.OfferRules.OfferRule.Occupancy()
Method Detail

getOccupancyGroup

public OccupancyGroup getOccupancyGroup()
Get the 'OccupancyGroup' attributeGroup value. Minimum or maximum number of people allowed in a room type as defined by age.

Returns:
value

setOccupancyGroup

public void setOccupancyGroup(OccupancyGroup occupancyGroup)
Set the 'OccupancyGroup' attributeGroup value. Minimum or maximum number of people allowed in a room type as defined by age.

Parameters:
occupancyGroup -

getAgeQualifyingGroup

public AgeQualifyingGroup getAgeQualifyingGroup()
Get the 'AgeQualifyingGroup' attributeGroup value. Specifies the age requirements for this offer.

Returns:
value

setAgeQualifyingGroup

public void setAgeQualifyingGroup(AgeQualifyingGroup ageQualifyingGroup)
Set the 'AgeQualifyingGroup' attributeGroup value. Specifies the age requirements for this offer.

Parameters:
ageQualifyingGroup -