📄 housetypebean.java
字号:
package com.abc.hotel;import javax.ejb.*;abstract public class HouseTypeBean implements EntityBean { EntityContext entityContext; public java.lang.Integer ejbCreate(java.lang.Integer hotelid, java.lang.String houseName, java.lang.Integer normalPrice, Integer vipPrice, java.lang.String breakfast) throws CreateException { setHotelid(hotelid); setHouseName(houseName); setNormalPrice(normalPrice); setVipPrice(vipPrice); setBreakfast(breakfast); return null; } public void ejbPostCreate(java.lang.Integer hotelid, java.lang.String houseName, java.lang.Integer normalPrice, Integer vipPrice, java.lang.String breakfast) throws CreateException { /**@todo Complete this method*/ } public void ejbRemove() throws RemoveException { /**@todo Complete this method*/ } public abstract void setHouseTypeId(java.lang.Integer houseTypeId); public abstract void setHotelid(java.lang.Integer hotelid); public abstract void setHouseName(java.lang.String houseName); public abstract void setNormalPrice(java.lang.Integer normalPrice); public abstract void setVipPrice(Integer vipPrice); public abstract void setBreakfast(java.lang.String breakfast); public abstract java.lang.Integer getHouseTypeId(); public abstract java.lang.Integer getHotelid(); public abstract java.lang.String getHouseName(); public abstract java.lang.Integer getNormalPrice(); public abstract Integer getVipPrice(); public abstract java.lang.String getBreakfast(); 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -