org.ota.shared
Class OriginDestinationInformation.ConnectionLocations

java.lang.Object
  extended by org.ota.shared.OriginDestinationInformation.ConnectionLocations
Enclosing class:
OriginDestinationInformation

public static class OriginDestinationInformation.ConnectionLocations
extends java.lang.Object

Travel Connection Location - for example, air uses the IATA 3 letter code. 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" type="ns:ConnectionType" name="ConnectionLocations" minOccurs="0"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ConnectionType">
   <xs:sequence>
     <xs:element name="ConnectionLocation" maxOccurs="9">
       <!-- Reference to inner class ConnectionLocation -->
     </xs:element>
   </xs:sequence>
 </xs:complexType>
 


Nested Class Summary
static class OriginDestinationInformation.ConnectionLocations.ConnectionLocation
          Specifies a connection location, preference level, min connection time, and whether the location is allowed for stopping or changing.
 
Constructor Summary
OriginDestinationInformation.ConnectionLocations()
           
 
Method Summary
 void addConnectionLocation(OriginDestinationInformation.ConnectionLocations.ConnectionLocation item)
          Add a 'ConnectionLocation' element item.
 void clearConnectionLocations()
          Remove all 'ConnectionLocation' element items.
 OriginDestinationInformation.ConnectionLocations.ConnectionLocation getConnectionLocation(int index)
          Get 'ConnectionLocation' element item by position.
 java.util.List<OriginDestinationInformation.ConnectionLocations.ConnectionLocation> getConnectionLocations()
          Get the list of 'ConnectionLocation' element items.
 void setConnectionLocations(java.util.List<OriginDestinationInformation.ConnectionLocations.ConnectionLocation> list)
          Set the list of 'ConnectionLocation' element items.
 int sizeConnectionLocations()
          Get the number of 'ConnectionLocation' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OriginDestinationInformation.ConnectionLocations

public OriginDestinationInformation.ConnectionLocations()
Method Detail

getConnectionLocations

public java.util.List<OriginDestinationInformation.ConnectionLocations.ConnectionLocation> getConnectionLocations()
Get the list of 'ConnectionLocation' element items. To specify connection locations, preference level for each, min connection time, and whether location is specified for stopping or changing.

Returns:
list

setConnectionLocations

public void setConnectionLocations(java.util.List<OriginDestinationInformation.ConnectionLocations.ConnectionLocation> list)
Set the list of 'ConnectionLocation' element items. To specify connection locations, preference level for each, min connection time, and whether location is specified for stopping or changing.

Parameters:
list -

sizeConnectionLocations

public int sizeConnectionLocations()
Get the number of 'ConnectionLocation' element items.

Returns:
count

addConnectionLocation

public void addConnectionLocation(OriginDestinationInformation.ConnectionLocations.ConnectionLocation item)
Add a 'ConnectionLocation' element item.

Parameters:
item -

getConnectionLocation

public OriginDestinationInformation.ConnectionLocations.ConnectionLocation getConnectionLocation(int index)
Get 'ConnectionLocation' element item by position.

Parameters:
index -
Returns:
item

clearConnectionLocations

public void clearConnectionLocations()
Remove all 'ConnectionLocation' element items.