userlog1bean.java~2~
来自「一个使用java 写的进销存代码 使用了ejb 等技术 是学习j2ee的好」· JAVA~2~ 代码 · 共 49 行
JAVA~2~
49 行
package stockmanagementpro;import javax.ejb.*;abstract public class UserLog1Bean implements EntityBean { EntityContext entityContext; public java.lang.Integer ejbCreate(java.lang.Integer id, java.lang.String programName, java.lang.String operationContent, java.lang.String userName, java.sql.Timestamp operationDate) throws CreateException { setId(id); setProgramName(programName); setOperationContent(operationContent); setUserName(userName); setOperationDate(operationDate); return null; } public void ejbPostCreate(java.lang.Integer id, java.lang.String programName, java.lang.String operationContent, java.lang.String userName, java.sql.Timestamp operationDate) throws CreateException { /**@todo Complete this method*/ } public void ejbRemove() throws RemoveException { /**@todo Complete this method*/ } public abstract void setId(java.lang.Integer id); public abstract void setProgramName(java.lang.String programName); public abstract void setOperationContent(java.lang.String operationContent); public abstract void setUserName(java.lang.String userName); public abstract void setOperationDate(java.sql.Timestamp operationDate); public abstract java.lang.Integer getId(); public abstract java.lang.String getProgramName(); public abstract java.lang.String getOperationContent(); public abstract java.lang.String getUserName(); public abstract java.sql.Timestamp getOperationDate(); 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 + -
显示快捷键?