org.ota.hotel
Class HotelDescriptiveContent.FacilityInfo.GuestRooms.GuestRoom

java.lang.Object
  extended by org.ota.hotel.HotelDescriptiveContent.FacilityInfo.GuestRooms.GuestRoom
Enclosing class:
HotelDescriptiveContent.FacilityInfo.GuestRooms

public static class HotelDescriptiveContent.FacilityInfo.GuestRooms.GuestRoom
extends java.lang.Object

The accommodation occupied by a guest. 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="GuestRoom" minOccurs="0" maxOccurs="unbounded">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="TypeRoom" minOccurs="0" maxOccurs="5">
         <!-- Reference to inner class TypeRoom -->
       </xs:element>
       <xs:element name="Amenities" minOccurs="0">
         <!-- Reference to inner class Amenities -->
       </xs:element>
       <xs:element type="ns:FeaturesType" name="Features" minOccurs="0"/>
       <xs:element type="ns:MultimediaDescriptionsType" name="MultimediaDescriptions" minOccurs="0"/>
       <xs:element type="xs:string" name="DescriptiveText" minOccurs="0"/>
     </xs:sequence>
     <xs:attributeGroup ref="ns:CodeListGroup"/>
     <xs:attribute type="xs:string" use="optional" name="RoomTypeName"/>
     <xs:attribute type="xs:boolean" use="optional" name="Composite"/>
     <xs:attribute type="xs:string" use="optional" name="Quality"/>
     <xs:attribute type="xs:string" use="optional" name="MaxOccupancy"/>
     <xs:attribute type="xs:int" use="optional" name="MaxAdultOccupancy"/>
     <xs:attribute type="xs:int" use="optional" name="NonsmokingQuantity"/>
     <xs:attributeGroup ref="ns:ID_OptionalGroup"/>
     <xs:attribute type="xs:int" use="optional" name="MaxChildOccupancy"/>
     <xs:attribute type="xs:int" use="optional" name="Sort"/>
   </xs:complexType>
 </xs:element>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ID_OptionalGroup">
   <xs:attribute type="xs:string" use="optional" name="ID"/>
 </xs:attributeGroup>
 


Nested Class Summary
static class HotelDescriptiveContent.FacilityInfo.GuestRooms.GuestRoom.Amenities
          Collection of room amenity items available to the guest.
static class HotelDescriptiveContent.FacilityInfo.GuestRooms.GuestRoom.TypeRoom
          Describes the guest room type; in composite types there can be multiple occurrences.
 
