1 45 package org.openejb.webadmin.main; 46 47 import java.rmi.RemoteException ; 48 49 import javax.ejb.EJBObject ; 50 51 import org.exolab.castor.jdo.conf.Database; 52 import org.exolab.castor.mapping.xml.MappingRoot; 53 54 57 public interface CMPMappingDataObject extends EJBObject { 58 public Database getGlobalDatabase() throws RemoteException ; 59 60 public String getGlobalDatabaseFileName() throws RemoteException ; 61 62 public Database getLocalDatabase() throws RemoteException ; 63 64 public String getLocalDatabaseFileName() throws RemoteException ; 65 66 public MappingRoot getMappingRoot() throws RemoteException ; 67 68 public String getMappingRootFileName() throws RemoteException ; 69 70 public void setGlobalDatabase(Database database) throws RemoteException ; 71 72 public void setGlobalDatabaseFileName(String string) throws RemoteException ; 73 74 public void setLocalDatabase(Database database) throws RemoteException ; 75 76 public void setLocalDatabaseFileName(String string) throws RemoteException ; 77 78 public void setMappingRoot(MappingRoot root) throws RemoteException ; 79 80 public void setMappingRootFileName(String string) throws RemoteException ; 81 } 82 | Popular Tags |