⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 product.java

📁 《Master EJB 第二版》
💻 JAVA
字号:
package examples;

import javax.ejb.*;

/**
 * These are the public business methods of ProductBean.
 *
 * This local interface is what local clients operate
 * on when they interact with our bean. The container
 * will implement this interface; the implemented object
 * is called the EJB local object, which delegates
 * invocations to instances of the entity bean class.
 */
public interface Product extends EJBLocalObject {
    
    /**
     * Returns the id of the product.
     */
    public String getProductID();
    
    /**
     * Returns the name of the product
     */
    public String getName();
    
    /**
     * Sets the name of the product
     */
    public void setName(String name);
    
    /**
     * Returns the description of the product
     */
    public String getDescription();
    
    /**
     * Sets the description of the product
     */
    public void setDescription(String description);
    
    /**
     * Returns the base price of the product
     */
    public double getBasePrice();
    
    /**
     * Sets the base price of the product
     */
    public void setBasePrice(double price);
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -