Upload
janice-skinner
View
216
Download
0
Tags:
Embed Size (px)
Citation preview
UML Diagrams
CSC 422
Kutztown University
Dr. Daniel Spiegel
Classes of Diagrams
Model of Dynamic Aspects of Systems
Model of Physical Aspects of Systems
Static Design View
Modeling Dynamic Aspects of Systems
Statechart Activity Collaboration Sequence Use Case
UML Statechart Diagram
A statechart diagram shows: state machine.
flow of control from state to state.
Statechart Diagram
UML Activity Diagram
essentially a flowchart shows flow of control from activity to
activity.
Activity Diagram
UML Collaboration Diagram
an interaction diagram emphasizes the structural organization of the
objects that send and receive messages. Shows:
a set of objects links among those objects messages sent and received by those objects.
used to illustrate the dynamic view of a
system.
Collaboration Diagram
11: Send confirmation tocustomer
10: Send addressfor shipping
9: Accept credit
8: Check credit for customer
6: Buy item(s)
7: Item selected
5: Connect customer toproduct database
4: View product
3: Connect customer to customer database
2: Matches customer database
1: Sign in
pdb:ProductDatabase
sd:ShippingDepartment
fd:FinancingDepartment
cdb:CustomerDatabase
rp:RegistrationProcessor
c:Customer
UML Sequence Diagram
emphasizes the time ordering of messages.
has 2 features that distinguish it from a collaboration diagram. object lifeline
vertical dashed line in the diagram. focus of control
a tall, thin rectangle that shows the period of time during which an object is performing an action.
Sequence Diagram
UML Use case Diagram
shows a set of use cases and actors and their relationships.
used to model the context of a system and to model the requirements of a system.
Usecase Diagram
Modeling Physical Aspects of Systems
Deployment Package
UML Deployment Diagram
shows the configuration of: run time processing nodes the components that live on them.
Deployment Diagram
Netscape 6.lnk
E-Business InternetWork
I nternet Explorer.lnk
UML Package Diagram
shows organization and dependencies among a set of packages.
Package Diagram
UML Object Diagram
shows a set of of objects and their relationships at a point in time.
address the static design view or static process view of a system.
Object Diagram