Professional Documents
Culture Documents
Unified Modeling Language (UML) : An Overview
Unified Modeling Language (UML) : An Overview
an overview
Unified Modeling
Specification Language
and Analysis (UML): an overview,
of Information Systems Session 4 Spring 2005 3
The Collaboration Diagram
The Collaboration diagram offers an alternative to the Sequence diagram
2. Draw the links between the objects using the Class diagram as your
guide
3. Add each event. Place the message arrow parallel to the link
between the two objects. Position the arrow to point from the sender
to the receiver
5. Repeat steps 3 and 4 until the entire scenario has been modeled
Scenario 2
Unified Modeling
Specification Language
and Analysis (UML): an overview,
of Information Systems Session 4 Spring 2005 10
Statechart Diagrams
• We use Statechart diagrams to show:
• The life history of a given class, use case, operation
• The events that cause a transition form one state to another
• The actions that result from a state change
SerialNmbre:Int.s
in
in Treatment
Treatment
CustomerName:Str.
hasProblems : boolean
stored
stored
CreateOrder()
StoreOrder()
16
Statechart Diagram for The Product Class/Object
17
Component Diagram
Unified Modeling
Specification Language
and Analysis (UML): an overview,
of Information Systems Session 4 Spring 2005 18
Component diagram
• The purpose of the Component diagram is to define software
modules and their relationships
• Each component is a chunk of code that resides in memory on a
piece of hardware
• The UML groups components into three broad categories:
– Deployment components, which are required to run the system
– Work product components including source code and data files used to
create deployment components
– Execution components, which are components created while running
the application
Provided Required
Interface
Component 1
Component 2
CommonObject
« interface»
CommonObjec
uniqueID : ID
width : int
The Class notation
height : int
create()
move()
delete()
display()
Unified Modeling
Specification Language
and Analysis (UML): an overview,
of Information Systems Session 4 Spring 2005 29
Deployment Vs Component
• Component diagrams shows the configuration of
run-time processing elements and the software
components, processes and objects that live on
them
• Deployment diagrams may be used to show which
components may run on which nodes
Questions ?