c89ae922cba2f41556a0cc03653be9c31afac476
[fleet.git] / src / edu / berkeley / fleet / api / Destination.java
1 package edu.berkeley.fleet.api;
2
3 public interface Destination {
4
5     /** return the Ship to which this BenkoBox belongs */
6     public 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 String getDestinationName();
14 }