org.ota.rail
Class AvailRS.OriginDestinationOptions.OriginDestinationOption.Journey.FareRPHs

java.lang.Object
  extended by org.ota.rail.AvailRS.OriginDestinationOptions.OriginDestinationOption.Journey.FareRPHs
Enclosing class:
AvailRS.OriginDestinationOptions.OriginDestinationOption.Journey

public static class AvailRS.OriginDestinationOptions.OriginDestinationOption.Journey.FareRPHs
extends java.lang.Object

Reference Place Holders to associate specific fares to this specific route. When offered by the sender of this message, this collection of RPHs provides a cross reference between fares and route 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="FareRPHs" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="xs:string" name="FareRPH" maxOccurs="unbounded"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
AvailRS.OriginDestinationOptions.OriginDestinationOption.Journey.FareRPHs()
           
 
Method Summary
 void addFareRPH(java.lang.String item)
          Add a 'FareRPH' element item.
 void clearFareRPHs()
          Remove all 'FareRPH' element items.
 java.lang.String getFareRPH(int index)
          Get 'FareRPH' element item by position.
 java.util.List<java.lang.String> getFareRPHs()
          Get the list of 'FareRPH' element items.
 void setFareRPHs(java.util.List<java.lang.String> list)
          Set the list of 'FareRPH' element items.
 int sizeFareRPHs()
          Get the number of 'FareRPH' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvailRS.OriginDestinationOptions.OriginDestinationOption.Journey.FareRPHs

public AvailRS.OriginDestinationOptions.OriginDestinationOption.Journey.FareRPHs()
Method Detail

getFareRPHs

public java.util.List<java.lang.String> getFareRPHs()
Get the list of 'FareRPH' element items. One specific cross reference to fare offered on this route.

Returns:
list

setFareRPHs

public void setFareRPHs(java.util.List<java.lang.String> list)
Set the list of 'FareRPH' element items. One specific cross reference to fare offered on this route.

Parameters:
list -

sizeFareRPHs

public int sizeFareRPHs()
Get the number of 'FareRPH' element items.

Returns:
count

addFareRPH

public void addFareRPH(java.lang.String item)
Add a 'FareRPH' element item.

Parameters:
item -

getFareRPH

public java.lang.String getFareRPH(int index)
Get 'FareRPH' element item by position.

Parameters:
index -
Returns:
item

clearFareRPHs

public void clearFareRPHs()
Remove all 'FareRPH' element items.