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

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

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

Defines the type of hotel such as luxury, extended stay, economy. 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="SegmentCategory" 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.SegmentCategory()
           
 
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.SegmentCategory

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

getCode

public java.lang.String getCode()
Get the 'Code' attribute value. Refer to OpenTravel Code List Segment Category Code (SEG).

Returns:
value

setCode

public void setCode(java.lang.String code)
Set the 'Code' attribute value. Refer to OpenTravel Code List Segment Category Code (SEG).

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 -