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

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

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

Tangible room item(s) (e.g., newspaper) available to the 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="Amenity" maxOccurs="unbounded">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:OperationSchedulesPlusChargeType" name="OperationSchedules" minOccurs="0"/>
       <xs:element type="ns:ContactInfoRootType" name="ContactInfo" minOccurs="0" maxOccurs="5"/>
       <xs:element type="ns:MultimediaDescriptionsType" name="MultimediaDescriptions" minOccurs="0"/>
       <xs:element type="xs:string" name="DescriptiveText" minOccurs="0"/>
     </xs:sequence>
     <xs:attribute type="xs:string" use="optional" name="RoomAmenityCode"/>
     <xs:attribute type="xs:boolean" use="optional" name="IncludedInRateIndicator"/>
     <xs:attribute type="xs:string" use="optional" name="ExistsCode"/>
     <xs:attributeGroup ref="ns:CodeInfoGroup"/>
     <xs:attributeGroup ref="ns:QuantityGroup"/>
     <xs:attributeGroup ref="ns:ID_OptionalGroup"/>
   </xs:complexType>
 </xs:element>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="QuantityGroup">
   <xs:attribute type="xs:int" use="optional" name="Quantity"/>
 </xs:attributeGroup>
 
 <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>
 


Constructor Summary
HotelDescriptiveContent.FacilityInfo.GuestRooms.GuestRoom.Amenities.Amenity()
           
 
Method Summary
 void addContactInfo(ContactInfoRoot item)
          Add a 'ContactInfo' element item.
 void clearContactInfos()
          Remove all 'ContactInfo' element items.
 CodeInfoGroup getCodeInfoGroup()
          Get the 'CodeInfoGroup' attributeGroup value.
 ContactInfoRoot getContactInfo(int index)
          Get 'ContactInfo' element item by position.
 java.util.List<ContactInfoRoot> getContactInfos()
          Get the list of 'ContactInfo' element items.
 java.lang.String getDescriptiveText()
          Get the 'DescriptiveText' element value.
 java.lang.String getExistsCode()
          Get the 'ExistsCode' attribute value.
 java.lang.String getID()
          Get the 'ID' attribute value.
 java.lang.Boolean getIncludedInRateIndicator()
          Get the 'IncludedInRateIndicator' attribute value.
 MultimediaDescriptions getMultimediaDescriptions()
          Get the 'MultimediaDescriptions' element value.
 OperationSchedulesPlusCharge getOperationSchedules()
          Get the 'OperationSchedules' element value.
 java.lang.Integer getQuantity()
          Get the 'Quantity' attribute value.
 java.lang.String getRoomAmenityCode()
          Get the 'RoomAmenityCode' attribute value.
 void setCodeInfoGroup(CodeInfoGroup codeInfoGroup)
          Set the 'CodeInfoGroup' attributeGroup value.
 void setContactInfos(java.util.List<ContactInfoRoot> list)
          Set the list of 'ContactInfo' element items.
 void setDescriptiveText(java.lang.String descriptiveText)
          Set the 'DescriptiveText' element value.
 void setExistsCode(java.lang.String existsCode)
          Set the 'ExistsCode' attribute value.
 void setID(java.lang.String ID)
          Set the 'ID' attribute value.
 void setIncludedInRateIndicator(java.lang.Boolean includedInRateIndicator)
          Set the 'IncludedInRateIndicator' attribute value.
 void setMultimediaDescriptions(MultimediaDescriptions multimediaDescriptions)
          Set the 'MultimediaDescriptions' element value.
 void setOperationSchedules(OperationSchedulesPlusCharge operationSchedules)
          Set the 'OperationSchedules' element value.
 void setQuantity(java.lang.Integer quantity)
          Set the 'Quantity' attribute value.
 void setRoomAmenityCode(java.lang.String roomAmenityCode)
          Set the 'RoomAmenityCode' attribute value.
 int sizeContactInfos()
          Get the number of 'ContactInfo' 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.Amenities.Amenity

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

getOperationSchedules

public OperationSchedulesPlusCharge getOperationSchedules()
Get the 'OperationSchedules' element value. Collection of days, times, and fees.

