org.apache.openejb.test.entity.cmr.onetoone
Class PersonBean

java.lang.Object
  extended by org.apache.openejb.test.entity.cmr.onetoone.PersonBean
All Implemented Interfaces:
Serializable, javax.ejb.EnterpriseBean, javax.ejb.EntityBean

public abstract class PersonBean
extends Object
implements javax.ejb.EntityBean

Version:
$Revision: 607077 $ $Date: 2007-12-27 15:55:23 +0100 (Do, 27. Dez 2007) $
See Also:
Serialized Form

Constructor Summary
PersonBean()
           
 
Method Summary
 void ejbActivate()
           
 Integer ejbCreate(Integer id)
           
 CompoundPK ejbCreate(PersonPk primaryKey)
           
 void ejbLoad()
           
 void ejbPassivate()
           
 void ejbPostCreate(Integer id)
           
 void ejbPostCreate(PersonPk primaryKey)
           
 void ejbRemove()
           
 void ejbStore()
           
abstract  Integer getId()
           
abstract  LicenseLocal getLicense()
           
abstract  String getName()
           
 void setEntityContext(javax.ejb.EntityContext ctx)
           
abstract  void setId(Integer id)
           
abstract  void setLicense(LicenseLocal license)
           
abstract  void setName(String name)
           
 void unsetEntityContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersonBean

public PersonBean()
Method Detail

getId

public abstract Integer getId()

setId

public abstract void setId(Integer id)

getName

public abstract String getName()

setName

public abstract void setName(String name)

getLicense

public abstract LicenseLocal getLicense()

setLicense

public abstract void setLicense(LicenseLocal license)

ejbCreate

public Integer ejbCreate(Integer id)
                  throws javax.ejb.CreateException
Throws:
javax.ejb.CreateException

ejbPostCreate

public void ejbPostCreate(Integer id)

ejbCreate

public CompoundPK ejbCreate(PersonPk primaryKey)
                     throws javax.ejb.CreateException
Throws:
javax.ejb.CreateException

ejbPostCreate

public void ejbPostCreate(PersonPk primaryKey)

setEntityContext

public void setEntityContext(javax.ejb.EntityContext ctx)
Specified by:
setEntityContext in interface javax.ejb.EntityBean

unsetEntityContext

public void unsetEntityContext()
Specified by:
unsetEntityContext in interface javax.ejb.EntityBean

ejbActivate

public void ejbActivate()
Specified by:
ejbActivate in interface javax.ejb.EntityBean

ejbPassivate

public void ejbPassivate()
Specified by:
ejbPassivate in interface javax.ejb.EntityBean

ejbLoad

public void ejbLoad()
Specified by:
ejbLoad in interface javax.ejb.EntityBean

ejbStore

public void ejbStore()
Specified by:
ejbStore in interface javax.ejb.EntityBean

ejbRemove

public void ejbRemove()
               throws javax.ejb.RemoveException
Specified by:
ejbRemove in interface javax.ejb.EntityBean
Throws:
javax.ejb.RemoveException


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.