KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > edu > rice > rubis > beans > Region


1 package edu.rice.rubis.beans;
2
3 import javax.ejb.*;
4 import java.rmi.*;
5
6 /**
7  * This is the Remote Interface of the Region Bean
8  * @author <a HREF="mailto:cecchet@rice.edu">Emmanuel Cecchet</a> and <a HREF="mailto:julie.marguerite@inrialpes.fr">Julie Marguerite</a>
9  * @version 1.0
10  */

11 public interface Region extends EJBObject {
12   /**
13    * Get region's id.
14    *
15    * @return region id
16    * @exception RemoteException if an error occurs
17    */

18   public Integer JavaDoc getId() throws RemoteException;
19
20   /**
21    * Get the region name.
22    *
23    * @return region name
24    * @exception RemoteException if an error occurs
25    */

26   public String JavaDoc getName() throws RemoteException;
27
28   /**
29    * Set region's name
30    *
31    * @param newName region name
32    * @exception RemoteException if an error occurs
33    */

34   public void setName(String JavaDoc newName) throws RemoteException;
35 }
36
Popular Tags