org.ota.pkg
Class RoomProfile

java.lang.Object
  extended by org.ota.hotel.RoomStayCandidate
      extended by org.ota.pkg.RoomProfile
Direct Known Subclasses:
ItineraryItemResponse.Accommodation.RoomProfiles.RoomProfile

public class RoomProfile
extends RoomStayCandidate

Describes the occupancy of a room or cabin. Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="RoomProfileType">
   <xs:complexContent>
     <xs:extension base="ns:RoomStayCandidateType">
       <xs:sequence>
         <xs:element name="PassengerRPHs" minOccurs="0">
           <!-- Reference to inner class PassengerRPHs -->
         </xs:element>
       </xs:sequence>
       <xs:attribute type="xs:string" use="optional" name="Description"/>
       <xs:attributeGroup ref="ns:OccupancyGroup"/>
       <xs:attribute type="xs:int" use="optional" name="MaxAdults"/>
       <xs:attribute type="xs:int" use="optional" name="CotQuantity"/>
       <xs:attribute type="xs:boolean" use="optional" name="FreeChildFlag"/>
     </xs:extension>
   </xs:complexContent>
 </xs:complexType>
 


Nested Class Summary
static class RoomProfile.PassengerRPHs
          Details of individual passengers in a room; may be used instead of GuestCounts.
 
Constructor Summary
RoomProfile()
           
 
Method Summary
 java.lang.Integer getCotQuantity()
          Get the 'CotQuantity' attribute value.
 java.lang.String getDescription()
          Get the 'Description' attribute value.
 java.lang.Boolean getFreeChildFlag()
          Get the 'FreeChildFlag' attribute value.
 java.lang.Integer getMaxAdults()
          Get the 'MaxAdults' attribute value.
 OccupancyGroup getOccupancyGroup()
          Get the 'OccupancyGroup' attributeGroup value.
 RoomProfile.PassengerRPHs getPassengerRPHs()
          Get the 'PassengerRPHs' element value.
 void setCotQuantity(java.lang.Integer cotQuantity)
          Set the 'CotQuantity' attribute value.
 void setDescription(java.lang.String description)
          Set the 'Description' attribute value.
 void setFreeChildFlag(java.lang.Boolean freeChildFlag)
          Set the 'FreeChildFlag' attribute value.
 void setMaxAdults(java.lang.Integer maxAdults)
          Set the 'MaxAdults' attribute value.
 void setOccupancyGroup(OccupancyGroup occupancyGroup)
          Set the 'OccupancyGroup' attributeGroup value.
 void setPassengerRPHs(RoomProfile.PassengerRPHs passengerRPHs)
          Set the 'PassengerRPHs' element value.
 
Methods inherited from class org.ota.hotel.RoomStayCandidate
addRoomAmenity, clearRoomAmenities, getBookingCode, getEffectiveExpireOptionalDateGroup, getGuestCounts, getRatePlanCandidateRPH, getRoomAmenities, getRoomAmenity, getRoomGroup, getRPH, setBookingCode, setEffectiveExpireOptionalDateGroup, setGuestCounts, setRatePlanCandidateRPH, setRoomAmenities, setRoomGroup, setRPH, sizeRoomAmenities
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoomProfile

public RoomProfile()
Method Detail

getPassengerRPHs

public RoomProfile.PassengerRPHs getPassengerRPHs()
Get the 'PassengerRPHs' element value.

Returns:
value

setPassengerRPHs

public void setPassengerRPHs(RoomProfile.PassengerRPHs passengerRPHs)
Set the 'PassengerRPHs' element value.

Parameters:
passengerRPHs -

getDescription

public java.lang.String getDescription()
Get the 'Description' attribute value. A full description of the room/apartment etc.

Returns:
value

setDescription

public void setDescription(java.lang.String description)
Set the 'Description' attribute value. A full description of the room/apartment etc.

Parameters:
description -

getOccupancyGroup

public OccupancyGroup getOccupancyGroup()
Get the 'OccupancyGroup' attributeGroup value.

Returns:
value

setOccupancyGroup

public void setOccupancyGroup(OccupancyGroup occupancyGroup)
Set the 'OccupancyGroup' attributeGroup value.

Parameters:
occupancyGroup -

getMaxAdults

public java.lang.Integer getMaxAdults()
Get the 'MaxAdults' attribute value. Maximum number of adults allowed in a unit of accommodation.

Returns:
value

setMaxAdults

public void setMaxAdults(java.lang.Integer maxAdults)
Set the 'MaxAdults' attribute value. Maximum number of adults allowed in a unit of accommodation.

Parameters:
maxAdults -

getCotQuantity

public java.lang.Integer getCotQuantity()
Get the 'CotQuantity' attribute value. The number of cots/cribs available in a room/apartment etc.

Returns:
value

setCotQuantity

public void setCotQuantity(java.lang.Integer cotQuantity)
Set the 'CotQuantity' attribute value. The number of cots/cribs available in a room/apartment etc.

Parameters:
cotQuantity -

getFreeChildFlag

public java.lang.Boolean getFreeChildFlag()
Get the 'FreeChildFlag' attribute value. Indicates whether a free child is permitted in a room/apartment etc.

Returns:
value

setFreeChildFlag

public void setFreeChildFlag(java.lang.Boolean freeChildFlag)
Set the 'FreeChildFlag' attribute value. Indicates whether a free child is permitted in a room/apartment etc.

Parameters:
freeChildFlag -