KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > jonas > stests > appli > Order


1 // Order.java
2

3 package org.objectweb.jonas.stests.appli;
4
5 import java.rmi.RemoteException JavaDoc;
6 import java.util.Vector JavaDoc;
7 import javax.ejb.EJBObject JavaDoc;
8
9 /**
10  * Order remote interface
11  */

12 public interface Order extends EJBObject JavaDoc {
13
14     /**
15      * Get the customer ID.
16      * <p>
17      * @return Integer
18      * @exception java.rmi.RemoteException Remote exception
19      */

20
21     public Integer JavaDoc getCustomerID() throws RemoteException JavaDoc;
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 JavaDoc;
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 JavaDoc getOrderItems() throws RemoteException JavaDoc;
40     
41
42 }
43
Popular Tags