org.openejb.test.beans
Class EmployeeBean
java.lang.Object
org.openejb.test.beans.EmployeeBean
- All Implemented Interfaces:
- Serializable, javax.ejb.EnterpriseBean, javax.ejb.EntityBean
public class EmployeeBean
- extends Object
- implements javax.ejb.EntityBean
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmployeeBean
public EmployeeBean()
ejbHomeSum
public int ejbHomeSum(int one,
int two)
ejbFindByPrimaryKey
public Integer ejbFindByPrimaryKey(Integer primaryKey)
throws javax.ejb.FinderException
- Throws:
javax.ejb.FinderException
ejbFindAll
public Collection ejbFindAll()
throws javax.ejb.FinderException
- Throws:
javax.ejb.FinderException
ejbCreate
public Integer ejbCreate(String fname,
String lname)
throws javax.ejb.CreateException
- Throws:
javax.ejb.CreateException
getLastName
public String getLastName()
getFirstName
public String getFirstName()
setLastName
public void setLastName(String lname)
setFirstName
public void setFirstName(String fname)
ejbLoad
public void ejbLoad()
- Specified by:
ejbLoad
in interface javax.ejb.EntityBean
ejbStore
public void ejbStore()
- Specified by:
ejbStore
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
ejbRemove
public void ejbRemove()
- Specified by:
ejbRemove
in interface javax.ejb.EntityBean
setEntityContext
public void setEntityContext(javax.ejb.EntityContext cntx)
- Specified by:
setEntityContext
in interface javax.ejb.EntityBean
unsetEntityContext
public void unsetEntityContext()
- Specified by:
unsetEntityContext
in interface javax.ejb.EntityBean
Copyright © 1999-2008 OpenEJB. All Rights Reserved.