Professional Documents
Culture Documents
Sales
Customer Order
Warehouse
Location Item
X Y
B +C
-D
«import»
A +E
X Y
B Y::C +C
-D
«import»
A Y::E +E
X Y
B +B
-D
«import»
A +E
same class
X Y
B +Y::B
-C +B
-D
«import»
A +Y::E +E
X Y
B +C
-D
«access»
A +E
X Y
«access»
B +C
-D
A +E
X Y Z
B Y::C +C +Z::F +F
«import» -D «import»
Y::F -H
A +E -Z::G +G
Y::E
X Y Z
B +C +F
-D «access»
«access»
-H
A +E +G
Package Inheritance
Traffic
Trunk Control
Communicating subsystems
constitute a system
Subscription
Core Concepts
?
The subsystem realization defines the actual contents of
the subsystem
The subsystem realization typically consists of classes and
their relationships, or a contained hierarchy of subsystems
with classes as leaves
Subsystem Specification
?
The subsystem specification defines the
external view of the subsystem
Subsystem Specification
Traffic Control
Specification elements Realization elements
Initiate Call
Trunk
Receive Digit and Connect
Number
Analyzer
Dictionary
Network
Manager
Traffic Control
Operations
initiateConnection (…)
dialledDigit (…)
throughConnect (…)
bAnswer (…)
bOnHook (…)
aOnHook (…)
Traffic Control
Specification elements
Operations
changeDigitAnalysisInformation (...)
Specification elements
Initiate Call
Trunk
Receive Digit and Connect
Traffic Control
Operations Realization elements
changeDigitAnalysisInformation ( )
«realize»
Specification elements
Initiate Call
changeDigitAnalysisInformation ( )
:
:
Trunk
Receive Digit and Connect
bAnswer :Subscription
1: markBusy
5: markBusy
Collaboration – Notation
Collaboration
Role
role name
role name
Initiate Call
Network
Interface
Receive Digit and Connect Coordinator
Analysis
Database
Hook Signal and Disconnect
4:receive
1:transmit
2:send
3:ack
1.4
Subsystem Inheritance
Realization elements
Diagram Tour – continued
Subsystems can be shown in interaction
diagrams
collaboration diagrams
sequence diagrams
Sequence Diagram
When to Use Subsystems