









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










(^) (if not ask technicians QM360 or Ray Stoneham QM366) (^) They will all disappear next Monday
(^) Slide 24 of lecture 01 recommended some books
(^) It is for solving problems clarifying points (^) After all the normal channels have failed
State charts depict:
(^) We model (an abstraction of) an object (^) We model all states and or all events that could happen: (^) in its whole life (usually) or (^) in some well defined portion of its life (^) We define what we are modelling
Ringing entry / ringcount = 0 exit / ringStop() do / ring() [ringcount<6] / ringcount += Connected entry / pickUpLine() exit / dropLine() do / answer() callWaiting(call) / call.defer() [ringcount = 6] / phone.setMode(autoAnswer) Handset picked up / phone.setMode(manualAnswer) Internal transition Name of state Entry, Exit & Internal actions Constraint (guard Condition) Triggerless transition Directed Arc (Transition) Separator Event Node (State) Open Arrows Introduces action Rounded Corners Solid lines Object Action (method) Constraint(constrained) event Parameter(s)
(^) Event (^) Causes the triggering of a transition (between states) (^) Synchronous (usually method calls) (^) Triggerless transitions on termination (no event, just returns to callee) (^) Can also have triggered events that cause termination (or a later continuation (history)) (^) The initiating call will be triggered (event) or triggerless (return from sub-process) (^) Asynchronous (^) Non-sequential (^) Random timing (^) Events are:- (^) Signals/ flags (^) Calls (to procedures) (^) Action (atomic) (^) Transitions (an action that triggers a change of state elsewhere) (^) Timed …(see transition above) (^) Depicted by (and composed of):- (^) Trigger (name) with… (^) parameters in round brackets if any (^) Guard condition/constraint (in square braces) if any (^) Action
(^) Selects first part of the mix? (^) Selects last item and it all checks out ok? (^) Initially Requests details?
(^) CD is burnt (^) Customer pays and collects (^) Never? Or if customer does not purchase?
(^) Starts as the first part is selected and ends iff the customer aborts the purchase (^) Assume customer aborts if they do not return within 3 weeks (^) ‘Request details’ is ignored (it happens prior to ‘select first item’)
(^) (obviously unrealistic)
(first select anything that looks as though it may affect the (state of the) mix)
Makes a selection No Item Selected Some items Selected All items selected Checking (of selection) None checked Some checked All Checked Availability (of item) Available Unavailable Run times (individual) Will fit on the media Will not fit Exists unused space Give a price (individual) Unknown Known Give a price (Total items) Tot unknown Tot Known customer satisfied customer satisfied customer unsatisfied Places an order Order unplaced Order placed indicate the processing time download the content (Availability) Burn the data Un-burnt Burnt Prepare the packaging (assume you thought this obvious) available unavailable prepare the art work print the labels, packaging package customer ready Get graphic prerequisites (of mix) title(s) indicated/unindicated Graphic indicated/unindicated Supplies Selects Most are states of objects other than m:Mix We do not usually do opposite states
The responsible objects
That can always be meaningfully triggered Their triggers