accountnamebean.java~4~
来自「一个使用java 写的进销存代码 使用了ejb 等技术 是学习j2ee的好」· JAVA~4~ 代码 · 共 43 行
JAVA~4~
43 行
package stockmanagementpro;import javax.ejb.*;abstract public class AccountNameBean implements EntityBean { EntityContext entityContext; public java.lang.Integer ejbCreate(java.lang.Integer accountId, int parentId, java.lang.String accountName) throws CreateException { setAccountId(accountId); setParentId(parentId); setAccountName(accountName); return null; } public void ejbPostCreate(java.lang.Integer accountId, int parentId, java.lang.String accountName) throws CreateException { /**@todo Complete this method*/ } public void ejbRemove() throws RemoveException { /**@todo Complete this method*/ } public abstract void setAccountId(java.lang.Integer accountId); public abstract void setParentId(int parentId); public abstract void setAccountName(java.lang.String accountName); public abstract java.lang.Integer getAccountId(); public abstract int getParentId(); public abstract java.lang.String getAccountName(); 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 + -
显示快捷键?