|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A purchased order line is one that records the purchase of some quantity of one of the items on the gift list. It extends the OrderLine and adds a mechanism for recording who purchased the item. Note that the item may not have been purchased on our system, in such case we will require that a customer be created to represent the purchaser. For items that are purchased on this system we will store a reference to the PackingList so that we can retain track it's delivery status. Notes: We will need to track returns and add the items back to the registry as well. Perhaps we should associate a return business policy to the PackingList as a way of registering that some action will need to take place.
returned
[PurchasedOrderLine] <*>------> [Boolean
]
giver
[PurchasedOrderLine] <>------> [theory.smart.ebusiness.customer.Customer
]
packingList
[PurchasedOrderLine] <>------> [theory.smart.ebusiness.shipping.PackingList
]
PurchasedOrderLineHome
,
PurchasedOrderLineImpl
Method Summary | |
boolean |
boughtHere()
Return true if the reference to the packinglist is non null. |
Customer |
getGiver()
Get the remote object reference of giver |
PackingList |
getPackingList()
Get the remote object reference of packingList |
java.lang.Boolean |
getReturned()
Get the value of returned |
void |
setGiver(Customer giver)
Set the remote object reference of giver |
void |
setPackingList(PackingList packingList)
Set the remote object reference of packingList |
void |
setReturned(java.lang.Boolean returned)
Set the value of returned |
Methods inherited from interface theory.smart.ebusiness.order.OrderLine |
correctPrice,
getItem,
getItemPrice,
getLinePrice,
getPrice,
getQuantity,
lockinPrice,
setItem,
setPrice,
setQuantity |
Methods inherited from interface theory.smart.foundation.Belonging |
equals,
value |
Methods inherited from interface com.sun.java.util.collections.Comparable |
compareTo |
Method Detail |
public java.lang.Boolean getReturned()
public void setReturned(java.lang.Boolean returned)
returneds
- returned to be addedpublic Customer getGiver() throws java.rmi.RemoteException
public void setGiver(Customer giver) throws java.rmi.RemoteException
givers
- giver to be addedpublic PackingList getPackingList() throws java.rmi.RemoteException
public void setPackingList(PackingList packingList) throws java.rmi.RemoteException
packingLists
- packingList to be addedpublic boolean boughtHere() throws java.rmi.RemoteException
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |