Professional Documents
Culture Documents
Overview
Rose
Logical View
Component View
How to build system?
Views in Real World
How to deploy the products?
Deployment View
UML Views
Use-Case View:
Logical View:
UML Views
Component View:
Deployment View:
1. Use Case
Describe
way
Actors
System
Use Cases (Services)
Relationships
2. Logical View
Logical
Capsules
Classes
Protocols
Capsules
Modeling Structure
For
Modeling Behavior
protocols
state machines
time service
Capsules (Contd)
Two
Structure Diagram
viewpoints on capsules?
State Diagram
Ports
Structure Diagram
Three
Capsules
Ports
-
Public | Protected
Wired | Not-wired
Relay | End
Connectors
Classification of ports
Visibility
Public - Public ports are ports that are part of a capsule's
interface. These ports may be visible both from outside the
capsule and inside, e.g. interface ports
Protected - Protected ports are used to connect capsules to
contained capsule roles. These ports are not visible from the
outside of a capsule since they are not part of the capsule's
interface, e.g. Timer Ports.
Connector type
Wired - Wired ports must be connected via a connector to other
ports in order to send messages.
Non-wired - Non-wired ports are used to model dynamic
communication channels. These ports cannot be connected with
connectors to other ports. For example, in client/server models,
some ports may be declared but only activated when needed.
Connectors
Connectors
Capsules: Behavior
Optional
message
arrival
on port1
triggers
transition S1
to S2
transitionS1toS2:
{
port2.send(m1);
port3.send(m2);
};
S1
S2
S3
State Diagram
States
Transitions
States
A
Transitions
3. Component View
Component Diagram
Billing.exe
Billing
System
KATS.exe
User.dll
Course.dll
User
Course
Student
Course
Course
Offering
Professor
4. Deployment View
Nodes
The
Task
Package
Connection
Task
Active Object
Component
The
Communication Protocol
Initial:
timer.informIn(RTTimespec(2,0));
I sMouse
I sCat
TryCat
Dunno
TryMouse
QuerryJ erry
QuerryJ erryAgain
References
CIS721
Example
Ottawa