org.ota.pkg
Class ExtrasInfoRS.ExtraGroups.ExtraGroup

java.lang.Object
  extended by org.ota.pkg.ExtrasInfoRS.ExtraGroups.ExtraGroup
Enclosing class:
ExtrasInfoRS.ExtraGroups

public static class ExtrasInfoRS.ExtraGroups.ExtraGroup
extends java.lang.Object

Defines a grouping of extras which determines the relationship of one extra to another in that group e.g. only one extra from the group may be booked. 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="ExtraGroup" maxOccurs="99">
   <xs:complexType>
     <xs:attribute type="xs:string" use="optional" name="Code"/>
     <xs:attributeGroup ref="ns:ExtrasSelectionGroup"/>
     <xs:attribute type="xs:string" use="optional" name="ListofExtrasRPH"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
ExtrasInfoRS.ExtraGroups.ExtraGroup()
           
 
Method Summary
 java.lang.String getCode()
          Get the 'Code' attribute value.
 ExtrasSelectionGroup getExtrasSelectionGroup()
          Get the 'ExtrasSelectionGroup' attributeGroup value.
 java.lang.String getListofExtrasRPH()
          Get the 'ListofExtrasRPH' attribute value.
 void setCode(java.lang.String code)
          Set the 'Code' attribute value.
 void setExtrasSelectionGroup(ExtrasSelectionGroup extrasSelectionGroup)
          Set the 'ExtrasSelectionGroup' attributeGroup value.
 void setListofExtrasRPH(java.lang.String listofExtrasRPH)
          Set the 'ListofExtrasRPH' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtrasInfoRS.ExtraGroups.ExtraGroup

public ExtrasInfoRS.ExtraGroups.ExtraGroup()
Method Detail

getCode

public java.lang.String getCode()
Get the 'Code' attribute value. A code which links two or more Extras together, enabling a rule to be applied to all group members e.g. only one of the group may be booked, or any combination of extras may be booked.

Returns:
value

setCode

public void setCode(java.lang.String code)
Set the 'Code' attribute value. A code which links two or more Extras together, enabling a rule to be applied to all group members e.g. only one of the group may be booked, or any combination of extras may be booked.

Parameters:
code -

getExtrasSelectionGroup

public ExtrasSelectionGroup getExtrasSelectionGroup()
Get the 'ExtrasSelectionGroup' attributeGroup value. Selection type and rule code for an extra.

Returns:
value

setExtrasSelectionGroup

public void setExtrasSelectionGroup(ExtrasSelectionGroup extrasSelectionGroup)
Set the 'ExtrasSelectionGroup' attributeGroup value. Selection type and rule code for an extra.

Parameters:
extrasSelectionGroup -

getListofExtrasRPH

public java.lang.String getListofExtrasRPH()
Get the 'ListofExtrasRPH' attribute value. A list of the RPHs of the Extras which are in this ExtraGroup.

Returns:
value

setListofExtrasRPH

public void setListofExtrasRPH(java.lang.String listofExtrasRPH)
Set the 'ListofExtrasRPH' attribute value. A list of the RPHs of the Extras which are in this ExtraGroup.

Parameters:
listofExtrasRPH -