com.pathfinder.api
Class TransitEdge

java.lang.Object
  extended by com.pathfinder.api.TransitEdge
All Implemented Interfaces:
java.io.Serializable

public final class TransitEdge
extends java.lang.Object
implements java.io.Serializable

Represents an edge in a path through a graph, describing the route of a cargo.

See Also:
Serialized Form

Constructor Summary
TransitEdge(java.lang.String voyageNumber, java.lang.String fromUnLocode, java.lang.String toUnLocode, java.util.Date fromDate, java.util.Date toDate)
          Constructor.
 
Method Summary
 java.util.Date getFromDate()
           
 java.lang.String getFromUnLocode()
           
 java.util.Date getToDate()
           
 java.lang.String getToUnLocode()
           
 java.lang.String getVoyageNumber()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransitEdge

public TransitEdge(java.lang.String voyageNumber,
                   java.lang.String fromUnLocode,
                   java.lang.String toUnLocode,
                   java.util.Date fromDate,
                   java.util.Date toDate)
Constructor.

Parameters:
voyageNumber -
fromUnLocode -
toUnLocode -
fromDate -
toDate -
Method Detail

getVoyageNumber

public java.lang.String getVoyageNumber()

getFromUnLocode

public java.lang.String getFromUnLocode()

getToUnLocode

public java.lang.String getToUnLocode()

getFromDate

public java.util.Date getFromDate()

getToDate

public java.util.Date getToDate()


Copyright © 2009. All Rights Reserved.