Embed
Email

UML Diagrams - Kutztown University

Document Sample

Shared by: panniuniu
Categories
Tags
Stats
views:
3
posted:
12/2/2011
language:
English
pages:
20
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

4: View product

pdb:ProductDatabase









5: Connect customer to

product database

c:Customer

sd:ShippingDepartment

6: Buy item(s) 11: Send confirmation to

7: Item selected customer





10: Send address

for shipping

1: Sign in

3: Connect customer

to customer database fd:FinancingDepartment



rp:RegistrationProcessor









9: Accept

2: Matches credit

customer 8: Check credit

database for customer



cdb:CustomerDatabase

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





E-Business InternetWork









Netscape 6.lnk Internet 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



Related docs
Other docs by panniuniu
Valuation of contingent claims and the
Views: 0  |  Downloads: 0
excel sample
Views: 0  |  Downloads: 0
Bare
Views: 0  |  Downloads: 0
Ch14
Views: 0  |  Downloads: 0
By registering with docstoc.com you agree to our
privacy policy

You are almost ready to download!

You are almost ready to download!