org.openejb.test.beans
Class EmployeeBean
java.lang.Object
org.openejb.test.beans.EmployeeBean
- All Implemented Interfaces:
- java.io.Serializable, javax.ejb.EnterpriseBean, javax.ejb.EntityBean
public class EmployeeBean
- extends java.lang.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 java.lang.Integer ejbFindByPrimaryKey(java.lang.Integer primaryKey)
throws javax.ejb.FinderException
- Throws:
javax.ejb.FinderException
ejbFindAll
public java.util.Collection ejbFindAll()
throws javax.ejb.FinderException
- Throws:
javax.ejb.FinderException
ejbCreate
public java.lang.Integer ejbCreate(java.lang.String fname,
java.lang.String lname)
throws javax.ejb.CreateException
- Throws:
javax.ejb.CreateException
getLastName
public java.lang.String getLastName()
getFirstName
public java.lang.String getFirstName()
setLastName
public void setLastName(java.lang.String lname)
setFirstName
public void setFirstName(java.lang.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-2011 OpenEJB. All Rights Reserved.