1 package edu.berkeley.fleet.api;
3 public abstract class Destination {
5 /** return the Ship to which this Pump belongs */
6 public abstract Ship getShip();
9 * this returns the third component of the name; that is in
10 * "ship.port.foo", it returns "foo", and in "ship.port" it
13 public abstract String getDestinationName();