eeda1d23b171c7fb85974d5549829be7bd1e445f
[fleet.git] / src / edu / berkeley / fleet / api / Destination.java
1 package edu.berkeley.fleet.api;
2
3 public abstract class Destination {
4
5     /** return the Ship to which this Pump belongs */
6     public abstract Ship   getShip();
7
8     /**
9      *  this returns the third component of the name; that is in
10      *  "ship.port.foo", it returns "foo", and in "ship.port" it
11      *  returns ""
12      */
13     public abstract String getDestinationName();
14 }