org.jboss.test.banknew.ejb
Class AccountBean

java.lang.Object
  extended byorg.jboss.test.util.ejb.EnterpriseSupport (src) 
      extended byorg.jboss.test.util.ejb.EntitySupport (src) 
          extended byorg.jboss.test.banknew.ejb.AccountBean
All Implemented Interfaces:
EnterpriseBean (src) , EntityBean (src) , java.io.Serializable

public abstract class AccountBean
extends EntitySupport (src)

The Entity bean represents a bank account

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.test.util.ejb.EntitySupport (src)
entityCtx
 
Constructor Summary
AccountBean()
           
 
Method Summary
 AccountPK ejbCreate(AccountData pData)
           
 void ejbPostCreate(AccountData data)
           
abstract  float getBalance()
           
abstract  java.lang.String getCustomerId()
           
abstract  AccountData getData()
           
abstract  java.lang.String getId()
           
abstract  int getType()
           
abstract  void setBalance(float pAmount)
           
abstract  void setCustomerId(java.lang.String pCustomerId)
           
abstract  void setData(AccountData pData)
           
abstract  void setId(java.lang.String pId)
           
abstract  void setType(int pType)
           
 
Methods inherited from class org.jboss.test.util.ejb.EntitySupport (src)
ejbActivate, ejbLoad, ejbPassivate, ejbRemove, ejbStore, setEntityContext, unsetEntityContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountBean

public AccountBean()
Method Detail

getId

public abstract java.lang.String getId()

setId

public abstract void setId(java.lang.String pId)

getCustomerId

public abstract java.lang.String getCustomerId()

setCustomerId

public abstract void setCustomerId(java.lang.String pCustomerId)

getType

public abstract int getType()

setType

public abstract void setType(int pType)

getBalance

public abstract float getBalance()

setBalance

public abstract void setBalance(float pAmount)

setData

public abstract void setData(AccountData pData)

getData

public abstract AccountData getData()

ejbCreate

public AccountPK ejbCreate(AccountData pData)
                    throws CreateException (src) 
Throws:
CreateException (src)

ejbPostCreate

public void ejbPostCreate(AccountData data)
                   throws CreateException (src) 
Throws:
CreateException (src)