org.ota.cruise
Class CruiseProfile.CruiseProfileInner

java.lang.Object
  extended by org.ota.cruise.CruiseProfile.CruiseProfileInner
Enclosing class:
CruiseProfile

public static class CruiseProfile.CruiseProfileInner
extends java.lang.Object

Contains the cruise attribute information, identifying those items which are mandatory, modifiable, or have required maximums. 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="CruiseProfile" maxOccurs="99">
   <xs:complexType>
     <xs:attribute type="xs:string" use="optional" name="Code"/>
     <xs:attribute type="xs:string" use="optional" name="MaxQuantity"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
CruiseProfile.CruiseProfileInner()
           
 
Method Summary
 java.lang.String getCode()
          Get the 'Code' attribute value.
 java.lang.String getMaxQuantity()
          Get the 'MaxQuantity' attribute value.
 void setCode(java.lang.String code)
          Set the 'Code' attribute value.
 void setMaxQuantity(java.lang.String maxQuantity)
          Set the 'MaxQuantity' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CruiseProfile.CruiseProfileInner

public CruiseProfile.CruiseProfileInner()
Method Detail

getCode

public java.lang.String getCode()
Get the 'Code' attribute value. Identifies the cruise options for which parameters are being set. Refer to OpenTravel Code table Cruise Profile Type (CPT).

Returns:
value

setCode

public void setCode(java.lang.String code)
Set the 'Code' attribute value. Identifies the cruise options for which parameters are being set. Refer to OpenTravel Code table Cruise Profile Type (CPT).

Parameters:
code -

getMaxQuantity

public java.lang.String getMaxQuantity()
Get the 'MaxQuantity' attribute value. Specifies the maximum quantity allowed for the option identified by the CruiseOption attribute. Typically only used when the ApplicationProfileTypeIndentifier contains the value "MAX".

Returns:
value

setMaxQuantity

public void setMaxQuantity(java.lang.String maxQuantity)
Set the 'MaxQuantity' attribute value. Specifies the maximum quantity allowed for the option identified by the CruiseOption attribute. Typically only used when the ApplicationProfileTypeIndentifier contains the value "MAX".

Parameters:
maxQuantity -