order.java

来自「一个优秀的供应商管理系统」· Java 代码 · 共 42 行

JAVA
42
字号
package apusic.myshop.order.ejb;import java.rmi.RemoteException;import javax.ejb.EJBObject;import java.util.Collection;import apusic.myshop.order.model.OrderModel;import apusic.myshop.customer.ejb.Customer;import apusic.myshop.util.CreditCard;public interface Order extends EJBObject {    // different status of any order.    public static final String PENDING = "P";    public static final String COMPLETED = "C";    public OrderModel getDetails() throws RemoteException;    // return the Customer entity bean for the user who placed this order.    public Customer getCustomer() throws RemoteException;    public void setUserId(String userId) throws RemoteException;    public void setOrderDate(java.sql.Date orderDate) throws RemoteException;    public void setShipName(String shipName) throws RemoteException;    public void setShipAddr(String shipAddr) throws RemoteException;    public void setShipProvince(String shipProvince) throws RemoteException;    public void setShipCity(String shipCity) throws RemoteException;    public void setShipZip(String shipZip) throws RemoteException;    public void setShipCountry(String shipCountry) throws RemoteException;    public void setBillName(String billName) throws RemoteException;    public void setBillAddr(String billAddr) throws RemoteException;    public void setBillProvince(String billProvince) throws RemoteException;    public void setBillCity(String billCity) throws RemoteException;    public void setBillZip(String billZip) throws RemoteException;    public void setBillCountry(String billCountry) throws RemoteException;    public void setChargeCard(CreditCard chargeCard) throws RemoteException;    public void setLineItems(Collection lineItems) throws RemoteException;    public void setTotalPrice(double totalPrice) throws RemoteException;}

⌨️ 快捷键说明

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