|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CIT
A Customer Information Token represents everything that Grell Computers knows about a specific customer's order.
| Method Summary | |
|---|---|
int |
getArrivalTime()
|
int |
getCustomerID()
|
CustomerType |
getCustomerType()
|
ComputerOrder |
getOrder()
Specifies the kind of computer that is being ordered. |
OrderReceipt |
getPrevTransactionReceipt()
This field allows this CIT to specify a change to an existing order. |
boolean |
isCancellation()
Specifies whether this is a cancellation of a previously existing order. |
| Method Detail |
|---|
int getCustomerID()
CustomerType getCustomerType()
int getArrivalTime()
ComputerOrder getOrder()
getOrder is
meaningless and should be ignored.
OrderReceipt getPrevTransactionReceipt()
null.
Otherwise, it returns the receipt that was previously generated
by the plant when the order was first established.
null if this is a new order; otherwise
the receipt from a previous order, if this is a change order.boolean isCancellation()
getPrevTransactionReceipt().
true iff this is a cancellation of a
standing order.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||