Professional Documents
Culture Documents
ct1414-lecture_4
ct1414-lecture_4
ct1414-lecture_4
1
Modeling
Describing a system at a high level of
abstraction
A model of the system
Used for requirements and specifications
6
History of UML
Unified Modeling Language (UML)
An effort by IBM (Rational) – OMG to standardize OOA&D notation
Fulfill Order
Item
Business Process
via
Ships the Item
Rivers
Oceans
have
Class Diagram
Sequence Diagram
Collaboration Diagram
State Diagram
UML 1.x
Structural — nouns/static of UML models (irrespective of time).
12
Structural Things in UML- 7 Kinds (Classifiers)
Nouns.
Conceptual or physical elements.
setGrade()
getGrade()
State Machine
specifies the sequence of states an object or an interaction goes through during its
lifetime in response to events.
received-an-A/
inStudy buy-beer inParty
14
sober/turn-on-PC
3 basic building blocks of UML - Diagrams
A connected graph: Vertices are things; Arcs are relationships/behaviors.
Interaction Diagrams
Behavioral Diagrams Behavioral Diagrams
Represent the dynamic aspects.
Use case Sequence;
Use case Communication
Sequence;
Collaboration Statechart Interaction Overview
Statechart Timing
Activity
Activity
15
Diagrams in UML – Interaction Diagrams
A use case diagram presents an outside view of the system.
16
UML Model
18
UML Model
Dynamic model: Interaction diagram, State machine diagram,
Activity diagram
Describe the internal behavior of the system
Interaction diagram :