| java.lang.Object org.jboss.test.jca.bank.ejb.AccountBean
AccountBean | public class AccountBean implements EntityBean(Code) | | Describe class AccountBean here.
author: David Jencks version: 1.0 |
deposit | public void deposit(int amount)(Code) | | Describe deposit method here.
Parameters: amount - an int value |
ejbActivate | public void ejbActivate()(Code) | | |
ejbCreate | public Integer ejbCreate(Integer id, int balance, Integer customerId) throws CreateException(Code) | | Describe ejbCreate method here.
Parameters: id - an Integer value Parameters: balance - an int value Parameters: customerId - an Integer value an Integer value |
ejbFindByCustomerId | public Collection ejbFindByCustomerId(Integer customerId)(Code) | | Describe ejbFindByCustomerId method here.
Parameters: customerId - an Integer value a Collection value |
ejbFindByPrimaryKey | public Integer ejbFindByPrimaryKey(Integer id) throws FinderException(Code) | | Describe ejbFindByPrimaryKey method here.
Parameters: id - an Integer value an Integer value exception: FinderException - if an error occurs |
ejbLoad | public void ejbLoad()(Code) | | |
ejbPassivate | public void ejbPassivate()(Code) | | |
ejbRemove | public void ejbRemove()(Code) | | |
ejbStore | public void ejbStore()(Code) | | |
getBalance | public int getBalance()(Code) | | field get-set pair for field balance
Get the value of balance
value of balance |
getCustomerId | public Integer getCustomerId()(Code) | | field get-set pair for field customerId
Get the value of customerId
value of customerId |
getId | public Integer getId()(Code) | | Abstract cmp2 field get-set pair for field id
Get the value of id
value of id |
setBalance | public void setBalance(int balance)(Code) | | Set the value of balance
Parameters: balance - Value to assign to balance |
setCustomerId | public void setCustomerId(Integer customerId)(Code) | | Set the value of customerId
Parameters: customerId - Value to assign to customerId |
setEntityContext | public void setEntityContext(EntityContext ctx)(Code) | | |
setId | public void setId(Integer id)(Code) | | Set the value of id
Parameters: id - Value to assign to id |
unsetEntityContext | public void unsetEntityContext()(Code) | | |
withdraw | public void withdraw(int amount)(Code) | | Describe withdraw method here.
Parameters: amount - an int value |
|
|