org.ota.hotel
Class RoomType.Occupancy

java.lang.Object
  extended by org.ota.hotel.RoomType.Occupancy
Enclosing class:
RoomType

public static class RoomType.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
RoomType.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

RoomType.Occupancy

public RoomType.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 parameters for the occupancy of this guest room type.

Returns:
value

setAgeQualifyingGroup

public void setAgeQualifyingGroup(AgeQualifyingGroup ageQualifyingGroup)
Set the 'AgeQualifyingGroup' attributeGroup value. Specifies the age parameters for the occupancy of this guest room type.

Parameters:
ageQualifyingGroup -