Unified Modeling Language- AC

Embed Size (px)

Citation preview

  • 8/8/2019 Unified Modeling Language- AC

    1/7

    The Emergence of UML

    The Unified Modeling Language (UML) is theOOD&A Equivalent of Java

    Unifies Booch, Rumbaugh, and Jacobson

    Overview of UML Presentation What is UML?

    Seven Goals of UML

    Modeling Constructs and Diagrams Use-Case Diagrams

    Class Diagram

    Behavior Diagrams

    Interaction Diagrams

    Implementation Diagrams

  • 8/8/2019 Unified Modeling Language- AC

    2/7

    What is UML?

    UML is a Language forSpecifying,Visualizing, Constructing, andDocumenting Software Artifacts

    What Does a Modeling LanguageProvide?

    Model Elements: Concepts and Semantics

    Notation: Visual Rendering of ModelElements

    Guidelines: Hints and Suggestions for UsingElements in Notation

  • 8/8/2019 Unified Modeling Language- AC

    3/7

    The Seven Goals of UML

    1. Ready-to-Use, Expressive Visual Modeling Languagethat Promotes Development/Exchange

    2. Extensibility/Specialization of Core Concepts

    3. Independent of Programming Languagesand Development Processes

    4. Formal Basis for Understanding Language

    5. Encourage Growth of OO Tools Market

    6. Support Higher Level Design ConceptsCollaborations, Frameworks, Patterns, etc.

    7. Integrate the Best Practices of All OOD

  • 8/8/2019 Unified Modeling Language- AC

    4/7

    What Defines a Model?

    Languages Defined by Syntax: Constructs and Syntactical Context

    Semantics: Meanings of Different Constructs

    Pragmatics: Operational Semantics of System

    In Programming Languages: Syntax: Lexical Analysis and Parsing

    Semantics: Attribute Grammars/Translation

    Pragmatics: Dynamic Runtime Environment

    How are Models Defined? Semantics

    Visual Presentation

    Note: Can have Syntax and Pragmatics!

  • 8/8/2019 Unified Modeling Language- AC

    5/7

    UML Modeling Diagrams

    Static vs. Dynamic Perspectives

    A Diagram Is a View Into a Model

    Presented From the Aspect of a Particular

    Stakeholder

    Provides a Partial Representation of the System Is Semantically Consistent With Other Views

    In the UML, There Are Nine (+4)Standard

    Diagrams

    Static Views: Use Case, Class, Object, Component,Deployment

    Dynamic Views: Sequence, Collaboration,

    Statechart, Activity

  • 8/8/2019 Unified Modeling Language- AC

    6/7

    UML Modeling Diagrams

    Classification by Capability/Timeline

    Use-Case Diagrams

    Class and Object Diagrams

    Behavior Diagrams

    Statechart Diagrams Activity Diagrams

    Interaction Diagrams Sequence Diagram

    Collaboration Diagram Implementation Diagrams

    Component Diagram

    Deployment Diagram

  • 8/8/2019 Unified Modeling Language- AC

    7/7

    Relationship Between Models and

    Diagrams

    Use CaseDiagramsUse Case

    DiagramsUse CaseDiagrams

    ScenarioDiagramsScenario

    DiagramsCollaborationDiagrams

    StateDiagramsState

    DiagramsComponentDiagrams

    ComponentDiagramsComponent

    DiagramsDeploymentDiagrams

    StateDiagramsState

    DiagramsObjectDiagrams

    ScenarioDiagramsScenario

    DiagramsStatechartDiagrams

    Use CaseDiagramsUse Case

    DiagramsSequence

    Diagrams

    StateDiagramsState

    DiagramsClassDiagrams

    ActivityDiagrams

    Models