Upload
ismailelgayar
View
229
Download
0
Embed Size (px)
Citation preview
8/6/2019 Object Oriented Methodology & Unified Modeling Language
1/30
Eng.Ismail Fathalla El-Gayar
Prof.Dr. Abd El Baith Mohamed
8/6/2019 Object Oriented Methodology & Unified Modeling Language
2/30
ContentsUnified Modeling Language Using OO Methodology
2
- Object oriented Methodology
3
- UML Diagrams Classifications
1
Introduction To UML
8/6/2019 Object Oriented Methodology & Unified Modeling Language
3/30
INTRODUCTIONTO
UML ???
8/6/2019 Object Oriented Methodology & Unified Modeling Language
4/30
Introduction To UML
The UML is the standard language for visualizing,
specifying, constructing, and documenting the
artifacts of a software-intensive system.
It can be used with all processes, throughout thedevelopment life cycle, and across different
implementation technologies.
The standard for OO systems
hat is Unified Modeling Language?
8/6/2019 Object Oriented Methodology & Unified Modeling Language
5/30
Introduction To UML
The UML combines the best of the bestfrom:-
Data Modeling concept
(Entity Relationship Diagrams) Business Modeling
(work flow)
Object Modeling
Component Modeling
What is UML Represent ?
8/6/2019 Object Oriented Methodology & Unified Modeling Language
6/30
Introduction To UML
Is an open standard.
Supports the entire software developmentlifecycle.
Supports diverse applications areas. Is based on experience and needs of the user
community.
Supported by many tools.
The Value OfUnified Modeling Language
8/6/2019 Object Oriented Methodology & Unified Modeling Language
7/30
Introduction To UML
Define the boundaries of a system & its major functions.
Illustrate use cases.
Define the static structure of a system.
Model the behavior of objects. Document the physical implementation architecture.
Provide for growth.
UML Usage .
8/6/2019 Object Oriented Methodology & Unified Modeling Language
8/30
Introduction To UMLDesign Method Evolution ..
Structured Programming
Structured Design
Structured Analysis
Data Modeling4GL
OOP
CASE
OOAD
OOAD with UML
1970
1975
1980
1980
1980
1986
1986
1990
1997
8/6/2019 Object Oriented Methodology & Unified Modeling Language
9/30
Introduction To UMLUML Support..
Classes
application partitioning
Business Objects
Relationships
Business Process
ObjectsUse Cases
large scale system
Scenarios
ComponentsMicrosoft
ActiveX/COMMicrosoft
ORDBMSOracle
CORBAOMG
8/6/2019 Object Oriented Methodology & Unified Modeling Language
10/30
Object
OrientedMethodology
8/6/2019 Object Oriented Methodology & Unified Modeling Language
11/30
Object-Oriented Methodology
A program will typically consist of objects that
cooperate to solve a task.
An object will typically have attributes (data) and
methods (behavior), this defines the state of theobject and the manner in which the object operate.
Objects communicate by sending messages to each
other. Sending a message to an object is the same
as calling a method of the object.
Hint To know About
8/6/2019 Object Oriented Methodology & Unified Modeling Language
12/30
Object-Oriented Methodology
-- ClassClass: A description of a set of objects that sharethe same attributes, operations, relationships, and
semantics.
-- ObjectObject: A concrete manifestation of anabstraction; an entity with a well defined boundaryand identity that encapsulates state and behavior;
an instance o f a class.
Hint To know About
8/6/2019 Object Oriented Methodology & Unified Modeling Language
13/30
Car----------------------
ColorType
----------------------DriveBrakeHorn
8/6/2019 Object Oriented Methodology & Unified Modeling Language
14/30
UML
DiagramClassifications
8/6/2019 Object Oriented Methodology & Unified Modeling Language
15/30
UML DiagramClassificationsDiagrams Classifications ..
Use CaseDiagrams
Use CaseDiagrams
Use CaseDiagrams
ScenarioDiagrams
ScenarioDiagramsCollaboration
Diagrams
StateDiagrams
StateDiagramsComponentDiagrams
ComponentDiagramsComponentDiagramsDeploymentDiagrams
StateDiagrams
StateDiagrams
ObjectDiagrams
ScenarioDiagrams
ScenarioDiagramsState machine
Diagrams
Use CaseDiagrams
Use CaseDiagrams
SequenceDiagrams
StateDiagrams
StateDiagrams
ClassDiagrams
ActivityDiagrams
Models
Static
Dynamic
8/6/2019 Object Oriented Methodology & Unified Modeling Language
16/30
UML DiagramClassifications:-
Use Case Diagrams
Requirements
Activity Diagrams
Generally what, not who - good to detect parallelism Interaction Diagrams
Sequence Diagrams (timeline)
Collaboration Diagrams (object centered)
Classification OfUML ..
8/6/2019 Object Oriented Methodology & Unified Modeling Language
17/30
UML DiagramClassifications:-
Static Structure Diagrams
Objects/Classes/Packages
State Chart Diagrams
States of objects with interesting lifecycles Implementation Diagrams
Component Diagrams
Deployment Diagrams
Classification OfUML ..
8/6/2019 Object Oriented Methodology & Unified Modeling Language
18/30
UML DiagramClassifications:-Use Case Diagram
8/6/2019 Object Oriented Methodology & Unified Modeling Language
19/30
UML DiagramClassifications:-Class Diagram
8/6/2019 Object Oriented Methodology & Unified Modeling Language
20/30
UML DiagramClassifications:-Compiled Class Diagram to Java
8/6/2019 Object Oriented Methodology & Unified Modeling Language
21/30
UML DiagramClassifications:-Object Diagram
8/6/2019 Object Oriented Methodology & Unified Modeling Language
22/30
UML DiagramClassifications:-Sequence Diagram
8/6/2019 Object Oriented Methodology & Unified Modeling Language
23/30
UML DiagramClassifications:-Collaboration Diagram
8/6/2019 Object Oriented Methodology & Unified Modeling Language
24/30
UML DiagramClassifications:-State Chart Diagram
8/6/2019 Object Oriented Methodology & Unified Modeling Language
25/30
UML DiagramClassifications:-Activity Diagram
8/6/2019 Object Oriented Methodology & Unified Modeling Language
26/30
UML DiagramClassifications:-Component Diagram
8/6/2019 Object Oriented Methodology & Unified Modeling Language
27/30
UML DiagramClassifications:-Deployment Diagram
8/6/2019 Object Oriented Methodology & Unified Modeling Language
28/30
UML DiagramClassifications:-Deployment Diagram
8/6/2019 Object Oriented Methodology & Unified Modeling Language
29/30
References
Websites :--Wikipedia UML
- OMG UML
Books:-
Sommerville, Software Engineering,9th Edition
Miles, Learning UML2, 2006, OReilly
Bennet, Outline OfUML, 2005,Schaums
Chonoles, UML2 For Dummies, 2003,Dummies
8/6/2019 Object Oriented Methodology & Unified Modeling Language
30/30