org.ota.hotel
Class HotelDescriptiveContent.HotelInfo.HotelInfoCodes.HotelInfoCode

java.lang.Object
  extended by org.ota.hotel.HotelDescriptiveContent.HotelInfo.HotelInfoCodes.HotelInfoCode
Enclosing class:
HotelDescriptiveContent.HotelInfo.HotelInfoCodes

public static class HotelDescriptiveContent.HotelInfo.HotelInfoCodes.HotelInfoCode
extends java.lang.Object

Contains code information about the hotel. 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="HotelInfoCode" maxOccurs="unbounded">
   <xs:complexType>
     <xs:attribute type="xs:string" use="optional" name="Code"/>
     <xs:attributeGroup ref="ns:CodeInfoGroup"/>
     <xs:attributeGroup ref="ns:QuantityGroup"/>
     <xs:attribute type="xs:string" use="optional" name="OptionCode"/>
   </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>
 


Constructor Summary
HotelDescriptiveContent.HotelInfo.HotelInfoCodes.HotelInfoCode()
           
 
Method Summary
 java.lang.String getCode()
          Get the 'Code' attribute value.
 CodeInfoGroup getCodeInfoGroup()
          Get the 'CodeInfoGroup' attributeGroup value.
 java.lang.String getOptionCode()
          Get the 'OptionCode' attribute value.
 java.lang.Integer getQuantity()
          Get the 'Quantity' attribute value.
 void setCode(java.lang.String code)
          Set the 'Code' attribute value.
 void setCodeInfoGroup(CodeInfoGroup codeInfoGroup)
          Set the 'CodeInfoGroup' attributeGroup value.
 void setOptionCode(java.lang.String optionCode)
          Set the 'OptionCode' attribute value.
 void setQuantity(java.lang.Integer quantity)
          Set the 'Quantity' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelDescriptiveContent.HotelInfo.HotelInfoCodes.HotelInfoCode

public HotelDescriptiveContent.HotelInfo.HotelInfoCodes.HotelInfoCode()
Method Detail

getCode

public java.lang.String getCode()
Get the 'Code' attribute value. Refer to OpenTravel Code List Hotel Information Code (HIC). Maybe used in conjunction with the OptionCode. Code examples are 51% minority owned and 51% non-minority woman owned.

Returns:
value

setCode

public void setCode(java.lang.String code)
Set the 'Code' attribute value. Refer to OpenTravel Code List Hotel Information Code (HIC). Maybe used in conjunction with the OptionCode. Code examples are 51% minority owned and 51% non-minority woman owned.

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 -

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 -

getOptionCode

public java.lang.String getOptionCode()
Get the 'OptionCode' attribute value. Refer to OpenTravel Code List Option Type Code (OTC) (e.g., yes, no, not applicable, not available).

Returns:
value

setOptionCode

public void setOptionCode(java.lang.String optionCode)
Set the 'OptionCode' attribute value. Refer to OpenTravel Code List Option Type Code (OTC) (e.g., yes, no, not applicable, not available).

Parameters:
optionCode -