org.openejb.test.simple.bmp
Class SimpleBMPEntityEJB

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

public class SimpleBMPEntityEJB
extends Object
implements EntityBean

See Also:
Serialized Form

Constructor Summary
SimpleBMPEntityEJB()
           
 
Method Summary
 void ejbActivate()
           
 Integer ejbCreate()
           
 Integer ejbFindByPrimaryKey(Integer key)
           
 void ejbLoad()
           
 void ejbPassivate()
           
 void ejbPostCreate()
           
 void ejbRemove()
           
 void ejbStore()
           
 String getName()
           
 String getValue()
           
 void setEntityContext(EntityContext ctx)
           
 void setName(String name)
           
 void setValue(String value)
           
 void unsetEntityContext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleBMPEntityEJB

public SimpleBMPEntityEJB()
Method Detail

ejbCreate

public Integer ejbCreate()

ejbPostCreate

public void ejbPostCreate()

ejbFindByPrimaryKey

public Integer ejbFindByPrimaryKey(Integer key)
                            throws FinderException
Throws:
FinderException

getName

public String getName()

setName

public void setName(String name)

getValue

public String getValue()

setValue

public void setValue(String value)

ejbActivate

public void ejbActivate()
                 throws EJBException
Specified by:
ejbActivate in interface EntityBean
Throws:
EJBException

ejbLoad

public void ejbLoad()
             throws EJBException
Specified by:
ejbLoad in interface EntityBean
Throws:
EJBException

ejbPassivate

public void ejbPassivate()
                  throws EJBException
Specified by:
ejbPassivate in interface EntityBean
Throws:
EJBException

ejbRemove

public void ejbRemove()
               throws RemoveException,
                      EJBException
Specified by:
ejbRemove in interface EntityBean
Throws:
RemoveException
EJBException

ejbStore

public void ejbStore()
              throws EJBException
Specified by:
ejbStore in interface EntityBean
Throws:
EJBException

setEntityContext

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

unsetEntityContext

public void unsetEntityContext()
                        throws EJBException
Specified by:
unsetEntityContext in interface EntityBean
Throws:
EJBException


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