goodscategorybean.java~6~
来自「一个使用java 写的进销存代码 使用了ejb 等技术 是学习j2ee的好」· JAVA~6~ 代码 · 共 43 行
JAVA~6~
43 行
package baseinforinterface;import javax.ejb.*;abstract public class GoodsCategoryBean implements EntityBean { EntityContext entityContext; public java.lang.Integer ejbCreate(java.lang.Integer categoryId) throws CreateException { setCategoryId(categoryId); return null; } public void ejbPostCreate(java.lang.Integer categoryId) throws CreateException { /**@todo Complete this method*/ } public void ejbRemove() throws RemoveException { /**@todo Complete this method*/ } public abstract void setCategoryId(java.lang.Integer categoryId); public abstract void setParentId(java.lang.Integer parentId); public abstract void setCategoryName(java.lang.String categoryName); public abstract void setCategoryDescription(java.lang.String categoryDescription); public abstract java.lang.Integer getCategoryId(); public abstract java.lang.Integer getParentId(); public abstract java.lang.String getCategoryName(); public abstract java.lang.String getCategoryDescription(); 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 + -
显示快捷键?