Академический Документы
Профессиональный Документы
Культура Документы
3.01
History of OOAD leading to UML
1970
1970 First object-oriented languages (Simula-67, Smalltalk).
1995
1995 Unification, UML 0.9 by Booch, Rumbaugh
History of UML
Industrialization
3.02
The Unified Modeling Language
❍ Vendors modify their CASE tools to make them consistent with UML.
3.03
UML Diagrams (2)
structures
Activity Diagrams Interaction Diagrams
inter-class behavior
interaction sequences
Class Diagrams between objects
structuring
intra-class behavior
Methodology
Software development is a process in phases.
This process has to follow a methodology.
Each phase is supported by graphs & diagrams.
There are different kinds of documents and various usage of them.
UML is an essential language for diagrams, offering computer support as well
as the right patterns for the various stages of refinement and viewpoints.
OOA&D © J.W. Schmidt, F. Matthes, TU Hamburg-Harburg 3.0.8
3.04
Diagrams and Process
Iteration
Inception
Elaboration
3.05
Diagrams and Process
Class & Package Diagrams
Class 1 Class 2
Inception
Class 3
Elaboration
Object Inception
Elaboration
3.06
Diagrams and Process
Activity Diagrams (Workflow, Interclass Behavior)
Activity 1 Activity 2
Inception
Activity 3 Activity 4
Elaboration
Activity 5
State 1
Inception
State 2 State 3
Elaboration
State 4
3.07
Texts and Process
Source Code
//: Shapes.java
import java.util.*;
class Shape {
void draw() {}
void erase() {}
}
class Circle extends Shape {
void draw() {
System.out.println("Circle.draw()"); }
void erase() {
System.out.println("Circle.erase()"); }
} Inception
public static void main(String args[]) {
Shape s[] = new Shape[9];
// Fill up the array with shapes:
for(int i = 0; i < s.length; i++)
s[i] = randShape();
Elaboration
// Make polymorphic method calls:
for(int i = 0; i < s.length; i++)
s[i].draw();
}
}
Construction
Unit
Server
Application
Object Inception
Database
Elaboration
Network
Interface
Configure
Users
Construction
Transition
3.08