01: package com.titan.cruise;
02:
03: import com.titan.ship.*;
04: import java.util.Collection;
05:
06: // Cruise EJB's local interface
07: public interface CruiseLocal extends javax.ejb.EJBLocalObject {
08:
09: public String getName();
10:
11: public void setName(String name);
12:
13: public ShipLocal getShip();
14:
15: public void setShip(ShipLocal ship);
16:
17: public void setReservations(Collection res);
18:
19: public Collection getReservations();
20:
21: }
|