Method Summary |
|
public void | credit(int v) |
public void | debit(int v) |
public void | ejbActivate() A container invokes this method when the instance is taken out of
the pool of available instances to become associated with a specific
EJB object. |
public java.lang.String | ejbCreate(int num, int ib) The Entity bean can define 0 or more ejbCreate methods.
throws: CreateException - Failure to create an entity EJB object. throws: DuplicateKeyException - An object with the same key already exists. |
public void | ejbLoad() A container invokes this method to instruct the instance to synchronize
its state by loading it state from the underlying database. |
public void | ejbPassivate() A container invokes this method on an instance before the instance
becomes disassociated with a specific EJB object. |
public void | ejbPostCreate(int num, int ib) |
public void | ejbRemove() A container invokes this method before it removes the EJB object
that is currently associated with the instance. |
public void | ejbStore() A container invokes this method to instruct the instance to synchronize
its state by storing it to the underlying database. |
abstract public int | getBalance() |
abstract public String | getName() |
abstract public int | getNum() |
abstract public void | setBalance(int b) |
public void | setEntityContext(EntityContext ctx) Set the associated entity context. |
abstract public void | setName(String n) |
abstract public void | setNum(int n) |
public void | unsetEntityContext() Unset the associated entity context. |