Prof.Dr. Abd El Baith Mohamed




  Eng.Ismail Fathalla El-Gayar
Contents
Unified Modeling Language Using OO Methodology

     1
     • Introduction To UML


             2
             - Object oriented Methodology


                       3
                       - UML Diagrams Classifications
INTRODUCTION
     TO
    UML ???
Introduction To UML
        What is Unified Modeling Language?

•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 the
development life cycle, and across different
implementation technologies.
•The standard for OO systems
Introduction To UML
                    What is UML Represent ?

The UML combines the best of the best
from:-
  •   Data Modeling concept
               (Entity Relationship Diagrams)
  •   Business Modeling
              (work flow)
  •   Object Modeling
  •   Component Modeling
Introduction To UML
     The Value Of Unified Modeling Language

•   Is an open standard.
•   Supports the entire software development
    lifecycle.
•   Supports diverse applications areas.
•   Is based on experience and needs of the user
    community.
•   Supported by many tools.
Introduction To UML
                                           UML Usage ….

•   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.
Introduction To UML
          Design Method Evolution …..
   1997         OOAD with UML
   1990              OOAD
   1986              CASE
   1986              OOP
   1980              4GL
   1980          Data Modeling
   1980       Structured Analysis
   1975        Structured Design
   1970     Structured Programming
Introduction To UML
                                 UML Support………..
                                            Relationships

       ORDBMS
       Oracle         Business Objects
                                          large scale system

 Classes

                                                 Objects
     Use Cases

Components
Microsoft                                          Scenarios
    application partitioning
                                             CORBA
                                             OMG
                           ActiveX/COM
                           Microsoft
                                         Business Process
Object
    …
 Oriented
    …
Methodology
Object-Oriented Methodology
                     Hint To know About ……

•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 the
object 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.
Object-Oriented Methodology
                     Hint To know About ……

- Class: A description of a set of objects that share
the same attributes, operations, relationships, and
semantics.
-   Object:    A concrete manifestation of an
abstraction; an entity with a well defined boundary
and identity that encapsulates state and behavior;
an instance of a class.
Car
----------------------
       Color
       Type
----------------------
       Drive
       Brake
       Horn
UML
   Diagram

Classifications
UML Diagram Classifications
                    Diagrams Classifications ……..

                                             State
                                              State
                                           Diagrams
                                                Class
                        Use Case            Diagrams
                         Use Case             Diagrams                State
   Use Case             Diagrams
                           Use Case                                    State
    Use Case             Diagrams                                   Diagrams
                                                                        Object
   Diagrams
      Sequence             Diagrams                                  Diagrams
    Diagrams                                                           Diagrams
      Diagrams

Scenario                                                              State
  Scenario                                                             State
Diagrams
 Collaboration                                                      Diagrams
                                                                      Component
 Diagrams                             Models                         Diagrams
   Diagrams                                                            Diagrams


       Scenario                                      Component
         Scenario                                      Component
                                                      Diagrams
                                                       Deployment
       Diagrams
        State machine                                   Diagrams
        Diagrams                                         Diagrams
          Diagrams                 Activity
                                  Diagrams
                                                         Static
                                                         Dynamic
UML Diagram Classifications:-
                           Classification Of UML …..

•   Use Case Diagrams
    –   Requirements
•   Activity Diagrams
    –   Generally what, not who - good to detect parallelism
•   Interaction Diagrams
    –   Sequence Diagrams (timeline)
    –   Collaboration Diagrams (object centered)
UML Diagram Classifications:-
                            Classification Of UML …..

•   Static Structure Diagrams
    –   Objects/Classes/Packages
•   State Chart Diagrams
    –   States of objects with interesting lifecycles
•   Implementation Diagrams
    –   Component Diagrams
    –   Deployment Diagrams
UML Diagram Classifications:-
             Use Case Diagram ………
UML Diagram Classifications:-
                Class Diagram ………
UML Diagram Classifications:-
    Compiled Class Diagram to Java ………
UML Diagram Classifications:-
               Object Diagram ………
UML Diagram Classifications:-
             Sequence Diagram ………
UML Diagram Classifications:-
          Collaboration Diagram ………
UML Diagram Classifications:-
            State Chart Diagram ………
UML Diagram Classifications:-
              Activity Diagram ………
UML Diagram Classifications:-
           Component Diagram ………
UML Diagram Classifications:-
           Deployment Diagram ………
UML Diagram Classifications:-
           Deployment Diagram ………
References
 Websites :-
        -Wikipedia – UML
        - OMG – UML
 Books:-
 •Sommerville, Software Engineering,9th Edition
 •Miles, Learning UML2, 2006, O’Reilly
 •Bennet, Outline Of UML, 2005,Schaums
 •Chonoles, UML2 For Dummies, 2003,Dummies
