org.ota.pkg
Class AvailRS.AccommodationChoices.AvailableProperty.FacilityChoices.AvailableRooms.Room

java.lang.Object
  extended by org.ota.pkg.AvailRS.AccommodationChoices.AvailableProperty.FacilityChoices.AvailableRooms.Room
Enclosing class:
AvailRS.AccommodationChoices.AvailableProperty.FacilityChoices.AvailableRooms

public static class AvailRS.AccommodationChoices.AvailableProperty.FacilityChoices.AvailableRooms.Room
extends java.lang.Object

Describes a type of room/cabin/apartment etc 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" type="ns:PkgRoomInventoryType" name="Room" maxOccurs="99"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="PkgRoomInventoryType">
   <xs:complexContent>
     <xs:extension base="ns:RoomStayCandidateType">
       <xs:sequence>
         <xs:element type="ns:ChargesType" name="SupplementCharges" minOccurs="0" maxOccurs="2"/>
       </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>
 


Constructor Summary
AvailRS.AccommodationChoices.AvailableProperty.FacilityChoices.AvailableRooms.Room()
           
 
Method Summary
 void addSupplementCharge(Charges item)
          Add a 'SupplementCharges' element item.
 void clearSupplementCharges()
          Remove all 'SupplementCharges' element items.
 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.
 RoomStayCandidate getRoomStayCandidate()
          Get the extension value.
 Charges getSupplementCharge(int index)
          Get 'SupplementCharges' element item by position.
 java.util.List<Charges> getSupplementCharges()
          Get the list of 'SupplementCharges' element items.
 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 setRoomStayCandidate(RoomStayCandidate roomStayCandidate)
          Set the extension value.
 void setSupplementCharges(java.util.List<Charges> list)
          Set the list of 'SupplementCharges' element items.
 int sizeSupplementCharges()
          Get the number of 'SupplementCharges' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvailRS.AccommodationChoices.AvailableProperty.FacilityChoices.AvailableRooms.Room

public AvailRS.AccommodationChoices.AvailableProperty.FacilityChoices.AvailableRooms.Room()
Method Detail

getRoomStayCandidate

public RoomStayCandidate getRoomStayCandidate()
Get the extension value.

Returns:
value

setRoomStayCandidate

public void setRoomStayCandidate(RoomStayCandidate roomStayCandidate)
Set the extension value.

Parameters:
roomStayCandidate -

getSupplementCharges

public java.util.List<Charges> getSupplementCharges()
Get the list of 'SupplementCharges' element items.

Returns:
list

setSupplementCharges

public void setSupplementCharges(java.util.List<Charges> list)
Set the list of 'SupplementCharges' element items.

Parameters:
list -

sizeSupplementCharges

public int sizeSupplementCharges()
Get the number of 'SupplementCharges' element items.

Returns:
count

addSupplementCharge

public void addSupplementCharge(Charges item)
Add a 'SupplementCharges' element item.

Parameters:
item -

getSupplementCharge

public Charges getSupplementCharge(int index)
Get 'SupplementCharges' element item by position.

Parameters:
index -
Returns:
item

clearSupplementCharges

public void clearSupplementCharges()
Remove all 'SupplementCharges' element items.


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 -