productlocal.java

来自「精通EJB3.0一书的全部随书实例的源代码。」· Java 代码 · 共 27 行

JAVA
27
字号
package examples.cmp;

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 ProductLocal extends EJBLocalObject { 

    public String getName();
    public void setName(String name);
    
    public String getDescription();
    public void setDescription(String description);
    
    public double getBasePrice();
    public void setBasePrice(double price);
    
    public String getProductID();
} 

⌨️ 快捷键说明

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