UML Quick Reference Card

Copyright © 2001 Laurent Grégoire

Class diagram
Class Dependency

Composition

Active Class

Collaboration diagram
Maths

EventQMgr Event
+ post(e : Event) + suspend( ) − flush( ) Package Visibility Windows should not implement Event processing Note Interface Signature Name + BigInteger + Fractional + Trigonometrics

Abstract Class

Window
+ postEvent(Event) # processEvent(Event) Abstract operation Class

Random
+ RandomGenerator − RandomSeed Package content «import»

Specialization Name Interface realization

Dependency

Frame
+ menuBar : MenuBar + setTitle(String) + remove(Menu) Operations # paramString( ) : String Responsabilities : − Manage a MenuBar − Process events Attributes

MenuContainer
Association Aggregation

Simulation

Import dependency

MenuBar
Extra compartments

*

MenuItem
Generalization

NeuralNetwork

Component diagram
Component

Name

State diagram
Realization Interface Displayable on decoder.cfg Initial state File Internal transition set / setTime( ) Final state State off / Reset mode Nested state

libjpeg.so
{version=62.0.0} Decode.o XUtils.o Utils.o

Tagged value Contents

Time keeping
watchdog / check( )

Hour editing set [timeOk]

Minute editing Guard

decoder
(executable) states.tbl Dependency Table Event Transition Action

Time editing

Sequence diagram Activity diagram
Object flow : TMsg [ready] Concurrent fork Build message Action state Send message Swimlane Concurrent join Sequential branch [timeout] [ack] Final state Retry comm. Object Comm. subsystem Initial state Anonymous object

a: AppCtrl
a1 : hCom() Sequence label Message Focus of control send(x) Call

: NetCtrl

Callback Object creation Temporary object

«create» connect() send(x) «destroy»

: Socket

Inform application

Return

Recursion Lifeline

Object destruction

Sign up to vote on this title
UsefulNot useful