make api.Destination a class rather than an interface
[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 BenkoBox 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 }