tbhoteluserbean.java~5~
来自「用j2ee开发的一个旅店管理系统」· JAVA~5~ 代码 · 共 57 行
JAVA~5~
57 行
package com.xc.hotelmanager.user.control.entity;import javax.ejb.*;import com.xc.hotelmanager.user.model.*;abstract public class TbHoteluserBean implements EntityBean { EntityContext entityContext; public java.lang.String ejbCreate(java.lang.String userid, java.lang.String pwd, java.lang.String usertype) throws CreateException { setUserid(userid); setPwd(pwd); setUsertype(usertype); return null; } public void ejbPostCreate(java.lang.String userid, java.lang.String pwd, java.lang.String usertype) throws CreateException { /**@todo Complete this method*/ } public void ejbRemove() throws RemoveException { /**@todo Complete this method*/ } public abstract void setUserid(java.lang.String userid); public abstract void setPwd(java.lang.String pwd); public abstract void setUsertype(java.lang.String usertype); public abstract java.lang.String getUserid(); public abstract java.lang.String getPwd(); public abstract java.lang.String getUsertype(); 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 Hoteluser getHoteluser() { Hoteluser result = new Hoteluser(); result.setUserid(this.getUserid()); result.setPwd(this.getPwd()) ; result.setUsertype(this.getUsertype()); return result; } public void setHoteluser(Hoteluser hoteluser) { setPwd(hoteluser.getPwd()); setUsertype(hoteluser.getUsertype()); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?