org.ota.air
Class FareRuleResponseInfo.Routing

java.lang.Object
  extended by org.ota.air.FareRuleResponseInfo.Routing
Enclosing class:
FareRuleResponseInfo

public static class FareRuleResponseInfo.Routing
extends java.lang.Object

Specifies the routing for all the fares. 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="Routing" minOccurs="0" maxOccurs="99">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Info" minOccurs="0" maxOccurs="99">
         <!-- Reference to inner class Info -->
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:int" use="optional" name="Number"/>
     <xs:attribute type="xs:boolean" use="optional" name="RoutingConstructedInd"/>
     <xs:attribute type="xs:int" use="optional" name="MaximumPermittedMileage"/>
     <xs:attribute type="xs:string" use="optional" name="RoutingRestriction"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class FareRuleResponseInfo.Routing.Info
          The routing direction and city airports for the direction.
 
Constructor Summary
FareRuleResponseInfo.Routing()
           
 
Method Summary
 void addInfo(FareRuleResponseInfo.Routing.Info item)
          Add a 'Info' element item.
 void clearInfos()
          Remove all 'Info' element items.
 FareRuleResponseInfo.Routing.Info getInfo(int index)
          Get 'Info' element item by position.
 java.util.List<FareRuleResponseInfo.Routing.Info> getInfos()
          Get the list of 'Info' element items.
 java.lang.Integer getMaximumPermittedMileage()
          Get the 'MaximumPermittedMileage' attribute value.
 java.lang.Integer getNumber()
          Get the 'Number' attribute value.
 java.lang.Boolean getRoutingConstructedInd()
          Get the 'RoutingConstructedInd' attribute value.
 java.lang.String getRoutingRestriction()
          Get the 'RoutingRestriction' attribute value.
 void setInfos(java.util.List<FareRuleResponseInfo.Routing.Info> list)
          Set the list of 'Info' element items.
 void setMaximumPermittedMileage(java.lang.Integer maximumPermittedMileage)
          Set the 'MaximumPermittedMileage' attribute value.
 void setNumber(java.lang.Integer number)
          Set the 'Number' attribute value.
 void setRoutingConstructedInd(java.lang.Boolean routingConstructedInd)
          Set the 'RoutingConstructedInd' attribute value.
 void setRoutingRestriction(java.lang.String routingRestriction)
          Set the 'RoutingRestriction' attribute value.
 int sizeInfos()
          Get the number of 'Info' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FareRuleResponseInfo.Routing

public FareRuleResponseInfo.Routing()
Method Detail

getInfos

public java.util.List<FareRuleResponseInfo.Routing.Info> getInfos()
Get the list of 'Info' element items.

Returns:
list

setInfos

public void setInfos(java.util.List<FareRuleResponseInfo.Routing.Info> list)
Set the list of 'Info' element items.

Parameters:
list -

sizeInfos

public int sizeInfos()
Get the number of 'Info' element items.

Returns:
count

addInfo

public void addInfo(FareRuleResponseInfo.Routing.Info item)
Add a 'Info' element item.

Parameters:
item -

getInfo

public FareRuleResponseInfo.Routing.Info getInfo(int index)
Get 'Info' element item by position.

Parameters:
index -
Returns:
item

clearInfos

public void clearInfos()
Remove all 'Info' element items.


getNumber

public java.lang.Integer getNumber()
Get the 'Number' attribute value. A routing number for the fare.

Returns:
value

setNumber

public void setNumber(java.lang.Integer number)
Set the 'Number' attribute value. A routing number for the fare.

Parameters:
number -

getRoutingConstructedInd

public java.lang.Boolean getRoutingConstructedInd()
Get the 'RoutingConstructedInd' attribute value. If true, the routing was constructed. If false, it was not constructed.

Returns:
value

setRoutingConstructedInd

public void setRoutingConstructedInd(java.lang.Boolean routingConstructedInd)
Set the 'RoutingConstructedInd' attribute value. If true, the routing was constructed. If false, it was not constructed.

Parameters:
routingConstructedInd -

getMaximumPermittedMileage

public java.lang.Integer getMaximumPermittedMileage()
Get the 'MaximumPermittedMileage' attribute value. The maximum permitted mileage for the fare associated to this rule.

Returns:
value

setMaximumPermittedMileage

public void setMaximumPermittedMileage(java.lang.Integer maximumPermittedMileage)
Set the 'MaximumPermittedMileage' attribute value. The maximum permitted mileage for the fare associated to this rule.

Parameters:
maximumPermittedMileage -

getRoutingRestriction

public java.lang.String getRoutingRestriction()
Get the 'RoutingRestriction' attribute value. Restriction information about the routing.

Returns:
value

setRoutingRestriction

public void setRoutingRestriction(java.lang.String routingRestriction)
Set the 'RoutingRestriction' attribute value. Restriction information about the routing.

Parameters:
routingRestriction -