package org.jboss.varia.autonumber;
import javax.ejb.EntityBean;
import javax.ejb.CreateException;
import javax.naming.InitialContext;
public class AutoNumberEJB
implements EntityBean
{
public String name;
public Integer value;
public String ejbCreate(String name) throws CreateException {
this.name = name;
this.value = new Integer(0);
return null;
}
public void ejbPostCreate(String name) {}
public Integer getValue() {
return value;
}
public void setValue(Integer value) {
this.value = value;
}
public void ejbActivate() {}
public void ejbPassivate() {}
public void ejbLoad() {}
public void ejbStore() {}
public void ejbRemove() {}
public void setEntityContext(javax.ejb.EntityContext ec) {}
public void unsetEntityContext() {}
}