Returns:
value

setOperationSchedules

public void setOperationSchedules(OperationSchedulesPlusCharge operationSchedules)
Set the 'OperationSchedules' element value. Collection of days, times, and fees.

Parameters:
operationSchedules -

getContactInfos

public java.util.List<ContactInfoRoot> getContactInfos()
Get the list of 'ContactInfo' element items. Used to include additional information regarding the amenity (e.g. the provider of the service).

Returns:
list

setContactInfos

public void setContactInfos(java.util.List<ContactInfoRoot> list)
Set the list of 'ContactInfo' element items. Used to include additional information regarding the amenity (e.g. the provider of the service).

Parameters:
list -

sizeContactInfos

public int sizeContactInfos()
Get the number of 'ContactInfo' element items.

Returns:
count

addContactInfo

public void addContactInfo(ContactInfoRoot item)
Add a 'ContactInfo' element item.

Parameters:
item -

getContactInfo

public ContactInfoRoot getContactInfo(int index)
Get 'ContactInfo' element item by position.

Parameters:
index -
Returns:
item

clearContactInfos

public void clearContactInfos()
Remove all 'ContactInfo' element items.


getMultimediaDescriptions

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

Returns:
value

setMultimediaDescriptions

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

Parameters:
multimediaDescriptions -

getDescriptiveText

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

Returns:
value

setDescriptiveText

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

Parameters:
descriptiveText -

getRoomAmenityCode

public java.lang.String getRoomAmenityCode()
Get the 'RoomAmenityCode' attribute value. Refer to OpenTravel Code List Room Amenity Type (RMA).

Returns:
value

setRoomAmenityCode

public void setRoomAmenityCode(java.lang.String roomAmenityCode)
Set the 'RoomAmenityCode' attribute value. Refer to OpenTravel Code List Room Amenity Type (RMA).

Parameters:
roomAmenityCode -

getIncludedInRateIndicator

public java.lang.Boolean getIncludedInRateIndicator()
Get the 'IncludedInRateIndicator' attribute value. When true, this indicates that the amenity or service is included in the room rate (i.e., this service or amenity has no additional charge).

Returns:
value

setIncludedInRateIndicator

public void setIncludedInRateIndicator(java.lang.Boolean includedInRateIndicator)
Set the 'IncludedInRateIndicator' attribute value. When true, this indicates that the amenity or service is included in the room rate (i.e., this service or amenity has no additional charge).

Parameters:
includedInRateIndicator -

getExistsCode

public java.lang.String getExistsCode()
Get the 'ExistsCode' attribute value. This attribute is used to explicitly define whether an amenity or service is offered. Refer to the OpenTravel Code List Option Type Code (OTC). This is used in conjunction with RoomAmenityCode.

Returns:
value

setExistsCode

public void setExistsCode(java.lang.String existsCode)
Set the 'ExistsCode' attribute value. This attribute is used to explicitly define whether an amenity or service is offered. Refer to the OpenTravel Code List Option Type Code (OTC). This is used in conjunction with RoomAmenityCode.

Parameters:
existsCode -

getCodeInfoGroup

public CodeInfoGroup getCodeInfoGroup()
Get the 'CodeInfoGroup' attributeGroup value. May be used to give further detail on the code (e.g. if bathroom amenities is selected additional information about what amenities are available in the guest room can be passed here) or to remove an obsolete item.

Returns:
value

setCodeInfoGroup

public void setCodeInfoGroup(CodeInfoGroup codeInfoGroup)
Set the 'CodeInfoGroup' attributeGroup value. May be used to give further detail on the code (e.g. if bathroom amenities is selected additional information about what amenities are available in the guest room can be passed here) or to remove an obsolete item.

Parameters:
codeInfoGroup -

getQuantity

public java.lang.Integer getQuantity()
Get the 'Quantity' attribute value. Used to define the quantity for an associated element or attribute.

Returns:
value

setQuantity

public void setQuantity(java.lang.Integer quantity)
Set the 'Quantity' attribute value. Used to define the quantity for an associated element or attribute.

Parameters:
quantity -

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 -