org.ota.hotel
Class HotelDescriptiveContent.HotelInfo.CategoryCodes.LocationCategory

java.lang.Object
  extended by org.ota.hotel.HotelDescriptiveContent.HotelInfo.CategoryCodes.LocationCategory
Enclosing class:
HotelDescriptiveContent.HotelInfo.CategoryCodes

public static class HotelDescriptiveContent.HotelInfo.CategoryCodes.LocationCategory
extends java.lang.Object

Defines the general location of the hotel such as airport, suburban, downtown. 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="LocationCategory" minOccurs="0" maxOccurs="unbounded">
   <xs:complexType>
     <xs:attribute type="xs:string" use="optional" name="Code"/>
     <xs:attributeGroup ref="ns:CodeInfoGroup"/>
     <xs:attribute type="xs:string" use="optional" name="ExistsCode"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
HotelDescriptiveContent.HotelInfo.CategoryCodes.LocationCategory()
           
 
Method Summary
 java.lang.String getCode()
          Get the 'Code' attribute value.
 CodeInfoGroup getCodeInfoGroup()
          Get the 'CodeInfoGroup' attributeGroup value.
 java.lang.String getExistsCode()
          Get the 'ExistsCode' attribute value.
 void setCode(java.lang.String code)
          Set the 'Code' attribute value.
 void setCodeInfoGroup(CodeInfoGroup codeInfoGroup)
          Set the 'CodeInfoGroup' attributeGroup value.
 void setExistsCode(java.lang.String existsCode)
          Set the 'ExistsCode' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelDescriptiveContent.HotelInfo.CategoryCodes.LocationCategory

public HotelDescriptiveContent.HotelInfo.CategoryCodes.LocationCategory()
Method Detail

getCode

public java.lang.String getCode()
Get the 'Code' attribute value. This defines the location of the hotel (e.g. downtown, airport or suburban, etc.). Refer to OpenTravel Code List Location Category Codes (LOC).

Returns:
value

setCode

public void setCode(java.lang.String code)
Set the 'Code' attribute value. This defines the location of the hotel (e.g. downtown, airport or suburban, etc.). Refer to OpenTravel Code List Location Category Codes (LOC).

Parameters:
code -

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. The code detail may provide the name of the suburb in which the hotel resides or other specifics about the location type.

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. The code detail may provide the name of the suburb in which the hotel resides or other specifics about the location type.

Parameters:
codeInfoGroup -

getExistsCode

public java.lang.String getExistsCode()
Get the 'ExistsCode' attribute value. This attribute is used to explicitly define whether the Code applies. Refer to OpenTravel Code list Option Type Code (OTC). This is used in conjunction with Code.

Returns:
value

setExistsCode

public void setExistsCode(java.lang.String existsCode)
Set the 'ExistsCode' attribute value. This attribute is used to explicitly define whether the Code applies. Refer to OpenTravel Code list Option Type Code (OTC). This is used in conjunction with Code.

Parameters:
existsCode -