inventorybean.java

来自「用JBuilder+Jboos+mysql实现的EJB项目」· Java 代码 · 共 39 行

JAVA
39
字号
package com.jdon.estore.catalog;import javax.ejb.*;abstract public class InventoryBean implements EntityBean {  EntityContext entityContext;  public java.lang.String ejbCreate(java.lang.String inventoryId) throws CreateException {    setInventoryId(inventoryId);    return null;  }  public void ejbPostCreate(java.lang.String inventoryId) throws CreateException {    /**@todo Complete this method*/  }  public void ejbRemove() throws RemoveException {    /**@todo Complete this method*/  }  public abstract void setInventoryId(java.lang.String inventoryId);  public abstract void setQty(java.lang.Float qty);  public abstract java.lang.String getInventoryId();  public abstract java.lang.Float getQty();  public void ejbLoad() {    /**@todo Complete this method*/  }  public void ejbStore() {    /**@todo Complete this method*/  }  public void ejbActivate() {    /**@todo Complete this method*/  }  public void ejbPassivate() {    /**@todo Complete this method*/  }  public void unsetEntityContext() {    this.entityContext = null;  }  public void setEntityContext(EntityContext entityContext) {    this.entityContext = entityContext;  }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?