org.ota.hotel
Class Features.Feature

java.lang.Object
  extended by org.ota.hotel.Features.Feature
Enclosing class:
Features

public static class Features.Feature
extends java.lang.Object

Describes the security and physically challenged features that a hotel offers. 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="Feature" maxOccurs="unbounded">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Charge" minOccurs="0">
         <xs:complexType>
           <xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
         </xs:complexType>
       </xs:element>
       <xs:element type="ns:MultimediaDescriptionsType" name="MultimediaDescriptions" minOccurs="0"/>
       <xs:element type="xs:string" name="DescriptiveText" minOccurs="0"/>
     </xs:sequence>
     <xs:attributeGroup ref="ns:CodeInfoGroup"/>
     <xs:attribute type="xs:string" use="optional" name="AccessibleCode"/>
     <xs:attribute type="xs:string" use="optional" name="SecurityCode"/>
     <xs:attribute type="xs:string" use="optional" name="ExistsCode"/>
     <xs:attribute type="xs:string" use="optional" name="ProximityCode"/>
     <xs:attributeGroup ref="ns:ID_OptionalGroup"/>
   </xs:complexType>
 </xs:element>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ID_OptionalGroup">
   <xs:attribute type="xs:string" use="optional" name="ID"/>
 </xs:attributeGroup>
 


Constructor Summary
Features.Feature()
           
 
Method Summary
 java.lang.String getAccessibleCode()
          Get the 'AccessibleCode' attribute value.
 CurrencyAmountGroup getCharge()
          Get the 'CurrencyAmountGroup' attributeGroup value.
 CodeInfoGroup getCodeInfoGroup()
          Get the 'CodeInfoGroup' attributeGroup value.
 java.lang.String getDescriptiveText()
          Get the 'DescriptiveText' element value.
 java.lang.String getExistsCode()
          Get the 'ExistsCode' attribute value.
 java.lang.String getID()
          Get the 'ID' attribute value.
 MultimediaDescriptions getMultimediaDescriptions()
          Get the 'MultimediaDescriptions' element value.
 java.lang.String getProximityCode()
          Get the 'ProximityCode' attribute value.
 java.lang.String getSecurityCode()
          Get the 'SecurityCode' attribute value.
 void setAccessibleCode(java.lang.String accessibleCode)
          Set the 'AccessibleCode' attribute value.
 void setCharge(CurrencyAmountGroup charge)
          Set the 'CurrencyAmountGroup' attributeGroup value.
 void setCodeInfoGroup(CodeInfoGroup codeInfoGroup)
          Set the 'CodeInfoGroup' attributeGroup value.
 void setDescriptiveText(java.lang.String descriptiveText)
          Set the 'DescriptiveText' element value.
 void setExistsCode(java.lang.String existsCode)
          Set the 'ExistsCode' attribute value.
 void setID(java.lang.String ID)
          Set the 'ID' attribute value.
 void setMultimediaDescriptions(MultimediaDescriptions multimediaDescriptions)
          Set the 'MultimediaDescriptions' element value.
 void setProximityCode(java.lang.String proximityCode)
          Set the 'ProximityCode' attribute value.
 void setSecurityCode(java.lang.String securityCode)
          Set the 'SecurityCode' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Features.Feature

public Features.Feature()
Method Detail

getCharge

public CurrencyAmountGroup getCharge()
Get the 'CurrencyAmountGroup' attributeGroup value. Indicates whether this feature is chargeable.

Returns:
value

setCharge

public void setCharge(CurrencyAmountGroup charge)
Set the 'CurrencyAmountGroup' attributeGroup value. Indicates whether this feature is chargeable.

Parameters:
charge -

getMultimediaDescriptions

public MultimediaDescriptions getMultimediaDescriptions()
Get the 'MultimediaDescriptions' element value. Multimedia information about the feature.

Returns:
value

setMultimediaDescriptions

public void setMultimediaDescriptions(MultimediaDescriptions multimediaDescriptions)
Set the 'MultimediaDescriptions' element value. Multimedia information about the feature.

Parameters:
multimediaDescriptions -

getDescriptiveText

public java.lang.String getDescriptiveText()
Get the 'DescriptiveText' element value. Descriptive text that describes the feature.

Returns:
value

setDescriptiveText

public void setDescriptiveText(java.lang.String descriptiveText)
Set the 'DescriptiveText' element value. Descriptive text that describes the feature.

Parameters:
descriptiveText -

getCodeInfoGroup

public CodeInfoGroup getCodeInfoGroup()
Get the 'CodeInfoGroup' attributeGroup value.

Returns:
value

setCodeInfoGroup

public void setCodeInfoGroup(CodeInfoGroup codeInfoGroup)
Set the 'CodeInfoGroup' attributeGroup value.

Parameters:
codeInfoGroup -

getAccessibleCode

public java.lang.String getAccessibleCode()
Get the 'AccessibleCode' attribute value. Refer to OpenTravel Code List Physically Challenged Feature Code (PHY). For any of the codes which apply to a room count, use the GuestRoom\@Quantity. Additionally, GuestRoom\@RoomTypeName may be used to pass the specific room type or you could pass "all" or "total" to indicate the AccessibleCode applies to the total hotel.

Returns:
value

setAccessibleCode

public void setAccessibleCode(java.lang.String accessibleCode)
Set the 'AccessibleCode' attribute value. Refer to OpenTravel Code List Physically Challenged Feature Code (PHY). For any of the codes which apply to a room count, use the GuestRoom\@Quantity. Additionally, GuestRoom\@RoomTypeName may be used to pass the specific room type or you could pass "all" or "total" to indicate the AccessibleCode applies to the total hotel.

Parameters:
accessibleCode -

getSecurityCode

public java.lang.String getSecurityCode()
Get the 'SecurityCode' attribute value. Refer to OpenTravel Code List Security Feature Code (SEC).

Returns:
value

setSecurityCode

public void setSecurityCode(java.lang.String securityCode)
Set the 'SecurityCode' attribute value. Refer to OpenTravel Code List Security Feature Code (SEC).

Parameters:
securityCode -

getExistsCode

public java.lang.String getExistsCode()
Get the 'ExistsCode' attribute value. This attribute is used to explicitly define whether an amenity or service is offered. Refer to OpenTravel Codelist Option Type Code (OTC). This is used in conjunction with AccessibleCode or SecurityCode.

Returns:
value

setExistsCode

public void setExistsCode(java.lang.String existsCode)
Set the 'ExistsCode' attribute value. This attribute is used to explicitly define whether an amenity or service is offered. Refer to OpenTravel Codelist Option Type Code (OTC). This is used in conjunction with AccessibleCode or SecurityCode.

Parameters:
existsCode -

getProximityCode

public java.lang.String getProximityCode()
Get the 'ProximityCode' attribute value. Denotes the general location of a feature. Refer to OpenTravel Codelist Proximity (PRX).

Returns:
value

setProximityCode

public void setProximityCode(java.lang.String proximityCode)
Set the 'ProximityCode' attribute value. Denotes the general location of a feature. Refer to OpenTravel Codelist Proximity (PRX).

Parameters:
proximityCode -

getID

public java.lang.String getID()
Get the 'ID' attribute value. A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.

Returns:
value

setID

public void setID(java.lang.String ID)
Set the 'ID' attribute value. A unique identifying value assigned by the creating system. The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.

Parameters:
ID -