// 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 test;

import javax.ejb.*;

abstract public class BeskrivelseBean implements EntityBean {
    EntityContext entityContext;
    public java.lang.Integer ejbCreate(java.lang.Integer id) throws CreateException {
        setId(id);
        return null;
    }
    public void ejbPostCreate(java.lang.Integer id) throws CreateException {
    }
    public void ejbRemove() throws RemoveException {
    }
    public abstract void setId(java.lang.Integer id);
    public abstract void setBeskrivelse(java.lang.String beskrivelse);
    public abstract void setBil(java.util.Collection bil);
    public abstract java.lang.Integer getId();
    public abstract java.lang.String getBeskrivelse();
    public abstract java.util.Collection getBil();
    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;
    }
}
