org.jboss.test.banknew.ejb
Class AccountBean
java.lang.Object
org.jboss.test.util.ejb.EnterpriseSupport (src)
org.jboss.test.util.ejb.EntitySupport (src)
org.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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AccountBean
public AccountBean()
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)