org.ota.hotel
Class HotelDescriptiveContent.HotelInfo.Services.Service

java.lang.Object
  extended by org.ota.hotel.HotelDescriptiveContent.HotelInfo.Services.Service
Enclosing class:
HotelDescriptiveContent.HotelInfo.Services

public static class HotelDescriptiveContent.HotelInfo.Services.Service
extends java.lang.Object

A hotel service or amenity available to the guest such as a business center, concierge, valet parking, massage, newspapers, 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" name="Service" maxOccurs="unbounded">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:ContactInfoType" name="Contact" minOccurs="0"/>
       <xs:element type="ns:RelativePositionType" name="RelativePosition" minOccurs="0"/>
       <xs:element type="ns:OperationSchedulesPlusChargeType" name="OperationSchedules" minOccurs="0"/>
       <xs:element type="ns:MultimediaDescriptionsType" name="MultimediaDescriptions" minOccurs="0"/>
       <xs:element type="ns:FeaturesType" name="Features" minOccurs="0"/>
       <xs:element type="xs:string" name="DescriptiveText" minOccurs="0"/>
     </xs:sequence>
     <xs:attribute type="xs:boolean" use="optional" name="Included"/>
     <xs:attribute type="xs:string" use="optional" name="Code"/>
     <xs:attribute type="xs:string" use="optional" name="BusinessServiceCode"/>
     <xs:attribute type="xs:string" use="optional" name="ExistsCode"/>
     <xs:attributeGroup ref="ns:CodeInfoGroup"/>
     <xs:attribute type="xs:boolean" use="optional" name="AvailableToAnyGuest"/>
     <xs:attribute type="xs:string" use="optional" name="InvCode"/>
     <xs:attribute type="xs:string" use="optional" name="ProximityCode"/>
     <xs:attribute type="xs:string" use="optional" name="MealPlanCode"/>
     <xs:attribute type="xs:int" use="optional" name="Quantity"/>
     <xs:attribute type="xs:int" use="optional" name="Sort"/>
     <xs:attribute type="xs:string" use="optional" name="MeetingRoomCode"/>
     <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="ID_OptionalGroup">
   <xs:attribute type="xs:string" use="optional" name="ID"/>
 </xs:attributeGroup>
 


Constructor Summary
HotelDescriptiveContent.HotelInfo.Services.Service()
           
 
Method Summary
 java.lang.Boolean getAvailableToAnyGuest()
          Get the 'AvailableToAnyGuest' attribute value.
 java.lang.String getBusinessServiceCode()
          Get the 'BusinessServiceCode' attribute value.
 java.lang.String getCode()
          Get the 'Code' attribute value.
 CodeInfoGroup getCodeInfoGroup()
          Get the 'CodeInfoGroup' attributeGroup value.
 ContactInfo getContact()
          Get the 'Contact' element value.
 java.lang.String getDescriptiveText()
          Get the 'DescriptiveText' element value.
 java.lang.String getExistsCode()
          Get the 'ExistsCode' attribute value.
 Features getFeatures()
          Get the 'Features' element value.
 java.lang.String getID()
          Get the 'ID' attribute value.
 java.lang.Boolean getIncluded()
          Get the 'Included' attribute value.
 java.lang.String getInvCode()
          Get the 'InvCode' attribute value.
 java.lang.String getMealPlanCode()
          Get the 'MealPlanCode' attribute value.
 java.lang.String getMeetingRoomCode()
          Get the 'MeetingRoomCode' attribute value.
 MultimediaDescriptions getMultimediaDescriptions()
          Get the 'MultimediaDescriptions' element value.
 OperationSchedulesPlusCharge getOperationSchedules()
          Get the 'OperationSchedules' element value.
 java.lang.String getProximityCode()
          Get the 'ProximityCode' attribute value.
 java.lang.Integer getQuantity()
          Get the 'Quantity' attribute value.
 RelativePosition getRelativePosition()
          Get the 'RelativePosition' element value.
 java.lang.Integer getSort()
          Get the 'Sort' attribute value.
 void setAvailableToAnyGuest(java.lang.Boolean availableToAnyGuest)
          Set the 'AvailableToAnyGuest' attribute value.
 void setBusinessServiceCode(java.lang.String businessServiceCode)
          Set the 'BusinessServiceCode' attribute value.
 void setCode(java.lang.String code)
          Set the 'Code' attribute value.
 void setCodeInfoGroup(CodeInfoGroup codeInfoGroup)
          Set the 'CodeInfoGroup' attributeGroup value.
 void setContact(ContactInfo contact)
          Set the 'Contact' element value.
 void setDescriptiveText(java.lang.String descriptiveText)
          Set the 'DescriptiveText' element value.
 void setExistsCode(java.lang.String existsCode)
          Set the 'ExistsCode' attribute value.
 void setFeatures(Features features)
          Set the 'Features' element value.
 void setID(java.lang.String ID)
          Set the 'ID' attribute value.
 void setIncluded(java.lang.Boolean included)
          Set the 'Included' attribute value.
 void setInvCode(java.lang.String invCode)
          Set the 'InvCode' attribute value.
 void setMealPlanCode(java.lang.String mealPlanCode)
          Set the 'MealPlanCode' attribute value.
 void setMeetingRoomCode(java.lang.String meetingRoomCode)
          Set the 'MeetingRoomCode' attribute value.
 void setMultimediaDescriptions(MultimediaDescriptions multimediaDescriptions)
          Set the 'MultimediaDescriptions' element value.
 void setOperationSchedules(OperationSchedulesPlusCharge operationSchedules)
          Set the 'OperationSchedules' element value.
 void setProximityCode(java.lang.String proximityCode)
          Set the 'ProximityCode' attribute value.
 void setQuantity(java.lang.Integer quantity)
          Set the 'Quantity' attribute value.
 void setRelativePosition(RelativePosition relativePosition)
          Set the 'RelativePosition' element value.
 void setSort(java.lang.Integer sort)
          Set the 'Sort' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelDescriptiveContent.HotelInfo.Services.Service

