|
WebLogic Server 6.0 Code Examples, BEA Systems, Inc. | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for a customer bean. Demonstrates one to many releationship with AccountBean.
Method Summary | |
void |
addAccount(Account acct)
Adds Account. |
java.util.Collection |
getAccounts()
Return accounts. |
java.util.Collection |
getAllAccounts()
Returns serializable Collection of Accounts. |
java.lang.String |
getName()
Returns name of customer. |
void |
setAccounts(java.util.Collection accts)
|
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 getAccounts() 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 java.lang.String getName() throws java.rmi.RemoteException
java.rmi.RemoteException
- if there is
a communications or systems failurepublic void setAccounts(java.util.Collection accts) throws java.rmi.RemoteException
|
Documentation is available at http://e-docs.bea.com/wls/docs60 |
|||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |