blob: 79727476158d99cf345020e1ce0a2df379f5f19d [file] [log] [blame]
package ejbs;
/**
* Bean implementation class for Enterprise Bean: CMP1
*/
public abstract class CMP1Bean 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 ejbs.CMP1Key ejbCreate(java.lang.Integer id)
throws javax.ejb.CreateException {
setId(id);
return null;
}
/**
* ejbPostCreate
*/
public void ejbPostCreate(java.lang.Integer 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 java.lang.Integer getId();
/**
* Set accessor for persistent attribute: id
*/
public abstract void setId(java.lang.Integer newId);
}