org.ota.hotel
Class RoomGroup

java.lang.Object
  extended by org.ota.hotel.RoomGroup

public class RoomGroup
extends java.lang.Object

Used to define a room (eg. its location, configuration, view). 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="RoomGroup">
   <xs:attribute type="xs:string" use="optional" name="RoomType"/>
   <xs:attribute type="xs:string" use="optional" name="RoomTypeCode"/>
   <xs:attribute type="xs:string" use="optional" name="RoomCategory"/>
   <xs:attribute type="xs:string" use="optional" name="RoomID"/>
   <xs:attribute type="xs:int" use="optional" name="Floor"/>
   <xs:attribute type="xs:string" use="optional" name="InvBlockCode"/>
   <xs:attributeGroup ref="ns:PromotionCodeGroup"/>
   <xs:attribute type="xs:string" use="optional" name="RoomLocationCode"/>
   <xs:attribute type="xs:string" use="optional" name="RoomViewCode"/>
   <xs:attribute type="xs:string" use="optional" name="BedTypeCode"/>
   <xs:attribute type="xs:boolean" use="optional" name="NonSmoking"/>
   <xs:attribute type="xs:string" use="optional" name="Configuration"/>
   <xs:attribute type="xs:string" use="optional" name="SizeMeasurement"/>
   <xs:attribute type="xs:int" use="optional" name="Quantity"/>
   <xs:attribute type="xs:boolean" use="optional" name="Composite"/>
   <xs:attribute type="xs:string" use="optional" name="RoomClassificationCode"/>
   <xs:attribute type="xs:string" use="optional" name="RoomArchitectureCode"/>
 </xs:attributeGroup>
 


Constructor Summary
RoomGroup()
           
 
Method Summary
 java.lang.String getBedTypeCode()
          Get the 'BedTypeCode' attribute value.
 java.lang.Boolean getComposite()
          Get the 'Composite' attribute value.
 java.lang.String getConfiguration()
          Get the 'Configuration' attribute value.
 java.lang.Integer getFloor()
          Get the 'Floor' attribute value.
 java.lang.String getInvBlockCode()
          Get the 'InvBlockCode' attribute value.
 java.lang.Boolean getNonSmoking()
          Get the 'NonSmoking' attribute value.
 PromotionCodeGroup getPromotionCodeGroup()
          Get the 'PromotionCodeGroup' attributeGroup value.
 java.lang.Integer getQuantity()
          Get the 'Quantity' attribute value.
 java.lang.String getRoom()
          Get the 'RoomType' attribute value.
 java.lang.String getRoomArchitectureCode()
          Get the 'RoomArchitectureCode' attribute value.
 java.lang.String getRoomCategory()
          Get the 'RoomCategory' attribute value.
 java.lang.String getRoomClassificationCode()
          Get the 'RoomClassificationCode' attribute value.
 java.lang.String getRoomID()
          Get the 'RoomID' attribute value.
 java.lang.String getRoomLocationCode()
          Get the 'RoomLocationCode' attribute value.
 java.lang.String getRoomTypeCode()
          Get the 'RoomTypeCode' attribute value.
 java.lang.String getRoomViewCode()
          Get the 'RoomViewCode' attribute value.
 java.lang.String getSizeMeasurement()
          Get the 'SizeMeasurement' attribute value.
 void setBedTypeCode(java.lang.String bedTypeCode)
          Set the 'BedTypeCode' attribute value.
 void setComposite(java.lang.Boolean composite)
          Set the 'Composite' attribute value.
 void setConfiguration(java.lang.String configuration)
          Set the 'Configuration' attribute value.
 void setFloor(java.lang.Integer floor)
          Set the 'Floor' attribute value.
 void setInvBlockCode(java.lang.String invBlockCode)
          Set the 'InvBlockCode' attribute value.
 void setNonSmoking(java.lang.Boolean nonSmoking)
          Set the 'NonSmoking' attribute value.
 void setPromotionCodeGroup(PromotionCodeGroup promotionCodeGroup)
          Set the 'PromotionCodeGroup' attributeGroup value.
 void setQuantity(java.lang.Integer quantity)
          Set the 'Quantity' attribute value.
 void setRoom(java.lang.String room)
          Set the 'RoomType' attribute value.
 void setRoomArchitectureCode(java.lang.String roomArchitectureCode)
          Set the 'RoomArchitectureCode' attribute value.
 void setRoomCategory(java.lang.String roomCategory)
          Set the 'RoomCategory' attribute value.
 void setRoomClassificationCode(java.lang.String roomClassificationCode)
          Set the 'RoomClassificationCode' attribute value.
 void setRoomID(java.lang.String roomID)
          Set the 'RoomID' attribute value.
 void setRoomLocationCode(java.lang.String roomLocationCode)
          Set the 'RoomLocationCode' attribute value.
 void setRoomTypeCode(java.lang.String roomTypeCode)
          Set the 'RoomTypeCode' attribute value.
 void setRoomViewCode(java.lang.String roomViewCode)
          Set the 'RoomViewCode' attribute value.
 void setSizeMeasurement(java.lang.String sizeMeasurement)
          Set the 'SizeMeasurement' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoomGroup

