org.jboss.test.bank.ejb
Class CustomerBean
java.lang.Object
org.jboss.test.util.ejb.EnterpriseSupport (src)
org.jboss.test.util.ejb.EntitySupport (src)
org.jboss.test.bank.ejb.CustomerBean
- All Implemented Interfaces:
- EnterpriseBean (src) , EntityBean (src) , java.io.Serializable
- public class CustomerBean
- extends EntitySupport (src)
- See Also:
- Serialized Form
Field Summary |
java.util.Collection |
accounts
|
java.lang.String |
id
|
java.lang.String |
name
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
public java.lang.String id
name
public java.lang.String name
accounts
public java.util.Collection accounts
CustomerBean
public CustomerBean()
getId
public java.lang.String getId()
setId
public void setId(java.lang.String id)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getAccounts
public java.util.Collection getAccounts()
addAccount
public void addAccount(Account (src) acct)
removeAccount
public void removeAccount(Account (src) acct)
ejbCreate
public CustomerPK (src) ejbCreate(java.lang.String id,
java.lang.String name)
ejbPostCreate
public void ejbPostCreate(java.lang.String id,
java.lang.String name)