01: // Order.java
02:
03: package org.objectweb.jonas.stests.appli;
04:
05: import java.rmi.RemoteException;
06: import java.util.Vector;
07: import javax.ejb.EJBObject;
08:
09: /**
10: * Order remote interface
11: */
12: public interface Order extends EJBObject {
13:
14: /**
15: * Get the customer ID.
16: * <p>
17: * @return Integer
18: * @exception java.rmi.RemoteException Remote exception
19: */
20:
21: public Integer getCustomerID() throws RemoteException;
22:
23: /**
24: * Get the count of line in the order.
25: * <p>
26: * @return int The number of lines in the order.
27: * @exception java.rmi.RemoteException Remote exception
28: */
29:
30: public int getOrderLineCount() throws RemoteException;
31:
32: /**
33: * Get the order items.
34: * <p>
35: * @return Vector of OrderDetail objects.
36: * @exception java.rmi.RemoteException Remote exception
37: */
38:
39: public Vector getOrderItems() throws RemoteException;
40:
41: }
|