01: // Item.java
02:
03: package org.objectweb.jonas.stests.appli;
04:
05: import java.rmi.RemoteException;
06: import javax.ejb.EJBObject;
07:
08: /**
09: * Item remote interface
10: */
11: public interface Item extends EJBObject {
12:
13: /*------------------------------------------------------------------*/
14: /**
15: * Get the item ID.
16: * <p>
17: * @return Integer
18: * @exception java.rmi.RemoteException Remote exception
19: */
20: /*------------------------------------------------------------------*/
21: public Integer getItemID() throws RemoteException;
22:
23: /*------------------------------------------------------------------*/
24: /**
25: * Set the item name.
26: * <p>
27: * @param String name
28: * @return void
29: * @exception java.rmi.RemoteException Remote exception
30: */
31: /*------------------------------------------------------------------*/
32: public void setItemName(String name) throws RemoteException;
33:
34: /*------------------------------------------------------------------*/
35: /**
36: * Get the item name.
37: * <p>
38: * @return String
39: * @exception java.rmi.RemoteException Remote exception
40: */
41: /*------------------------------------------------------------------*/
42: public String getItemName() throws RemoteException;
43:
44: /*------------------------------------------------------------------*/
45: /**
46: * Set the item price.
47: * <p>
48: * @param float price
49: * @return void
50: * @exception java.rmi.RemoteException Remote exception
51: */
52: /*------------------------------------------------------------------*/
53: public void setItemPrice(float price) throws RemoteException;
54:
55: /*------------------------------------------------------------------*/
56: /**
57: * Get the item price.
58: * <p>
59: * @return String
60: * @exception java.rmi.RemoteException Remote exception
61: */
62: /*------------------------------------------------------------------*/
63: public float getItemPrice() throws RemoteException;
64:
65: /*------------------------------------------------------------------*/
66: /**
67: * Set the item info.
68: * <p>
69: * @param String info
70: * @return void
71: * @exception java.rmi.RemoteException Remote exception
72: */
73: /*------------------------------------------------------------------*/
74: public void setItemInfo(String info) throws RemoteException;
75:
76: /*------------------------------------------------------------------*/
77: /**
78: * Get the item info.
79: * <p>
80: * @return String
81: * @exception java.rmi.RemoteException Remote exception
82: */
83: /*------------------------------------------------------------------*/
84: public String getItemInfo() throws RemoteException;
85:
86: }
|