











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!












Sequence Diagrams 1
Sequence Diagrams 2
Sequence Diagrams 4
Sequence Diagrams 5
Sequence Diagrams 7
member: LibraryMember book:Book^
:Book Copy
borrow(book) ok = mayBorrow()
[ok] borrow(member) (^) setTaken(member)
X-Axis (objects)
Y-Axis (time)^ Life^ Object
message Line Activation box condition
Sequence Diagrams 8
during the interaction
myBirthdy :Date
Sequence Diagrams 10
life lines of two objects.
message name.
Sequence Diagrams 11
Sequence Diagrams 13
:A :B
<
Constructor
:A
<
Preferred
Sequence Diagrams 14
<
Sequence Diagrams 16
:Driver
*[until full] insert()
:Bus
The syntax of expressions is not a standard
:CompoundShape :Shape draw() *draw()
Sequence Diagrams 17
Sequence Diagrams 19
print(doc,client)
Client
:PrintServer :Queue :PrinterProxy
enqueue(job)
status
Printing A Document
job=dequeue()
[job]print(job.doc)
[job] done(status)
Repeated forever with 1 min interludes
Active object