public RoomGroup()
Method Detail

getRoom

public java.lang.String getRoom()
Get the 'RoomType' attribute value. (formerly, RoomInventoryCode) A code value that indicates the type of room for which this request is made, e.g.: double, king, etc. Values may use the Hotel Descriptive Content table or a codes specific to the property or hotel brand.

Returns:
value

setRoom

public void setRoom(java.lang.String room)
Set the 'RoomType' attribute value. (formerly, RoomInventoryCode) A code value that indicates the type of room for which this request is made, e.g.: double, king, etc. Values may use the Hotel Descriptive Content table or a codes specific to the property or hotel brand.

Parameters:
room -

getRoomTypeCode

public java.lang.String getRoomTypeCode()
Get the 'RoomTypeCode' attribute value. Specific system room type code, ex: A1K, A1Q etc.

Returns:
value

setRoomTypeCode

public void setRoomTypeCode(java.lang.String roomTypeCode)
Set the 'RoomTypeCode' attribute value. Specific system room type code, ex: A1K, A1Q etc.

Parameters:
roomTypeCode -

getRoomCategory

public java.lang.String getRoomCategory()
Get the 'RoomCategory' attribute value. Indicates the category of the room. Typical values would be Moderate, Standard, or Deluxe. Refer to OpenTravel Code List Segment Category Code (SEG).

Returns:
value

setRoomCategory

public void setRoomCategory(java.lang.String roomCategory)
Set the 'RoomCategory' attribute value. Indicates the category of the room. Typical values would be Moderate, Standard, or Deluxe. Refer to OpenTravel Code List Segment Category Code (SEG).

Parameters:
roomCategory -

getRoomID

public java.lang.String getRoomID()
Get the 'RoomID' attribute value. A string value representing the unique identification of a room if the request is looking for a specific room.

Returns:
value

setRoomID

public void setRoomID(java.lang.String roomID)
Set the 'RoomID' attribute value. A string value representing the unique identification of a room if the request is looking for a specific room.

Parameters:
roomID -

getFloor

public java.lang.Integer getFloor()
Get the 'Floor' attribute value. Floor on which the room is located.

Returns:
value

setFloor

public void setFloor(java.lang.Integer floor)
Set the 'Floor' attribute value. Floor on which the room is located.

Parameters:
floor -

getInvBlockCode

public java.lang.String getInvBlockCode()
Get the 'InvBlockCode' attribute value. A code or identification number that identifies the room stay as part of a group, package tour, or block of rooms designated in the inventory.

Returns:
value

setInvBlockCode

public void setInvBlockCode(java.lang.String invBlockCode)
Set the 'InvBlockCode' attribute value. A code or identification number that identifies the room stay as part of a group, package tour, or block of rooms designated in the inventory.

Parameters:
invBlockCode -

getPromotionCodeGroup

public PromotionCodeGroup getPromotionCodeGroup()
Get the 'PromotionCodeGroup' attributeGroup value.

Returns:
value

setPromotionCodeGroup

public void setPromotionCodeGroup(PromotionCodeGroup promotionCodeGroup)
Set the 'PromotionCodeGroup' attributeGroup value.

Parameters:
promotionCodeGroup -

getRoomLocationCode

public java.lang.String getRoomLocationCode()
Get the 'RoomLocationCode' attribute value. Indicates the location of the room within the hotel structure. Typical values would be "Near Exit","Close to elevator", "Low Floor" or "High Floor". Refer to OpenTravel Code List Room Location Type (RLT).

Returns:
value

setRoomLocationCode