Constructor Summary
HotelDescriptiveContent.FacilityInfo.GuestRooms.GuestRoom()
           
 
Method Summary
 void addTypeRoom(HotelDescriptiveContent.FacilityInfo.GuestRooms.GuestRoom.TypeRoom item)
          Add a 'TypeRoom' element item.
 void clearTypeRooms()
          Remove all 'TypeRoom' element items.
 HotelDescriptiveContent.FacilityInfo.GuestRooms.GuestRoom.Amenities getAmenities()
          Get the 'Amenities' element value.
 CodeListGroup getCodeListGroup()
          Get the 'CodeListGroup' attributeGroup value.
 java.lang.Boolean getComposite()
          Get the 'Composite' attribute value.
 java.lang.String getDescriptiveText()
          Get the 'DescriptiveText' element value.
 Features getFeatures()
          Get the 'Features' element value.
 java.lang.String getID()
          Get the 'ID' attribute value.
 java.lang.Integer getMaxAdultOccupancy()
          Get the 'MaxAdultOccupancy' attribute value.
 java.lang.Integer getMaxChildOccupancy()
          Get the 'MaxChildOccupancy' attribute value.
 java.lang.String getMaxOccupancy()
          Get the 'MaxOccupancy' attribute value.
 MultimediaDescriptions getMultimediaDescriptions()
          Get the 'MultimediaDescriptions' element value.
 java.lang.Integer getNonsmokingQuantity()
          Get the 'NonsmokingQuantity' attribute value.
 java.lang.String getQuality()
          Get the 'Quality' attribute value.
 java.lang.String getRoomTypeName()
          Get the 'RoomTypeName' attribute value.
 java.lang.Integer getSort()
          Get the 'Sort' attribute value.
 HotelDescriptiveContent.FacilityInfo.GuestRooms.GuestRoom.TypeRoom getTypeRoom(int index)
          Get 'TypeRoom' element item by position.
 java.util.List<HotelDescriptiveContent.FacilityInfo.GuestRooms.GuestRoom.TypeRoom> getTypeRooms()
          Get the list of 'TypeRoom' element items.
 void setAmenities(HotelDescriptiveContent.FacilityInfo.GuestRooms.GuestRoom.Amenities amenities)
          Set the 'Amenities' element value.
 void setCodeListGroup(CodeListGroup codeListGroup)
          Set the 'CodeListGroup' attributeGroup value.
 void setComposite(java.lang.Boolean composite)
          Set the 'Composite' attribute value.
 void setDescriptiveText(java.lang.String descriptiveText)
          Set the 'DescriptiveText' element value.
 void setFeatures(Features features)
          Set the 'Features' element value.
 void setID(java.lang.String ID)
          Set the 'ID' attribute value.
 void setMaxAdultOccupancy(java.lang.Integer maxAdultOccupancy)
          Set the 'MaxAdultOccupancy' attribute value.
 void setMaxChildOccupancy(java.lang.Integer maxChildOccupancy)
          Set the 'MaxChildOccupancy' attribute value.
 void setMaxOccupancy(java.lang.String maxOccupancy)
          Set the 'MaxOccupancy' attribute value.
 void setMultimediaDescriptions(MultimediaDescriptions multimediaDescriptions)
          Set the 'MultimediaDescriptions' element value.
 void setNonsmokingQuantity(java.lang.Integer nonsmokingQuantity)
          Set the 'NonsmokingQuantity' attribute value.
 void setQuality(java.lang.String quality)
          Set the 'Quality' attribute value.
 void setRoomTypeName(java.lang.String roomTypeName)
          Set the 'RoomTypeName' attribute value.
 void setSort(java.lang.Integer sort)
          Set the 'Sort' attribute value.
 void setTypeRooms(java.util.List<HotelDescriptiveContent.FacilityInfo.GuestRooms.GuestRoom.TypeRoom> list)
          Set the list of 'TypeRoom' element items.
 int sizeTypeRooms()
          Get the number of 'TypeRoom' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelDescriptiveContent.FacilityInfo.GuestRooms.GuestRoom

public HotelDescriptiveContent.FacilityInfo.GuestRooms.GuestRoom()
Method Detail

getTypeRooms

public java.util.List<HotelDescriptiveContent.FacilityInfo.GuestRooms.GuestRoom.TypeRoom> getTypeRooms()
Get the list of 'TypeRoom' element items.

Returns:
list

setTypeRooms

public void setTypeRooms(java.util.List<HotelDescriptiveContent.FacilityInfo.GuestRooms.GuestRoom.TypeRoom> list)
Set the list of 'TypeRoom' element items.

Parameters:
list -

sizeTypeRooms

public int sizeTypeRooms()
Get the number of 'TypeRoom' element items.

Returns:
count

addTypeRoom

public void addTypeRoom(HotelDescriptiveContent.FacilityInfo.GuestRooms.GuestRoom.TypeRoom item)
Add a 'TypeRoom' element item.

Parameters:
item -

getTypeRoom

public HotelDescriptiveContent.FacilityInfo.GuestRooms.GuestRoom.TypeRoom getTypeRoom(int index)
Get 'TypeRoom' element item by position.

Parameters:
index -
Returns:
item

clearTypeRooms

public void clearTypeRooms()
Remove all 'TypeRoom' element items.


getAmenities

public HotelDescriptiveContent.FacilityInfo.GuestRooms.GuestRoom.Amenities getAmenities()
Get the 'Amenities' element value.

Returns:
value

setAmenities

public void setAmenities(HotelDescriptiveContent.FacilityInfo.GuestRooms.GuestRoom.Amenities amenities)
Set the 'Amenities' element value.

Parameters:
amenities -

getFeatures

public Features getFeatures()
Get the 'Features' element value. Collection of features offered by a hotel.

Returns:
value

setFeatures

public void setFeatures(Features features)
Set the 'Features' element value. Collection of features offered by a hotel.

Parameters:
features -

getMultimediaDescriptions

public MultimediaDescriptions getMultimediaDescriptions()
Get the 'MultimediaDescriptions' element value. Multimedia information about the guest room.

Returns:
value

setMultimediaDescriptions

