userlogbean.java~2~
来自「一个使用java 写的进销存代码 使用了ejb 等技术 是学习j2ee的好」· JAVA~2~ 代码 · 共 45 行
JAVA~2~
45 行
package data;import javax.ejb.*;abstract public class UserLogBean implements EntityBean { EntityContext entityContext; public java.lang.Integer ejbCreate(java.lang.Integer id) throws CreateException { setId(id); return null; } public void ejbPostCreate(java.lang.Integer id) 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 + -
显示快捷键?