Title: truck states
1(No Transcript)
2first attempt -leads to questions
- notes and outstanding items/issues
- finish truck has no operations because load
the truck and accept the load do all the work
-so must remove this from activity diagram - arrange truck the same truck may be used on
several occasions need some kind of schedule
possibly or can assign trucks to order items
and check to see if truck is available/suitable
3(No Transcript)
4high-level use case customer accepts order
actor action log in choose shipment accept
fn. identify order select next item enter/accept
quantity received accept order alternate....
customer rejects order separate use case
system response retrieve customer data display
list of customers orders retrieve order
details present item details store quantity
received release truck create invoice
data create carrier payment data
5actor system actions responsible
class (control class to be added later) log
in interface(note 1) retrieve customer
data customer interface choose shipment accept
fn. order (show all orders) display
customers orders interface identify
shipment order order detail retrieve
order interface select next item order
detail present item details interface enter/ac
cept qty. recd order item store quantity
received order item close order order
release truck truck create invoice
data invoice create carrier payment
data payment
6based on specs so far, here are some attributes
7event use case truck states add a truck to
carriers fleet maintain carrier truck is
available customer accepts shipment accept
order truck is available (again) arrange for a
truck to be used scheduling truck is
booked shipper identifies/loads truck
shipping/loading truck is in use remove truck
from list maintain carrier truck is retired
8Class name Order Responsibilities Collaborations
provide order information give list of
items OrderItem has the details add/change
items OrderItem creates/updates self accept
reservation of truck(s) Truck will determine
feasibility select/release truck Truck status
change create carrier payment Payment created
create invoice Invoice created close order
9Class name Payment Responsibilities Collaboratio
ns create payment calculate item
cost OrderItem for quantity Product for
weight and dimensions add base rate calculate
total cost prepare record for A/P Carrier for
payment terms
10Class name Invoice Responsibilities Collaboratio
ns create invoice calculate item cost Product
for prices OrderItem for quantity calculate
shipping cost Payment for costs calculate
total prepare record for A/R Customer for billing
agreement