public void setMultimediaDescriptions(MultimediaDescriptions multimediaDescriptions)
Set the 'MultimediaDescriptions' element value. Multimedia information about the guest room.

Parameters:
multimediaDescriptions -

getDescriptiveText

public java.lang.String getDescriptiveText()
Get the 'DescriptiveText' element value. Descriptive text that describes the guest room.

Returns:
value

setDescriptiveText

public void setDescriptiveText(java.lang.String descriptiveText)
Set the 'DescriptiveText' element value. Descriptive text that describes the guest room.

Parameters:
descriptiveText -

getCodeListGroup

public CodeListGroup getCodeListGroup()
Get the 'CodeListGroup' attributeGroup value. The hotel specific room type code that does not reference the OpenTravel Code Table as there are numerous hotel room types that are chain specific.

Returns:
value

setCodeListGroup

public void setCodeListGroup(CodeListGroup codeListGroup)
Set the 'CodeListGroup' attributeGroup value. The hotel specific room type code that does not reference the OpenTravel Code Table as there are numerous hotel room types that are chain specific.

Parameters:
codeListGroup -

getRoomTypeName

public java.lang.String getRoomTypeName()
Get the 'RoomTypeName' attribute value.

Returns:
value

setRoomTypeName

public void setRoomTypeName(java.lang.String roomTypeName)
Set the 'RoomTypeName' attribute value.

Parameters:
roomTypeName -

getComposite

public java.lang.Boolean getComposite()
Get the 'Composite' attribute value. Indicates that the room type contains multiple rooms sold as a single unit.

Returns:
value

setComposite

public void setComposite(java.lang.Boolean composite)
Set the 'Composite' attribute value. Indicates that the room type contains multiple rooms sold as a single unit.

Parameters:
composite -

getQuality

public java.lang.String getQuality()
Get the 'Quality' attribute value. Indicates the quality of the room within a hotel such as an "S1K" as a superior room with one king bed.

Returns:
value

setQuality

public void setQuality(java.lang.String quality)
Set the 'Quality' attribute value. Indicates the quality of the room within a hotel such as an "S1K" as a superior room with one king bed.

Parameters:
quality -

getMaxOccupancy

public java.lang.String getMaxOccupancy()
Get the 'MaxOccupancy' attribute value. Maximum number of guests allowed in a room type.

Returns:
value

setMaxOccupancy

public void setMaxOccupancy(java.lang.String maxOccupancy)
Set the 'MaxOccupancy' attribute value. Maximum number of guests allowed in a room type.

Parameters:
maxOccupancy -

getMaxAdultOccupancy

public java.lang.Integer getMaxAdultOccupancy()
Get the 'MaxAdultOccupancy' attribute value. Maximum number of adults allowed in a room type.

Returns:
value

setMaxAdultOccupancy

public void setMaxAdultOccupancy(java.lang.Integer maxAdultOccupancy)
Set the 'MaxAdultOccupancy' attribute value. Maximum number of adults allowed in a room type.

Parameters:
maxAdultOccupancy -

getNonsmokingQuantity

public java.lang.Integer getNonsmokingQuantity()
Get the 'NonsmokingQuantity' attribute value. This attribute is used to designate the number of non-smoking rooms by room type.

Returns:
value

setNonsmokingQuantity

public void setNonsmokingQuantity(java.lang.Integer nonsmokingQuantity)
Set the 'NonsmokingQuantity' attribute value. This attribute is used to designate the number of non-smoking rooms by room type.

Parameters:
nonsmokingQuantity -

getID

public java.lang.String getID()
Get the 'ID' attribute value. A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.

Returns:
value

setID

public void setID(java.lang.String ID)
Set the 'ID' attribute value. A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.

Parameters:
ID -

getMaxChildOccupancy

public java.lang.Integer getMaxChildOccupancy()
Get the 'MaxChildOccupancy' attribute value. Maximum number of children allowed in a room type.

Returns:
value

setMaxChildOccupancy

public void setMaxChildOccupancy(java.lang.Integer maxChildOccupancy)
Set the 'MaxChildOccupancy' attribute value. Maximum number of children allowed in a room type.

Parameters:
maxChildOccupancy -

getSort

public java.lang.Integer getSort()
Get the 'Sort' attribute value. Used to define the display order.

Returns:
value

setSort

public void setSort(java.lang.Integer sort)
Set the 'Sort' attribute value. Used to define the display order.

Parameters:
sort -