org.jboss.test.bank.interfaces
Interface Customer

All Superinterfaces:
EJBObject (src) , java.rmi.Remote

public interface Customer
extends EJBObject (src)


Method Summary
 void addAccount(Account (src)  acct)
           
 java.util.Collection getAccounts()
           
 java.lang.String getName()
           
 void removeAccount(Account (src)  acct)
           
 void setName(java.lang.String name)
           
 
Methods inherited from interface javax.ejb.EJBObject (src)
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

getName

public java.lang.String getName()
                         throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

setName

public void setName(java.lang.String name)
             throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

getAccounts

public java.util.Collection getAccounts()
                                 throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

addAccount

public void addAccount(Account (src)  acct)
                throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException

removeAccount

public void removeAccount(Account (src)  acct)
                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException