org.ota.shared
Class Transportation

java.lang.Object
  extended by org.ota.shared.Transportation

public class Transportation
extends java.lang.Object

Defines the type of transportation offered. Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="TransportationType">
   <xs:sequence>
     <xs:element name="Transportation" maxOccurs="unbounded">
       <!-- Reference to inner class TransportationInner -->
     </xs:element>
   </xs:sequence>
 </xs:complexType>
 


Nested Class Summary
static class Transportation.TransportationInner
          Detailed transportation information.
 
Constructor Summary
Transportation()
           
 
Method Summary
 void addTransportation(Transportation.TransportationInner item)
          Add a 'Transportation' element item.
 void clearTransportations()
          Remove all 'Transportation' element items.
 Transportation.TransportationInner getTransportation(int index)
          Get 'Transportation' element item by position.
 java.util.List<Transportation.TransportationInner> getTransportations()
          Get the list of 'Transportation' element items.
 void setTransportations(java.util.List<Transportation.TransportationInner> list)
          Set the list of 'Transportation' element items.
 int sizeTransportations()
          Get the number of 'Transportation' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Transportation

public Transportation()
Method Detail

getTransportations

public java.util.List<Transportation.TransportationInner> getTransportations()
Get the list of 'Transportation' element items.

Returns:
list

setTransportations

public void setTransportations(java.util.List<Transportation.TransportationInner> list)
Set the list of 'Transportation' element items.

Parameters:
list -

sizeTransportations

public int sizeTransportations()
Get the number of 'Transportation' element items.

Returns:
count

addTransportation

public void addTransportation(Transportation.TransportationInner item)
Add a 'Transportation' element item.

Parameters:
item -

getTransportation

public Transportation.TransportationInner getTransportation(int index)
Get 'Transportation' element item by position.

Parameters:
index -
Returns:
item

clearTransportations

public void clearTransportations()
Remove all 'Transportation' element items.