blob: 70a0efed58c50148b346a6ccce618a8e39c47949 [file] [log] [blame]
package org.eclipse.jst.j2ee.java.stressSample;
/**
* Bean implementation class for Enterprise Bean: Test1
*/
public abstract class Test1Bean implements javax.ejb.EntityBean {
private javax.ejb.EntityContext myEntityCtx;
/**
* setEntityContext
*/
public void setEntityContext(javax.ejb.EntityContext ctx) {
myEntityCtx = ctx;
}
/**
* getEntityContext
*/
public javax.ejb.EntityContext getEntityContext() {
return myEntityCtx;
}
/**
* unsetEntityContext
*/
public void unsetEntityContext() {
myEntityCtx = null;
}
/**
* ejbCreate
*/
public org.eclipse.jst.j2ee.java.stressSample.Test1Key ejbCreate(int id)
throws javax.ejb.CreateException {
setId(id);
return null;
}
/**
* ejbPostCreate
*/
public void ejbPostCreate(int id) throws javax.ejb.CreateException {
}
/**
* ejbActivate
*/
public void ejbActivate() {
}
/**
* ejbLoad
*/
public void ejbLoad() {
}
/**
* ejbPassivate
*/
public void ejbPassivate() {
}
/**
* ejbRemove
*/
public void ejbRemove() throws javax.ejb.RemoveException {
}
/**
* ejbStore
*/
public void ejbStore() {
}
/**
* Get accessor for persistent attribute: id
*/
public abstract int getId();
/**
* Set accessor for persistent attribute: id
*/
public abstract void setId(int newId);
/**
* Get accessor for persistent attribute: name
*/
public abstract java.lang.String getName();
/**
* Set accessor for persistent attribute: name
*/
public abstract void setName(java.lang.String newName);
}