Professional Documents
Culture Documents
IT60105
Lecture 7
L ( A , R ) C o m m u n ic a t io n
la n g u a a l gp eh a gb r e a t ms m a r
U M L
B o o c h
O O S E
– Visualizing
– Specifying
– Constructing
– Documenting
• Specifying
UML builds models that are precise, unambiguous and
complete. In particular UML addresses the specification of all
the important analysis, design and implementation decision
that must be made in developing and deploying a software
system
– Things
• Things are abstractions in a model
– Relationships
• Relationships tie the things together
– Diagrams
• Diagrams group relevant collection of things
1. Structural things
1. Behavioral things
1. Grouping things
1. Annotational things
N a m e
A t t r ib u t e s
O p e r a t io n s
A t t r ib u t e s
– An object of an active class owns one
or more processes or threads and r e s u m e ( )
therefore initiate control activity s t a r t ( )
s u s p e n d ( )
k ill( )
f lu s h ( )
– Graphically, an active class is denoted
just like a class, but with a heavy line,
usually including its name, attributes,
and operations
–
i S y n o n
C o m p o n e n t
Graphically, an interface rendered as
i C o u n t
y m s
Example:
W o r ld T r a d e
A big building (world trade center) is a
collaboration of some structural
construction, electrical wiring system,
telephone connectivity, internet
connectivity, water supply system, etc.
a s s i g n ( t e s t in g )
e : P e r s o n c : C o m p a n y
o n s h u t d o w n
f in is h e d
w a it r u n n in g
k e y p r e s s
A s t a t e m a c h i n e f o r a n o b j e
B u t t o n
G r a p h i c s
S i m p l e T e x t
U R L + T e x t
I S D I T 6 0 1 0 5 # 2 0
C o m m e n t s
w i t h i m a g e s
V id e o C lip
p la y ( c : C li p )
s t a r t ( ) I n d e p e n d e n t c l a s s
s t o p ( )
r e s iz e ( )
r e s e t ( ) ]
: H e r e , i f t h e r e i s a c h a n g e i n
c l a s s C l i p , t h e o p e r a t i o n p l a
D e p e n d e n t c l at h s se c l a s s V i d e o w i l l b e e f f e
1 . . * W o r k s f o r
P e r s o n * C o m p a n y
e m p lo y e e e m p l o y e r
A s s o c i a t i o n
1 H a s
U n i v e r s i t y * D e p a r t m e n t
A g g r e g a t i o n
P a r e n t
C h ild
: :
b io d a t a ( ) b i o d a t a ( )
: :
S t r u c t u r a l v i e w B e h a v i o r a l v i e w
U s e r 's v i e w
I m p l e m e n t a t i o n v E i en wv i r o n m e n t a l v i e
I m p l e m e n t a t i oE n n v i re o w n m e n t a l v i e w
C o m p o n e n t d a i g r a D m es p l o y m e n t d a i g r a m s