com.pathfinder.api
Class TransitEdge
java.lang.Object
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
-
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.