?? order.java
字號:
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;}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -