01: package com.titan.cabin;
02:
03: import javax.ejb.EJBException;
04: import com.titan.ship.ShipLocal;
05:
06: public interface CabinLocal extends javax.ejb.EJBLocalObject {
07:
08: public String getName() throws EJBException;
09:
10: public void setName(String str) throws EJBException;
11:
12: public int getDeckLevel() throws EJBException;
13:
14: public void setDeckLevel(int level) throws EJBException;
15:
16: public ShipLocal getShip();
17:
18: public void setShip(ShipLocal ship);
19:
20: public int getBedCount() throws EJBException;
21:
22: public void setBedCount(int bc) throws EJBException;
23:
24: }
|