org.ota.shared
Class SpecialRequest.SpecialRequestInner

java.lang.Object
  extended by org.ota.shared.Paragraph
      extended by org.ota.shared.SpecialRequest.SpecialRequestInner
Enclosing class:
SpecialRequest

public static class SpecialRequest.SpecialRequestInner
extends Paragraph

The SpecialRequest object indicates special requests for a particular guest, service or reservation. Each of these may be independent of any that are tied to the profile (see Profile Synchronization standard). 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="SpecialRequest" maxOccurs="unbounded">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:ParagraphType">
         <xs:attribute type="xs:string" use="optional" name="RequestCode"/>
         <xs:attribute type="xs:string" use="optional" name="CodeContext"/>
         <xs:attribute type="xs:int" use="optional" name="NumberOfUnits"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
 
Nested classes/interfaces inherited from class org.ota.shared.Paragraph
Paragraph.Choice
 
Constructor Summary
SpecialRequest.SpecialRequestInner()
           
 
Method Summary
 java.lang.String getCodeContext()
          Get the 'CodeContext' attribute value.
 java.lang.Integer getNumberOfUnits()
          Get the 'NumberOfUnits' attribute value.
 java.lang.String getRequestCode()
          Get the 'RequestCode' attribute value.
 void setCodeContext(java.lang.String codeContext)
          Set the 'CodeContext' attribute value.
 void setNumberOfUnits(java.lang.Integer numberOfUnits)
          Set the 'NumberOfUnits' attribute value.
 void setRequestCode(java.lang.String requestCode)
          Set the 'RequestCode' attribute value.
 
Methods inherited from class org.ota.shared.Paragraph
addChoice, clearChoices, getChoice, getChoices, getDateTimeStampGroup, getLanguage, getName, getParagraphNumber, setChoices, setDateTimeStampGroup, setLanguage, setName, setParagraphNumber, sizeChoices
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpecialRequest.SpecialRequestInner

public SpecialRequest.SpecialRequestInner()
Method Detail

getRequestCode

public java.lang.String getRequestCode()
Get the 'RequestCode' attribute value. This identifies a special request for this reservation and is typically hotel-specific.

Returns:
value

setRequestCode

public void setRequestCode(java.lang.String requestCode)
Set the 'RequestCode' attribute value. This identifies a special request for this reservation and is typically hotel-specific.

Parameters:
requestCode -

getCodeContext

public java.lang.String getCodeContext()
Get the 'CodeContext' attribute value. Identifies the source authority for the RequestCode.

Returns:
value

setCodeContext

public void setCodeContext(java.lang.String codeContext)
Set the 'CodeContext' attribute value. Identifies the source authority for the RequestCode.

Parameters:
codeContext -

getNumberOfUnits

public java.lang.Integer getNumberOfUnits()
Get the 'NumberOfUnits' attribute value. Allows you to pass the number of units that the special request is for (e.g., if 4 rooms are booked you may want 3 with double/double beds and 1 with a king).

Returns:
value

setNumberOfUnits

public void setNumberOfUnits(java.lang.Integer numberOfUnits)
Set the 'NumberOfUnits' attribute value. Allows you to pass the number of units that the special request is for (e.g., if 4 rooms are booked you may want 3 with double/double beds and 1 with a king).

Parameters:
numberOfUnits -