public void setRoomLocationCode(java.lang.String roomLocationCode)
Set the 'RoomLocationCode' attribute value. Indicates the location of the room within the hotel structure. Typical values would be "Near Exit","Close to elevator", "Low Floor" or "High Floor". Refer to OpenTravel Code List Room Location Type (RLT).

Parameters:
roomLocationCode -

getRoomViewCode

public java.lang.String getRoomViewCode()
Get the 'RoomViewCode' attribute value. Indicates the view of the room. Typical values would be "Ocean view", "Pool view" or "Garden View". Refer to OpenTravel Code List Room View Type (RVT).

Returns:
value

setRoomViewCode

public void setRoomViewCode(java.lang.String roomViewCode)
Set the 'RoomViewCode' attribute value. Indicates the view of the room. Typical values would be "Ocean view", "Pool view" or "Garden View". Refer to OpenTravel Code List Room View Type (RVT).

Parameters:
roomViewCode -

getBedTypeCode

public java.lang.String getBedTypeCode()
Get the 'BedTypeCode' attribute value. Indicates the type of bed(s) found in the room. Typical values would be Double, Twin, Queen, or King. Refer to OpenTravel Code List Bed Type Code (BED).

Returns:
value

setBedTypeCode

public void setBedTypeCode(java.lang.String bedTypeCode)
Set the 'BedTypeCode' attribute value. Indicates the type of bed(s) found in the room. Typical values would be Double, Twin, Queen, or King. Refer to OpenTravel Code List Bed Type Code (BED).

Parameters:
bedTypeCode -

getNonSmoking

public java.lang.Boolean getNonSmoking()
Get the 'NonSmoking' attribute value. Non-smoking indicator.

Returns:
value

setNonSmoking

public void setNonSmoking(java.lang.Boolean nonSmoking)
Set the 'NonSmoking' attribute value. Non-smoking indicator.

Parameters:
nonSmoking -

getConfiguration

public java.lang.String getConfiguration()
Get the 'Configuration' attribute value. Textual description of room configuration.

Returns:
value

setConfiguration

public void setConfiguration(java.lang.String configuration)
Set the 'Configuration' attribute value. Textual description of room configuration.

Parameters:
configuration -

getSizeMeasurement

public java.lang.String getSizeMeasurement()
Get the 'SizeMeasurement' attribute value. Textual description of room dimensions.

Returns:
value

setSizeMeasurement

public void setSizeMeasurement(java.lang.String sizeMeasurement)
Set the 'SizeMeasurement' attribute value. Textual description of room dimensions.

Parameters:
sizeMeasurement -

getQuantity

public java.lang.Integer getQuantity()
Get the 'Quantity' attribute value. Defines the number of the item in question.

Returns:
value

setQuantity

public void setQuantity(java.lang.Integer quantity)
Set the 'Quantity' attribute value. Defines the number of the item in question.

Parameters:
quantity -

getComposite

public java.lang.Boolean getComposite()
Get the 'Composite' attribute value. Indicates that the room (suite) is a composite of smaller units.

Returns:
value

setComposite

public void setComposite(java.lang.Boolean composite)
Set the 'Composite' attribute value. Indicates that the room (suite) is a composite of smaller units.

Parameters:
composite -

getRoomClassificationCode

public java.lang.String getRoomClassificationCode()
Get the 'RoomClassificationCode' attribute value. Specifies the room classification (e.g., cabin, apartment). Refer to OpenTravel Code List Guest Room Info (GRI).

Returns:
value

setRoomClassificationCode

public void setRoomClassificationCode(java.lang.String roomClassificationCode)
Set the 'RoomClassificationCode' attribute value. Specifies the room classification (e.g., cabin, apartment). Refer to OpenTravel Code List Guest Room Info (GRI).

Parameters:
roomClassificationCode -

getRoomArchitectureCode

public java.lang.String getRoomArchitectureCode()
Get the 'RoomArchitectureCode' attribute value. Specifies the architectural style of a room. Refer to OpenTravel Code List Architectural Style Code (ARC).

Returns:
value

setRoomArchitectureCode

public void setRoomArchitectureCode(java.lang.String roomArchitectureCode)
Set the 'RoomArchitectureCode' attribute value. Specifies the architectural style of a room. Refer to OpenTravel Code List Architectural Style Code (ARC).

Parameters:
roomArchitectureCode -