transport
Class TransportationObject

java.lang.Object
  extended by transport.TransportationObject
Direct Known Subclasses:
Line, Network, Station

public class TransportationObject
extends java.lang.Object

Parent class of all objects found in a public transportation system (the network itself, lines, stations).


Method Summary
 java.lang.String getName()
          Returns the name of the transportation object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()
Returns the name of the transportation object.

Returns:
the name