01: // District.java
02:
03: package org.objectweb.jonas.stests.appli;
04:
05: import java.rmi.RemoteException;
06: import javax.ejb.EJBObject;
07:
08: /**
09: * District remote interface
10: */
11: public interface District extends EJBObject {
12: public int getDistrictId() throws RemoteException;
13:
14: public String getWarehouseId() throws RemoteException;
15:
16: public void setDistrictName(String name) throws RemoteException;
17:
18: public String getDistrictName() throws RemoteException;
19:
20: public void setNextOrderId(int order) throws RemoteException;
21:
22: public int getNextOrderId(boolean increment) throws RemoteException;
23: }
|