org.ota.pkg
Class ExtrasInfo.Criteria

java.lang.Object
  extended by org.ota.pkg.ExtrasInfo.Criteria
Enclosing class:
ExtrasInfo

public static class ExtrasInfo.Criteria
extends java.lang.Object

Conditions which must be met for an extra to be bookable e.g. age of passenger, booking of parent extra. 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="Criteria" minOccurs="0">
   <xs:complexType>
     <xs:attribute type="xs:string" use="optional" name="MinimumAge"/>
     <xs:attribute type="xs:string" use="optional" name="MaximumAge"/>
     <xs:attribute type="xs:string" use="optional" name="YearsExperience"/>
     <xs:attribute type="xs:boolean" use="optional" name="DateRequiredInd"/>
     <xs:attribute type="xs:boolean" use="optional" name="DurationRequiredInd"/>
     <xs:attribute type="xs:boolean" use="optional" name="StockControlledInd"/>
     <xs:attribute type="xs:int" use="optional" name="MaximumOccupancy"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
ExtrasInfo.Criteria()
           
 
Method Summary
 java.lang.Boolean getDateRequiredInd()
          Get the 'DateRequiredInd' attribute value.
 java.lang.Boolean getDurationRequiredInd()
          Get the 'DurationRequiredInd' attribute value.
 java.lang.String getMaximumAge()
          Get the 'MaximumAge' attribute value.
 java.lang.Integer getMaximumOccupancy()
          Get the 'MaximumOccupancy' attribute value.
 java.lang.String getMinimumAge()
          Get the 'MinimumAge' attribute value.
 java.lang.Boolean getStockControlledInd()
          Get the 'StockControlledInd' attribute value.
 java.lang.String getYearsExperience()
          Get the 'YearsExperience' attribute value.
 void setDateRequiredInd(java.lang.Boolean dateRequiredInd)
          Set the 'DateRequiredInd' attribute value.
 void setDurationRequiredInd(java.lang.Boolean durationRequiredInd)
          Set the 'DurationRequiredInd' attribute value.
 void setMaximumAge(java.lang.String maximumAge)
          Set the 'MaximumAge' attribute value.
 void setMaximumOccupancy(java.lang.Integer maximumOccupancy)
          Set the 'MaximumOccupancy' attribute value.
 void setMinimumAge(java.lang.String minimumAge)
          Set the 'MinimumAge' attribute value.
 void setStockControlledInd(java.lang.Boolean stockControlledInd)
          Set the 'StockControlledInd' attribute value.
 void setYearsExperience(java.lang.String yearsExperience)
          Set the 'YearsExperience' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtrasInfo.Criteria

public ExtrasInfo.Criteria()
Method Detail

getMinimumAge

public java.lang.String getMinimumAge()
Get the 'MinimumAge' attribute value. The minimum age qualification for an extra.

Returns:
value

setMinimumAge

public void setMinimumAge(java.lang.String minimumAge)
Set the 'MinimumAge' attribute value. The minimum age qualification for an extra.

Parameters:
minimumAge -

getMaximumAge

public java.lang.String getMaximumAge()
Get the 'MaximumAge' attribute value. The maximum age qualification for an extra.

Returns:
value

setMaximumAge

public void setMaximumAge(java.lang.String maximumAge)
Set the 'MaximumAge' attribute value. The maximum age qualification for an extra.

Parameters:
maximumAge -

getYearsExperience

public java.lang.String getYearsExperience()
Get the 'YearsExperience' attribute value. The minimum number of years of experience required to book this extra e.g. driving experiience for car rental.

Returns:
value

setYearsExperience

public void setYearsExperience(java.lang.String yearsExperience)
Set the 'YearsExperience' attribute value. The minimum number of years of experience required to book this extra e.g. driving experiience for car rental.

Parameters:
yearsExperience -

getDateRequiredInd

public java.lang.Boolean getDateRequiredInd()
Get the 'DateRequiredInd' attribute value. When 'true', a date must be supplied for the Extra request.

Returns:
value

setDateRequiredInd

public void setDateRequiredInd(java.lang.Boolean dateRequiredInd)
Set the 'DateRequiredInd' attribute value. When 'true', a date must be supplied for the Extra request.

Parameters:
dateRequiredInd -

getDurationRequiredInd

public java.lang.Boolean getDurationRequiredInd()
Get the 'DurationRequiredInd' attribute value. When 'true', a duration must be supplied for the Extra request.

Returns:
value

setDurationRequiredInd

public void setDurationRequiredInd(java.lang.Boolean durationRequiredInd)
Set the 'DurationRequiredInd' attribute value. When 'true', a duration must be supplied for the Extra request.

Parameters:
durationRequiredInd -

getStockControlledInd

public java.lang.Boolean getStockControlledInd()
Get the 'StockControlledInd' attribute value. When 'true', the availabilty of this extra needs to be checked; when 'false' the extra is available.

Returns:
value

setStockControlledInd

public void setStockControlledInd(java.lang.Boolean stockControlledInd)
Set the 'StockControlledInd' attribute value. When 'true', the availabilty of this extra needs to be checked; when 'false' the extra is available.

Parameters:
stockControlledInd -

getMaximumOccupancy

public java.lang.Integer getMaximumOccupancy()
Get the 'MaximumOccupancy' attribute value. The maximum number of people permitted for this extra (e.g. car occupancy)

Returns:
value

setMaximumOccupancy

public void setMaximumOccupancy(java.lang.Integer maximumOccupancy)
Set the 'MaximumOccupancy' attribute value. The maximum number of people permitted for this extra (e.g. car occupancy)

Parameters:
maximumOccupancy -