housetypebean.java

来自「本软件系统可以实现预定酒店的多方位查询、预订酒店的功能。可以方便人们入住酒店,增」· Java 代码 · 共 51 行

JAVA
51
字号
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 + =
减小字号Ctrl + -
显示快捷键?