book.java

来自「java编程最好的书籍,感觉对初学者或者中级java人员帮助很大」· Java 代码 · 共 51 行

JAVA
51
字号
package examples;

import javax.ejb.*;

/**
 * These are the public business methods of BookBean.
 *
 * 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 Book extends EJBLocalObject {
    
    /**
     * Returns the id of the Book.
     */
    public String getBookID();
    
    /**
     * Returns the name of the Book
     */
    public String getName();
    
    /**
     * Sets the name of the Book
     */
    public void setName(String name);
    
    /**
     * Returns the description of the Book
     */
    public String getDescription();
    
    /**
     * Sets the description of the Book
     */
    public void setDescription(String description);
    
    /**
     * Returns the base price of the Book
     */
    public double getBasePrice();
    
    /**
     * Sets the base price of the Book
     */
    public void setBasePrice(double price);
}

⌨️ 快捷键说明

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