?? tbhoteluserbean.java~5~
字號:
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 + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -