?? tbemployeebean.java~9~
字號:
package com.xc.hotelmanager.user.control.entity;import javax.ejb.*;import com.xc.hotelmanager.user.model.*;abstract public class TbEmployeeBean implements EntityBean { EntityContext entityContext; public java.lang.String ejbCreate(java.lang.String emid) throws CreateException { setEmid(emid); return null; } public void ejbPostCreate(java.lang.String emid) throws CreateException { /**@todo Complete this method*/ } public void ejbRemove() throws RemoveException { /**@todo Complete this method*/ } public abstract void setEmid(java.lang.String emid); public abstract void setEmname(java.lang.String emname); public abstract void setEmage(int emage); public abstract void setEmsex(java.lang.String emsex); public abstract void setEmposition(java.lang.String emposition); public abstract void setEmstuts(java.lang.String emstuts); public abstract java.lang.String getEmid(); public abstract java.lang.String getEmname(); public abstract int getEmage(); public abstract java.lang.String getEmsex(); public abstract java.lang.String getEmposition(); public abstract java.lang.String getEmstuts(); 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; } public Emp getEmp() { Emp result = new Emp(); result.setemid(this.getEmid()); result.setemname(this.getEmname()); result.setemage(this.getEmage()); result.setemsex(this.getEmsex()); result.setemposition(this.getEmposition()); result.setemstuts(this.getEmstuts()); return result; } public void setEmp(Emp employee) { setEmname(employee.getemname()); setEmage(employee.getemage()); setEmsex(employee.getemsex()); setEmposition(employee.getemposition()); setEmstuts(employee.getemstuts()); }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -