1 package edu.rice.rubis.beans; 2 3 import javax.ejb.*; 4 import java.rmi.*; 5 6 /** 7 * This is the Local 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 RegionLocal extends EJBLocalObject { 12 /** 13 * Get region's id. 14 * 15 * @return region id 16 */ 17 public Integer getId(); 18 19 /** 20 * Get the region name. 21 * 22 * @return region name 23 */ 24 public String getName(); 25 26 /** 27 * Set region's name 28 * 29 * @param newName region name 30 */ 31 public void setName(String newName); 32 } 33