KickJava   Java API By Example, From Geeks To Geeks.

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


1 // Item.java
2

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

11 public interface Item extends EJBObject JavaDoc {
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 JavaDoc getItemID() throws RemoteException JavaDoc;
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 JavaDoc name) throws RemoteException JavaDoc;
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 JavaDoc getItemName() throws RemoteException JavaDoc;
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 JavaDoc;
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 JavaDoc;
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 JavaDoc info) throws RemoteException JavaDoc;
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 JavaDoc getItemInfo() throws RemoteException JavaDoc;
85
86 }
87
Popular Tags