org.jboss.test.bank.ejb
Class AccountBeanCMP
java.lang.Object
org.jboss.test.util.ejb.EnterpriseSupport (src)
org.jboss.test.util.ejb.EntitySupport (src)
org.jboss.test.bank.ejb.AccountBean (src)
org.jboss.test.bank.ejb.AccountBeanCMP
- All Implemented Interfaces:
- EnterpriseBean (src) , EntityBean (src) , java.io.Serializable
- public class AccountBeanCMP
- extends AccountBean (src)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
public java.lang.String id
balance
public float balance
owner
public Customer (src) owner
AccountBeanCMP
public AccountBeanCMP()
getId
public java.lang.String getId()
setId
public void setId(java.lang.String id)
getBalance
public float getBalance()
- Specified by:
getBalance
in class AccountBean (src)
setBalance
public void setBalance(float balance)
- Specified by:
setBalance
in class AccountBean (src)
getOwner
public Customer (src) getOwner()
setOwner
public void setOwner(Customer (src) owner)
setData
public void setData(AccountData (src) data)
getData
public AccountData (src) getData()
isModified
public boolean isModified()
ejbCreate
public java.lang.String ejbCreate(AccountData (src) data)
throws java.rmi.RemoteException,
CreateException (src)
- Throws:
java.rmi.RemoteException
CreateException (src)
ejbPostCreate
public void ejbPostCreate(AccountData (src) data)
throws java.rmi.RemoteException,
CreateException (src)
- Throws:
java.rmi.RemoteException
CreateException (src)
ejbLoad
public void ejbLoad()
throws java.rmi.RemoteException
- Description copied from interface:
EntityBean (src)
A container invokes this method to instruct the instance to synchronize its state by loading
it state from the underlying database.
This method always executes in the transaction context determined by the value of the transaction
attribute in the deployment descriptor.
- Specified by:
ejbLoad
in interface EntityBean (src)
- Overrides:
ejbLoad
in class EntitySupport (src)
- Throws:
java.rmi.RemoteException