org.ota.shared
Class OccupancyGroup

java.lang.Object
  extended by org.ota.shared.OccupancyGroup

public class OccupancyGroup
extends java.lang.Object

Minimum and maximum occupancy values. 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="OccupancyGroup">
   <xs:attribute type="xs:int" use="optional" name="MinOccupancy"/>
   <xs:attribute type="xs:int" use="optional" name="MaxOccupancy"/>
 </xs:attributeGroup>
 


Constructor Summary
OccupancyGroup()
           
 
Method Summary
 java.lang.Integer getMaxOccupancy()
          Get the 'MaxOccupancy' attribute value.
 java.lang.Integer getMinOccupancy()
          Get the 'MinOccupancy' attribute value.
 void setMaxOccupancy(java.lang.Integer maxOccupancy)
          Set the 'MaxOccupancy' attribute value.
 void setMinOccupancy(java.lang.Integer minOccupancy)
          Set the 'MinOccupancy' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OccupancyGroup

public OccupancyGroup()
Method Detail

getMinOccupancy

public java.lang.Integer getMinOccupancy()
Get the 'MinOccupancy' attribute value. Minimum number of persons allowed in a unit of accommodation or place.

Returns:
value

setMinOccupancy

public void setMinOccupancy(java.lang.Integer minOccupancy)
Set the 'MinOccupancy' attribute value. Minimum number of persons allowed in a unit of accommodation or place.

Parameters:
minOccupancy -

getMaxOccupancy

public java.lang.Integer getMaxOccupancy()
Get the 'MaxOccupancy' attribute value. Maximum number of persons allowed in a unit of accommodation or place.

Returns:
value

setMaxOccupancy

public void setMaxOccupancy(java.lang.Integer maxOccupancy)
Set the 'MaxOccupancy' attribute value. Maximum number of persons allowed in a unit of accommodation or place.

Parameters:
maxOccupancy -