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

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

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

Defines the particular type of hotel (e.g., golf, ski, bed and breakfast). 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="HotelCategory" 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.HotelCategory()
           
 
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.HotelCategory

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

getCode

public java.lang.String getCode()
Get the 'Code' attribute value. Refer to OpenTravel Code List Property Class Type (PCT).

Returns:
value

setCode

public void setCode(java.lang.String code)
Set the 'Code' attribute value. Refer to OpenTravel Code List Property Class Type (PCT).

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.

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.

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 -