1 22 package org.jboss.test.cmp2.commerce; 23 24 import java.util.Collection ; 25 import java.util.Set ; 26 import javax.ejb.EJBLocalObject ; 27 import javax.ejb.FinderException ; 28 29 public interface Order extends EJBLocalObject { 30 public Long getOrdernumber(); 31 32 public Card getCreditCard(); 33 public void setCreditCard(Card card); 34 35 public String getOrderStatus(); 36 public void setOrderStatus(String orderStatus); 37 38 public Address getShippingAddress(); 39 public void setShippingAddress(Address address); 40 41 public Address getBillingAddress(); 42 public void setBillingAddress(Address address); 43 44 public Collection getLineItems(); 45 public void setLineItems(Collection lineItems); 46 47 public Set getOrdersShippedToCA() throws FinderException ; 48 public Set getOrdersShippedToCA2() throws FinderException ; 49 50 public Collection getStatesShipedTo() throws FinderException ; 51 public Collection getStatesShipedTo2() throws FinderException ; 52 53 public Set getAddressesInCA() throws FinderException ; 54 public Set getAddressesInCA2() throws FinderException ; 55 } 56 | Popular Tags |