tbroomtypebean.java~8~
来自「用j2ee开发的一个旅店管理系统」· JAVA~8~ 代码 · 共 56 行
JAVA~8~
56 行
package com.xc.hotelmanager.hotel.control.entity;import javax.ejb.*;import java.util.Collection;import com.xc.hotelmanager.hotel.model.*;abstract public class TbRoomTypeBean implements EntityBean { EntityContext entityContext; public java.lang.String ejbCreate(java.lang.String rtypeid, int rprice, java.lang.String rtype) throws CreateException { setRtypeid(rtypeid); setRprice(rprice); setRtype(rtype); return null; } public void ejbPostCreate(java.lang.String rtypeid, int rprice, java.lang.String rtype) throws CreateException { /**@todo Complete this method*/ } public void ejbRemove() throws RemoveException { /**@todo Complete this method*/ } public abstract void setRtypeid(java.lang.String rtypeid); public abstract void setRprice(int rprice); public abstract void setRtype(java.lang.String rtype); public abstract void setTbRoom(java.util.Collection tbRoom); public abstract java.lang.String getRtypeid(); public abstract int getRprice(); public abstract java.lang.String getRtype(); public abstract java.util.Collection getTbRoom(); 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 RoomType getRoomType(){ RoomType result=new RoomType(); result.setRtypeid(this.getRtypeid()); result.setRtype(this.getRtype()); result.setRprice(this.getRprice()); return result; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?