|
WebLogic Server 6.0 Code Examples, BEA Systems, Inc. | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for a customer bean. Demonstrates many to many releationship with AccountBean.
Method Summary | |
void |
addAccount(Account acct)
Adds Account. |
java.util.Collection |
getAllAccounts()
Returns serializable Collection of Accounts. |
double |
getBalance()
Returns balance of associated accounts. |
java.lang.String |
getName()
Returns name of customer. |
void |
removeAccount(Account acct)
Removes Account. |
Methods inherited from interface javax.ejb.EJBObject |
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
Method Detail |
public void addAccount(Account acct) throws java.rmi.RemoteException
java.rmi.RemoteException
- if there is
a communications or systems failurepublic java.util.Collection getAllAccounts() throws java.rmi.RemoteException
java.rmi.RemoteException
- if there is
a communications or systems failurepublic double getBalance() throws java.rmi.RemoteException
java.rmi.RemoteException
- if there is
a communications or systems failurepublic java.lang.String getName() throws java.rmi.RemoteException
java.rmi.RemoteException
- if there is
a communications or systems failurepublic void removeAccount(Account acct) throws java.rmi.RemoteException
java.rmi.RemoteException
- if there is
a communications or systems failure
|
Documentation is available at http://e-docs.bea.com/wls/docs60 |
|||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |