1 22 package org.jboss.test.bankiiop.interfaces; 23 24 import java.rmi.*; 25 import java.util.*; 26 import javax.ejb.*; 27 28 34 public interface Customer 35 extends EJBObject 36 { 37 39 41 43 45 public String getName() 47 throws RemoteException; 48 49 public void setName(String name) 50 throws RemoteException; 51 52 public Collection getAccounts() 53 throws RemoteException; 54 55 public void addAccount(Account acct) 56 throws RemoteException; 57 58 public void removeAccount(Account acct) 59 throws RemoteException; 60 } 61 62 85 | Popular Tags |