| java.lang.Object org.objectweb.jonas.jtests.beans.jdbcra.JdbcRA1EBRBean
JdbcRA1EBRBean | public class JdbcRA1EBRBean implements EntityBean(Code) | | |
balance | public double balance(Code) | | |
ejbContext | EntityContext ejbContext(Code) | | |
ejbActivate | public void ejbActivate()(Code) | | |
ejbFindAllAccounts | public Enumeration ejbFindAllAccounts() throws FinderException(Code) | | Creates an enumeration of primary keys for all accounts
pkv The primary keys exception: FinderException - - Failed to execute the query. |
ejbFindByNumber | public Integer ejbFindByNumber(int accno) throws ObjectNotFoundException, FinderException(Code) | | Find Account by its account number
pk The primary key exception: FinderException - - Failed to execute the query. exception: ObjectNotFoundException - - Object not found for this account number |
ejbLoad | public void ejbLoad()(Code) | | |
ejbPassivate | public void ejbPassivate()(Code) | | |
ejbPostCreate | public void ejbPostCreate(int val_accno, String val_customer, double val_balance)(Code) | | |
ejbPostCreate | public void ejbPostCreate()(Code) | | |
ejbRemove | public void ejbRemove() throws RemoveException(Code) | | |
ejbStore | public void ejbStore()(Code) | | |
getBalance | public double getBalance()(Code) | | Business method for returning the balance.
balance |
getCustomer | public String getCustomer()(Code) | | Business method for returning the customer.
customer |
getNumber | public int getNumber()(Code) | | Business method to get the Account number
|
setBalance | public void setBalance(double d)(Code) | | Business method for updating the balance.
Parameters: d - balance to update |
setCustomer | public void setCustomer(String c)(Code) | | Business method for changing the customer name.
Parameters: c - customer to update |
setEntityContext | public void setEntityContext(EntityContext ctx)(Code) | | |
unsetEntityContext | public void unsetEntityContext()(Code) | | |
|
|