Thanks For Your Time
       Best Wishes

Object oriented methodology & unified modeling language

  • 1.
    Prof.Dr. Abd ElBaith Mohamed Eng.Ismail Fathalla El-Gayar
  • 2.
    Contents Unified Modeling LanguageUsing OO Methodology 1 • Introduction To UML 2 - Object oriented Methodology 3 - UML Diagrams Classifications
  • 3.
    INTRODUCTION TO UML ???
  • 4.
    Introduction To UML What is Unified Modeling Language? •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 the development life cycle, and across different implementation technologies. •The standard for OO systems
  • 5.
    Introduction To UML What is UML Represent ? The UML combines the best of the best from:- • Data Modeling concept (Entity Relationship Diagrams) • Business Modeling (work flow) • Object Modeling • Component Modeling
  • 6.
    Introduction To UML The Value Of Unified Modeling Language • Is an open standard. • Supports the entire software development lifecycle. • Supports diverse applications areas. • Is based on experience and needs of the user community. • Supported by many tools.
  • 7.
    Introduction To UML UML Usage …. • 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.
  • 8.
    Introduction To UML Design Method Evolution ….. 1997 OOAD with UML 1990 OOAD 1986 CASE 1986 OOP 1980 4GL 1980 Data Modeling 1980 Structured Analysis 1975 Structured Design 1970 Structured Programming
  • 9.
    Introduction To UML UML Support……….. Relationships ORDBMS Oracle Business Objects large scale system Classes Objects Use Cases Components Microsoft Scenarios application partitioning CORBA OMG ActiveX/COM Microsoft Business Process
  • 10.
    Object … Oriented … Methodology
  • 11.
    Object-Oriented Methodology Hint To know About …… •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 the object 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.
  • 12.
    Object-Oriented Methodology Hint To know About …… - Class: A description of a set of objects that share the same attributes, operations, relationships, and semantics. - Object: A concrete manifestation of an abstraction; an entity with a well defined boundary and identity that encapsulates state and behavior; an instance of a class.
  • 13.
    Car ---------------------- Color Type ---------------------- Drive Brake Horn
  • 14.
    UML Diagram Classifications
  • 15.
    UML Diagram Classifications Diagrams Classifications …….. State State Diagrams Class Use Case Diagrams Use Case Diagrams State Use Case Diagrams Use Case State Use Case Diagrams Diagrams Object Diagrams Sequence Diagrams Diagrams Diagrams Diagrams Diagrams Scenario State Scenario State Diagrams Collaboration Diagrams Component Diagrams Models Diagrams Diagrams Diagrams Scenario Component Scenario Component Diagrams Deployment Diagrams State machine Diagrams Diagrams Diagrams Diagrams Activity Diagrams Static Dynamic
  • 16.
    UML Diagram Classifications:- Classification Of UML ….. • Use Case Diagrams – Requirements • Activity Diagrams – Generally what, not who - good to detect parallelism • Interaction Diagrams – Sequence Diagrams (timeline) – Collaboration Diagrams (object centered)
  • 17.
    UML Diagram Classifications:- Classification Of UML ….. • Static Structure Diagrams – Objects/Classes/Packages • State Chart Diagrams – States of objects with interesting lifecycles • Implementation Diagrams – Component Diagrams – Deployment Diagrams
  • 18.
    UML Diagram Classifications:- Use Case Diagram ………
  • 19.
    UML Diagram Classifications:- Class Diagram ………
  • 20.
    UML Diagram Classifications:- Compiled Class Diagram to Java ………
  • 21.
    UML Diagram Classifications:- Object Diagram ………
  • 22.
    UML Diagram Classifications:- Sequence Diagram ………
  • 23.
    UML Diagram Classifications:- Collaboration Diagram ………
  • 24.
    UML Diagram Classifications:- State Chart Diagram ………
  • 25.
    UML Diagram Classifications:- Activity Diagram ………
  • 26.
    UML Diagram Classifications:- Component Diagram ………
  • 27.
    UML Diagram Classifications:- Deployment Diagram ………
  • 28.
    UML Diagram Classifications:- Deployment Diagram ………
  • 29.
    References Websites :- -Wikipedia – UML - OMG – UML Books:- •Sommerville, Software Engineering,9th Edition •Miles, Learning UML2, 2006, O’Reilly •Bennet, Outline Of UML, 2005,Schaums •Chonoles, UML2 For Dummies, 2003,Dummies
  • 30.
    Thanks For YourTime Best Wishes