categorybean.java

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

JAVA
41
字号
package com.jdon.estore.catalog;import javax.ejb.*;abstract public class CategoryBean implements EntityBean {  EntityContext entityContext;  public java.lang.String ejbCreate(java.lang.String catId) throws CreateException {    setCatId(catId);    return null;  }  public void ejbPostCreate(java.lang.String catId) throws CreateException {    /**@todo Complete this method*/  }  public void ejbRemove() throws RemoveException {    /**@todo Complete this method*/  }  public abstract void setCatId(java.lang.String catId);  public abstract void setProduct(java.util.Set product);  public abstract void setCategoryDetails(com.jdon.estore.catalog.CategoryDetails categoryDetails);  public abstract java.lang.String getCatId();  public abstract java.util.Set getProduct();  public abstract com.jdon.estore.catalog.CategoryDetails getCategoryDetails();  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 + -
显示快捷键?