|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.ibm.websphere.samples.scheduler.accountreportejb.AccountBean
public abstract class AccountBean
Implementation class for the Account entity bean. The Account entity stores information about accounts in the database.
AccountHome,
Account,
Serialized Form| Constructor Summary | |
|---|---|
AccountBean()
|
|
| Method Summary | |
|---|---|
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. |
java.lang.Integer |
ejbCreate(java.lang.Integer key)
|
void |
ejbLoad()
A container invokes this method to instruct the instance to synchronize its state by loading it state from the underlying database. |
void |
ejbPassivate()
A container invokes this method on an instance before the instance becomes disassociated with a specific EJB object. |
void |
ejbPostCreate(java.lang.Integer key)
|
void |
ejbRemove()
A container invokes this method before it removes the EJB object that is currently associated with the instance. |
void |
ejbStore()
A container invokes this method to instruct the instance to synchronize its state by storing it to the underlying database. |
abstract java.lang.Integer |
getAccountNumber()
Get accountNumber |
abstract java.lang.Double |
getBalance()
Get balance |
abstract java.lang.String |
getDescription()
Get description |
abstract java.lang.String |
getOwnerName()
Get ownerName |
abstract void |
setAccountNumber(java.lang.Integer accountNumber)
Set accountNumber |
abstract void |
setBalance(java.lang.Double balance)
Set balance |
abstract void |
setDescription(java.lang.String description)
Set description |
void |
setEntityContext(javax.ejb.EntityContext ctx)
Set the associated entity context. |
abstract void |
setOwnerName(java.lang.String ownerName)
Set ownerName |
void |
unsetEntityContext()
Unset the associated entity context. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AccountBean()
| Method Detail |
|---|
public void ejbActivate()
throws javax.ejb.EJBException
ejbActivate in interface javax.ejb.EntityBeanjavax.ejb.EJBException - Thrown by the method to indicate a failure caused by a system-level error.
public void ejbPassivate()
throws javax.ejb.EJBException
ejbPassivate in interface javax.ejb.EntityBeanjavax.ejb.EJBException - Thrown by the method to indicate a failure caused by a system-level error.
public void ejbRemove()
throws javax.ejb.EJBException
ejbRemove in interface javax.ejb.EntityBeanjavax.ejb.EJBException - Thrown by the method to indicate a failure caused by a system-level error.
public void ejbLoad()
throws javax.ejb.EJBException
ejbLoad in interface javax.ejb.EntityBeanjavax.ejb.EJBException - Thrown by the method to indicate a failure caused by a system-level error.
public void ejbStore()
throws javax.ejb.EJBException
ejbStore in interface javax.ejb.EntityBeanjavax.ejb.EJBException - Thrown by the method to indicate a failure caused by a system-level error.
public void setEntityContext(javax.ejb.EntityContext ctx)
throws javax.ejb.EJBException
setEntityContext in interface javax.ejb.EntityBeanctx - An EntityContext interface for the instance. The instance should store the reference
to the context in an instance variable.
javax.ejb.EJBException - Thrown by the method to indicate a failure caused by a system-level error.
public void unsetEntityContext()
throws javax.ejb.EJBException
unsetEntityContext in interface javax.ejb.EntityBeanjavax.ejb.EJBException - Thrown by the method to indicate a failure caused by a system-level error.
public java.lang.Integer ejbCreate(java.lang.Integer key)
throws javax.ejb.CreateException
javax.ejb.CreateException
public void ejbPostCreate(java.lang.Integer key)
throws javax.ejb.CreateException
javax.ejb.CreateExceptionpublic abstract java.lang.Integer getAccountNumber()
public abstract void setAccountNumber(java.lang.Integer accountNumber)
accountNumber - public abstract java.lang.Double getBalance()
public abstract void setBalance(java.lang.Double balance)
balance - public abstract java.lang.String getDescription()
public abstract void setDescription(java.lang.String description)
description - public abstract java.lang.String getOwnerName()
public abstract void setOwnerName(java.lang.String ownerName)
ownerName -
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||