Method Summary |
|
public void | decreaseQuantity(int qty) |
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(String id, int qty) The Entity bean can define 0 or more ejbCreate methods. |
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(String id, int qty) |
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. |
public String | getId() |
public int | getQuantity() |
public void | increaseQuantity(int qty) |
public void | setEntityContext(EntityContext ctx) Set the associated entity context. |
public void | setQuantity(int qty) |
public void | unsetEntityContext() Unset the associated entity context. |