org.jboss.test.bank.ejb
Class CustomerBean

java.lang.Object
  extended byorg.jboss.test.util.ejb.EnterpriseSupport (src) 
      extended byorg.jboss.test.util.ejb.EntitySupport (src) 
          extended byorg.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
           
 
Fields inherited from class org.jboss.test.util.ejb.EntitySupport (src)
entityCtx
 
Constructor Summary
CustomerBean()
           
 
Method Summary
 void addAccount(Account (src)  acct)
           
 CustomerPK (src) ejbCreate(java.lang.String id, java.lang.String name)
           
 void ejbPostCreate(java.lang.String id, java.lang.String name)
           
 java.util.Collection getAccounts()
           
 java.lang.String getId()
           
 java.lang.String getName()
           
 void removeAccount(Account (src)  acct)
           
 void setId(java.lang.String id)
           
 void setName(java.lang.String name)
           
 
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
 

Field Detail

id

public java.lang.String id

name

public java.lang.String name

accounts

public java.util.Collection accounts
Constructor Detail

CustomerBean

public CustomerBean()
Method Detail

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)