org.ota.cruise
Class CruiseCabinGroup

java.lang.Object
  extended by org.ota.cruise.CruiseCabinGroup

public class CruiseCabinGroup
extends java.lang.Object

Contains the cabin-specific information. Schema fragment(s) for this class:

 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="CruiseCabinGroup">
   <xs:attribute type="xs:string" use="required" name="CabinNumber"/>
   <xs:attribute type="xs:int" use="optional" name="MaxOccupancy"/>
   <xs:attribute type="xs:boolean" use="optional" name="DeclineIndicator"/>
   <xs:attribute type="xs:boolean" use="optional" name="HeldIndicator"/>
 </xs:attributeGroup>
 


Constructor Summary
CruiseCabinGroup()
           
 
Method Summary
 java.lang.String getCabinNumber()
          Get the 'CabinNumber' attribute value.
 java.lang.Boolean getDeclineIndicator()
          Get the 'DeclineIndicator' attribute value.
 java.lang.Boolean getHeldIndicator()
          Get the 'HeldIndicator' attribute value.
 java.lang.Integer getMaxOccupancy()
          Get the 'MaxOccupancy' attribute value.
 void setCabinNumber(java.lang.String cabinNumber)
          Set the 'CabinNumber' attribute value.
 void setDeclineIndicator(java.lang.Boolean declineIndicator)
          Set the 'DeclineIndicator' attribute value.
 void setHeldIndicator(java.lang.Boolean heldIndicator)
          Set the 'HeldIndicator' attribute value.
 void setMaxOccupancy(java.lang.Integer maxOccupancy)
          Set the 'MaxOccupancy' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CruiseCabinGroup

public CruiseCabinGroup()
Method Detail

getCabinNumber

public java.lang.String getCabinNumber()
Get the 'CabinNumber' attribute value. The number identifying the cabin.

Returns:
value

setCabinNumber

public void setCabinNumber(java.lang.String cabinNumber)
Set the 'CabinNumber' attribute value. The number identifying the cabin.

Parameters:
cabinNumber -

getMaxOccupancy

public java.lang.Integer getMaxOccupancy()
Get the 'MaxOccupancy' attribute value. Specifies the Max occupancy of the Cabin

Returns:
value

setMaxOccupancy

public void setMaxOccupancy(java.lang.Integer maxOccupancy)
Set the 'MaxOccupancy' attribute value. Specifies the Max occupancy of the Cabin

Parameters:
maxOccupancy -

getDeclineIndicator

public java.lang.Boolean getDeclineIndicator()
Get the 'DeclineIndicator' attribute value. Can be true in event that wait list category is cleared at booking retrieval time. (Possibly used by CabinUnhold.)

Returns:
value

setDeclineIndicator

public void setDeclineIndicator(java.lang.Boolean declineIndicator)
Set the 'DeclineIndicator' attribute value. Can be true in event that wait list category is cleared at booking retrieval time. (Possibly used by CabinUnhold.)

Parameters:
declineIndicator -

getHeldIndicator

public java.lang.Boolean getHeldIndicator()
Get the 'HeldIndicator' attribute value. When true, the cabin is held. When false, the cabin is not being held.

Returns:
value

setHeldIndicator

public void setHeldIndicator(java.lang.Boolean heldIndicator)
Set the 'HeldIndicator' attribute value. When true, the cabin is held. When false, the cabin is not being held.

Parameters:
heldIndicator -