org.ota.hotel
Class RoutingHop

java.lang.Object
  extended by org.ota.hotel.RoutingHop

public class RoutingHop
extends java.lang.Object

A collection of RoutingHop objects. This details the path that the original request or notification traveled. 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="RoutingHopType">
   <xs:sequence>
     <xs:element name="RoutingHop" maxOccurs="unbounded">
       <!-- Reference to inner class RoutingHopInner -->
     </xs:element>
   </xs:sequence>
 </xs:complexType>
 


Nested Class Summary
static class RoutingHop.RoutingHopInner
          A RoutingHop object conveys information about the path that this notification update took (e.g.
 
Constructor Summary
RoutingHop()
           
 
Method Summary
 void addRoutingHop(RoutingHop.RoutingHopInner item)
          Add a 'RoutingHop' element item.
 void clearRoutingHops()
          Remove all 'RoutingHop' element items.
 RoutingHop.RoutingHopInner getRoutingHop(int index)
          Get 'RoutingHop' element item by position.
 java.util.List<RoutingHop.RoutingHopInner> getRoutingHops()
          Get the list of 'RoutingHop' element items.
 void setRoutingHops(java.util.List<RoutingHop.RoutingHopInner> list)
          Set the list of 'RoutingHop' element items.
 int sizeRoutingHops()
          Get the number of 'RoutingHop' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoutingHop

public RoutingHop()
Method Detail

getRoutingHops

public java.util.List<RoutingHop.RoutingHopInner> getRoutingHops()
Get the list of 'RoutingHop' element items.

Returns:
list

setRoutingHops

public void setRoutingHops(java.util.List<RoutingHop.RoutingHopInner> list)
Set the list of 'RoutingHop' element items.

Parameters:
list -

sizeRoutingHops

public int sizeRoutingHops()
Get the number of 'RoutingHop' element items.

Returns:
count

addRoutingHop

public void addRoutingHop(RoutingHop.RoutingHopInner item)
Add a 'RoutingHop' element item.

Parameters:
item -

getRoutingHop

public RoutingHop.RoutingHopInner getRoutingHop(int index)
Get 'RoutingHop' element item by position.

Parameters:
index -
Returns:
item

clearRoutingHops

public void clearRoutingHops()
Remove all 'RoutingHop' element items.