public HotelDescriptiveContent.HotelInfo.Services.Service()
Method Detail

getContact

public ContactInfo getContact()
Get the 'Contact' element value. Contact information pertaining to a service.

Returns:
value

setContact

public void setContact(ContactInfo contact)
Set the 'Contact' element value. Contact information pertaining to a service.

Parameters:
contact -

getRelativePosition

public RelativePosition getRelativePosition()
Get the 'RelativePosition' element value. Directions to the service provider.

Returns:
value

setRelativePosition

public void setRelativePosition(RelativePosition relativePosition)
Set the 'RelativePosition' element value. Directions to the service provider.

Parameters:
relativePosition -

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 -

getMultimediaDescriptions

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

Returns:
value

setMultimediaDescriptions

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

Parameters:
multimediaDescriptions -

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 -

getDescriptiveText

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

Returns:
value

setDescriptiveText

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

Parameters:
descriptiveText -

getIncluded

public java.lang.Boolean getIncluded()
Get the 'Included' attribute value. This may be used to identify a standard service included in the room rate.

Returns:
value

setIncluded

public void setIncluded(java.lang.Boolean included)
Set the 'Included' attribute value. This may be used to identify a standard service included in the room rate.

Parameters:
included -

getCode

public java.lang.String getCode()
Get the 'Code' attribute value. Refer to OpenTravel Code List Hotel Amenity Code (HAC).

Returns:
value

setCode

public void setCode(java.lang.String code)
Set the 'Code' attribute value. Refer to OpenTravel Code List Hotel Amenity Code (HAC).

Parameters:
code -

getBusinessServiceCode

public java.lang.String getBusinessServiceCode()
Get the 'BusinessServiceCode' attribute value. Refer to OpenTravel Code List Business Srvc Type (BUS).

Returns:
value

setBusinessServiceCode

public void setBusinessServiceCode(java.lang.String businessServiceCode)
Set the 'BusinessServiceCode' attribute value. Refer to OpenTravel Code List Business Srvc Type (BUS).

Parameters:
businessServiceCode -

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 OpenTravel Code list Option Type Code (OTC). This is used in conjunction with either Code or BusinessServiceCode.

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 OpenTravel Code list Option Type Code (OTC). This is used in conjunction with either Code or BusinessServiceCode.

Parameters:
existsCode -

getCodeInfoGroup

public CodeInfoGroup getCodeInfoGroup()
Get the 'CodeInfoGroup' attributeGroup value. May be used to give further detail on the code or to remove an obsolete item. This may be used to provide further information for either Code or BusinessServiceCode (e.g. if printer is selected, the code detail may be used to describe the type of printer available) as determined by the implementer.

