// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
package eee;

import javax.ejb.*;

abstract public class T1Bean implements EntityBean {
    private EntityContext entityContext;
    public java.lang.Integer ejbCreate(java.lang.Integer f1, java.lang.String f2) throws CreateException {
        setF1(f1);
        setF2(f2);
        return null;
    }
    public void ejbPostCreate(java.lang.Integer f1, java.lang.String f2) throws CreateException {
    }
    public void ejbRemove() throws RemoveException {
    }
    public abstract void setF1(java.lang.Integer f1);
    public abstract void setF2(java.lang.String f2);
    public abstract java.lang.Integer getF1();
    public abstract java.lang.String getF2();
    public void ejbLoad() {
    }
    public void ejbStore() {
    }
    public void ejbActivate() {
    }
    public void ejbPassivate() {
    }
    public void unsetEntityContext() {
        this.entityContext = null;
    }
    public void setEntityContext(EntityContext entityContext) {
        this.entityContext = entityContext;
    }
}
