org.ota.pkg
Class ExtrasSelectionGroup

java.lang.Object
  extended by org.ota.pkg.ExtrasSelectionGroup

public class ExtrasSelectionGroup
extends java.lang.Object

Selection type and rule code for an extra. 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="ExtrasSelectionGroup">
   <xs:attribute use="optional" name="SelectionType">
     <xs:simpleType>
       <!-- Reference to inner class Selection -->
     </xs:simpleType>
   </xs:attribute>
   <xs:attribute use="optional" name="RuleCode">
     <xs:simpleType>
       <!-- Reference to inner class RuleCode -->
     </xs:simpleType>
   </xs:attribute>
 </xs:attributeGroup>
 


Nested Class Summary
static class ExtrasSelectionGroup.RuleCode
          Specifies the type of linked extras allowed : OneOf (only one of the linked extras may be booked) or AnyOf (any or all of the dependants may be booked Schema fragment(s) for this class:
static class ExtrasSelectionGroup.Selection
          Used to indicate whether an Extra must be booked (Mandatory), may be requested (Optional) or included automatically but may be removed (Removeable).
 
Constructor Summary
ExtrasSelectionGroup()
           
 
Method Summary
 ExtrasSelectionGroup.RuleCode getRuleCode()
          Get the 'RuleCode' attribute value.
 ExtrasSelectionGroup.Selection getSelection()
          Get the 'SelectionType' attribute value.
 void setRuleCode(ExtrasSelectionGroup.RuleCode ruleCode)
          Set the 'RuleCode' attribute value.
 void setSelection(ExtrasSelectionGroup.Selection selection)
          Set the 'SelectionType' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtrasSelectionGroup

public ExtrasSelectionGroup()
Method Detail

getSelection

public ExtrasSelectionGroup.Selection getSelection()
Get the 'SelectionType' attribute value.

Returns:
value

setSelection

public void setSelection(ExtrasSelectionGroup.Selection selection)
Set the 'SelectionType' attribute value.

Parameters:
selection -

getRuleCode

public ExtrasSelectionGroup.RuleCode getRuleCode()
Get the 'RuleCode' attribute value.

Returns:
value

setRuleCode

public void setRuleCode(ExtrasSelectionGroup.RuleCode ruleCode)
Set the 'RuleCode' attribute value.

Parameters:
ruleCode -