org.ota.air
Class FareDisplayRS.FareDisplayInfos.Routing

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

public static class FareDisplayRS.FareDisplayInfos.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="required" name="Number"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class FareDisplayRS.FareDisplayInfos.Routing.Info
          The routing direction and city airports for the direction.
 
Constructor Summary
FareDisplayRS.FareDisplayInfos.Routing()
           
 
Method Summary
 void addInfo(FareDisplayRS.FareDisplayInfos.Routing.Info item)
          Add a 'Info' element item.
 void clearInfos()
          Remove all 'Info' element items.
 FareDisplayRS.FareDisplayInfos.Routing.Info getInfo(int index)
          Get 'Info' element item by position.
 java.util.List<FareDisplayRS.FareDisplayInfos.Routing.Info> getInfos()
          Get the list of 'Info' element items.
 java.lang.Integer getNumber()
          Get the 'Number' attribute value.
 void setInfos(java.util.List<FareDisplayRS.FareDisplayInfos.Routing.Info> list)
          Set the list of 'Info' element items.
 void setNumber(java.lang.Integer number)
          Set the 'Number' 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

FareDisplayRS.FareDisplayInfos.Routing

public FareDisplayRS.FareDisplayInfos.Routing()
Method Detail

getInfos

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

Returns:
list

setInfos

public void setInfos(java.util.List<FareDisplayRS.FareDisplayInfos.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(FareDisplayRS.FareDisplayInfos.Routing.Info item)
Add a 'Info' element item.

Parameters:
item -

getInfo

public FareDisplayRS.FareDisplayInfos.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 -