Returns:
value

setCodeInfoGroup

public void setCodeInfoGroup(CodeInfoGroup codeInfoGroup)
Set the 'CodeInfoGroup' attributeGroup value. May be used to give further detail on the code or to remove an obsolete item. This may be used to provide further information for either Code or BusinessServiceCode (e.g. if printer is selected, the code detail may be used to describe the type of printer available) as determined by the implementer.

Parameters:
codeInfoGroup -

getAvailableToAnyGuest

public java.lang.Boolean getAvailableToAnyGuest()
Get the 'AvailableToAnyGuest' attribute value. This flag indicates whether the business service is available to all guests or only to certain guests at the facility. Values: 0 = (No) Not Available to All Guests, 1 = (Yes) Available to All Guests.

Returns:
value

setAvailableToAnyGuest

public void setAvailableToAnyGuest(java.lang.Boolean availableToAnyGuest)
Set the 'AvailableToAnyGuest' attribute value. This flag indicates whether the business service is available to all guests or only to certain guests at the facility. Values: 0 = (No) Not Available to All Guests, 1 = (Yes) Available to All Guests.

Parameters:
availableToAnyGuest -

getInvCode

public java.lang.String getInvCode()
Get the 'InvCode' attribute value. Identification code of the business service for inventory and booking purposes if the service is an inventoriable item.

Returns:
value

setInvCode

public void setInvCode(java.lang.String invCode)
Set the 'InvCode' attribute value. Identification code of the business service for inventory and booking purposes if the service is an inventoriable item.

Parameters:
invCode -

getProximityCode

public java.lang.String getProximityCode()
Get the 'ProximityCode' attribute value. Denotes whether a service is onsite, offsite or information is not available. Refer to OpenTravel Code Table Proximity (PRX).

Returns:
value

setProximityCode

public void setProximityCode(java.lang.String proximityCode)
Set the 'ProximityCode' attribute value. Denotes whether a service is onsite, offsite or information is not available. Refer to OpenTravel Code Table Proximity (PRX).

Parameters:
proximityCode -

getMealPlanCode

public java.lang.String getMealPlanCode()
Get the 'MealPlanCode' attribute value. This describes available meal plans for a property. Refer to OpenTravel Code Table Meal Plan Type (MPT).

Returns:
value

setMealPlanCode

public void setMealPlanCode(java.lang.String mealPlanCode)
Set the 'MealPlanCode' attribute value. This describes available meal plans for a property. Refer to OpenTravel Code Table Meal Plan Type (MPT).

Parameters:
mealPlanCode -

getQuantity

public java.lang.Integer getQuantity()
Get the 'Quantity' attribute value. Denotes the total number of service items identified by the Code attribute.

Returns:
value

setQuantity

public void setQuantity(java.lang.Integer quantity)
Set the 'Quantity' attribute value. Denotes the total number of service items identified by the Code attribute.

Parameters:
quantity -

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 -

getMeetingRoomCode

public java.lang.String getMeetingRoomCode()
Get the 'MeetingRoomCode' attribute value. At this level, MeetingRoomCode is intended for meeting/business services when high level data is being sent that requires operation schedule information and/or contact information. Refer to OpenTravel Codelist Meeting Room Code (MRC). OpenTravel Codelist MRC is also used in FacilityInfo/MeetingRooms/Codes/Code for the instance when an amenity or service applies to all meeting rooms and in FacilityInfo/MeetingRooms/MeetingRoom/Codes/Code for the instance when an amenity or service applies to a specific meeting room.

Returns:
value

setMeetingRoomCode

public void setMeetingRoomCode(java.lang.String meetingRoomCode)
Set the 'MeetingRoomCode' attribute value. At this level, MeetingRoomCode is intended for meeting/business services when high level data is being sent that requires operation schedule information and/or contact information. Refer to OpenTravel Codelist Meeting Room Code (MRC). OpenTravel Codelist MRC is also used in FacilityInfo/MeetingRooms/Codes/Code for the instance when an amenity or service applies to all meeting rooms and in FacilityInfo/MeetingRooms/MeetingRoom/Codes/Code for the instance when an amenity or service applies to a specific meeting room.

Parameters:
meetingRoomCode -

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 -