org.ota.shared
Class HotelReferenceGroup

java.lang.Object
  extended by org.ota.shared.HotelReferenceGroup

public class HotelReferenceGroup
extends java.lang.Object

HotelReference: The hotel reference identifies a specific hotel by using the Chain Code, the Brand Code, and the Hotel Code. The codes used are agreed upon by trading partners. 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="HotelReferenceGroup">
   <xs:attribute type="xs:string" use="optional" name="ChainCode"/>
   <xs:attribute type="xs:string" use="optional" name="BrandCode"/>
   <xs:attribute type="xs:string" use="optional" name="HotelCode"/>
   <xs:attribute type="xs:string" use="optional" name="HotelCityCode"/>
   <xs:attribute type="xs:string" use="optional" name="HotelName"/>
   <xs:attribute type="xs:string" use="optional" name="HotelCodeContext"/>
   <xs:attribute type="xs:string" use="optional" name="ChainName"/>
   <xs:attribute type="xs:string" use="optional" name="BrandName"/>
   <xs:attributeGroup ref="ns:AreaID_Group"/>
 </xs:attributeGroup>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="AreaID_Group">
   <xs:attribute type="xs:string" use="optional" name="AreaID"/>
 </xs:attributeGroup>
 


Constructor Summary
HotelReferenceGroup()
           
 
Method Summary
 java.lang.String getAreaID()
          Get the 'AreaID' attribute value.
 java.lang.String getBrandCode()
          Get the 'BrandCode' attribute value.
 java.lang.String getBrandName()
          Get the 'BrandName' attribute value.
 java.lang.String getChainCode()
          Get the 'ChainCode' attribute value.
 java.lang.String getChainName()
          Get the 'ChainName' attribute value.
 java.lang.String getHotelCityCode()
          Get the 'HotelCityCode' attribute value.
 java.lang.String getHotelCode()
          Get the 'HotelCode' attribute value.
 java.lang.String getHotelCodeContext()
          Get the 'HotelCodeContext' attribute value.
 java.lang.String getHotelName()
          Get the 'HotelName' attribute value.
 void setAreaID(java.lang.String areaID)
          Set the 'AreaID' attribute value.
 void setBrandCode(java.lang.String brandCode)
          Set the 'BrandCode' attribute value.
 void setBrandName(java.lang.String brandName)
          Set the 'BrandName' attribute value.
 void setChainCode(java.lang.String chainCode)
          Set the 'ChainCode' attribute value.
 void setChainName(java.lang.String chainName)
          Set the 'ChainName' attribute value.
 void setHotelCityCode(java.lang.String hotelCityCode)
          Set the 'HotelCityCode' attribute value.
 void setHotelCode(java.lang.String hotelCode)
          Set the 'HotelCode' attribute value.
 void setHotelCodeContext(java.lang.String hotelCodeContext)
          Set the 'HotelCodeContext' attribute value.
 void setHotelName(java.lang.String hotelName)
          Set the 'HotelName' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelReferenceGroup

public HotelReferenceGroup()
Method Detail

getChainCode

public java.lang.String getChainCode()
Get the 'ChainCode' attribute value. The code that identifies a hotel chain or management group. The hotel chain code is decided between vendors. This attribute is optional if the hotel is an independent property that can be identified by the HotelCode attribute.

Returns:
value

setChainCode

public void setChainCode(java.lang.String chainCode)
Set the 'ChainCode' attribute value. The code that identifies a hotel chain or management group. The hotel chain code is decided between vendors. This attribute is optional if the hotel is an independent property that can be identified by the HotelCode attribute.

Parameters:
chainCode -

getBrandCode

public java.lang.String getBrandCode()
Get the 'BrandCode' attribute value. A code that identifies the brand or flag of a hotel, often used for independently-owned or franchised properties who are known by a specific brand.

Returns:
value

setBrandCode

public void setBrandCode(java.lang.String brandCode)
Set the 'BrandCode' attribute value. A code that identifies the brand or flag of a hotel, often used for independently-owned or franchised properties who are known by a specific brand.

Parameters:
brandCode -

getHotelCode

public java.lang.String getHotelCode()
Get the 'HotelCode' attribute value. The code that uniquely identifies a single hotel property. The hotel code is decided between vendors.

Returns:
value

setHotelCode

public void setHotelCode(java.lang.String hotelCode)
Set the 'HotelCode' attribute value. The code that uniquely identifies a single hotel property. The hotel code is decided between vendors.

Parameters:
hotelCode -

getHotelCityCode

public java.lang.String getHotelCityCode()
Get the 'HotelCityCode' attribute value. The IATA city code; for example DCA, ORD.

Returns:
value

setHotelCityCode

public void setHotelCityCode(java.lang.String hotelCityCode)
Set the 'HotelCityCode' attribute value. The IATA city code; for example DCA, ORD.

Parameters:
hotelCityCode -

getHotelName

public java.lang.String getHotelName()
Get the 'HotelName' attribute value. A text field used to communicate the proper name of the hotel.

Returns:
value

setHotelName

public void setHotelName(java.lang.String hotelName)
Set the 'HotelName' attribute value. A text field used to communicate the proper name of the hotel.

Parameters:
hotelName -

getHotelCodeContext

public java.lang.String getHotelCodeContext()
Get the 'HotelCodeContext' attribute value. A text field used to communicate the context (or source of - ex Sabre, Galileo, Worldspan, Amadeus) the HotelReferenceGroup codes.

Returns:
value

setHotelCodeContext

public void setHotelCodeContext(java.lang.String hotelCodeContext)
Set the 'HotelCodeContext' attribute value. A text field used to communicate the context (or source of - ex Sabre, Galileo, Worldspan, Amadeus) the HotelReferenceGroup codes.

Parameters:
hotelCodeContext -

getChainName

public java.lang.String getChainName()
Get the 'ChainName' attribute value. The name of the hotel chain (e.g., Hilton, Marriott, Hyatt).

Returns:
value

setChainName

public void setChainName(java.lang.String chainName)
Set the 'ChainName' attribute value. The name of the hotel chain (e.g., Hilton, Marriott, Hyatt).

Parameters:
chainName -

getBrandName

public java.lang.String getBrandName()
Get the 'BrandName' attribute value. The name of a brand of hotels (e.g., Courtyard, Hampton Inn).

Returns:
value

setBrandName

public void setBrandName(java.lang.String brandName)
Set the 'BrandName' attribute value. The name of a brand of hotels (e.g., Courtyard, Hampton Inn).

Parameters:
brandName -

getAreaID

public java.lang.String getAreaID()
Get the 'AreaID' attribute value. An identifier of an area as defined by a hotel reservation system.

Returns:
value

setAreaID

public void setAreaID(java.lang.String areaID)
Set the 'AreaID' attribute value. An identifier of an area as defined by a hotel reservation system.

Parameters:
areaID -