org.openejb.test.simple.cmp
Class SimpleCMPEntityEJB

java.lang.Object
  extended by org.openejb.test.simple.cmp.SimpleCMPEntityEJB
All Implemented Interfaces:
Serializable, EnterpriseBean, EntityBean

public abstract class SimpleCMPEntityEJB
extends Object
implements EntityBean

See Also:
Serialized Form

Constructor Summary
SimpleCMPEntityEJB()
           
 
Method Summary
 void ejbActivate()
           
 Integer ejbCreate(Integer id)
           
 void ejbLoad()
           
 void ejbPassivate()
           
 void ejbPostCreate(Integer id)
           
 void ejbRemove()
           
 void ejbStore()
           
abstract  String getFirstName()
           
abstract  Integer getId()
           
abstract  String getLastName()
           
 void setEntityContext(EntityContext ctx)
           
abstract  void setFirstName(String firstName)
           
abstract  void setId(Integer id)
           
abstract  void setLastName(String lastName)
           
 void unsetEntityContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleCMPEntityEJB

public SimpleCMPEntityEJB()
Method Detail

getId

public abstract Integer getId()

setId

public abstract void setId(Integer id)

getFirstName

public abstract String getFirstName()

setFirstName

public abstract void setFirstName(String firstName)

getLastName

public abstract String getLastName()

setLastName

public abstract void setLastName(String lastName)

ejbCreate

public Integer ejbCreate(Integer id)
                  throws CreateException
Throws:
CreateException

ejbPostCreate

public void ejbPostCreate(Integer id)

ejbActivate

public void ejbActivate()
Specified by:
ejbActivate in interface EntityBean

ejbLoad

public void ejbLoad()
Specified by:
ejbLoad in interface EntityBean

ejbPassivate

public void ejbPassivate()
Specified by:
ejbPassivate in interface EntityBean

ejbRemove

public void ejbRemove()
Specified by:
ejbRemove in interface EntityBean

ejbStore

public void ejbStore()
Specified by:
ejbStore in interface EntityBean

setEntityContext

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

unsetEntityContext

public void unsetEntityContext()
Specified by:
unsetEntityContext in interface EntityBean


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.