📄 product.java
字号:
package com.wiley.compBooks.roman.entity.product;
import javax.ejb.*;
import java.rmi.RemoteException;
/**
* These are the public business methods of ProductBean.
*
* This interface is what clients operate on when they
* interact with beans. The EJB Server vendor will
* implement this interface; the implemented object instance
* is called the EJB Object, which delegates invocations to
* instances of the ProductBean class.
*/
public interface Product extends EJBObject {
// Getter/setter methods for Entity Bean fields
public String getName() throws RemoteException;
public void setName(String name) throws RemoteException;
public String getDescription() throws RemoteException;
public void setDescription(String description) throws RemoteException;
public double getBasePrice() throws RemoteException;
public void setBasePrice(double price) throws RemoteException;
public String getProductID() throws RemoteException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -