uml(1).ppt - Introduction to UML What is UML u2022 Unified...

This preview shows page 1 - 13 out of 63 pages.

Introduction to UML
What is UML? Unified Modeling Language OMG Standard, Object Management Group Based on work from Booch, Rumbaugh, Jacobson UML is a modeling language to express and design documents, software Particularly useful for OO design Not a process, but some have been proposed using UML Independent of implementation language
Why use UML Open Standard, Graphical notation for Specifying, visualizing, constructing, and documenting software systems Language can be used from general initial design to very specific detailed design across the entire software development lifecycle Increase understanding/communication of product to customers and developers Support for diverse application areas Support for UML in many software packages today (e.g. Rational, plugins for popular IDE’s like NetBeans, Eclipse) Based upon experience and needs of the user community
Static vs. Dynamic Design Static design describes code structure and object relations Class relations Objects at design time Doesn’t change Dynamic design shows communication between objects Similarity to class relations Can follow sequences of events May change depending upon execution scenario Called Object Diagrams
Systems, Models and Views A model is an abstraction describing a subset of a system A view depicts selected aspects of a model A notation is a set of graphical or textual rules for depicting views Views and models of a single system may overlap each other Examples: System: Aircraft Models: Flight simulator, scale model Views: All blueprints, electrical wiring, fuel system
Systems, Models and Views System View 1 Model 2 View 2 View 3 Model 1 Aircraft Flightsimulator Scale Model Blueprints Electrical Wiring
UML Models, Views, Diagrams UML is a multi-diagrammatic language Each diagram is a view into a model Diagram presented from the aspect of a particular stakeholder Provides a partial representation of the system Is semantically consistent with other views Example views
Models, Views, Diagrams
Basic Modeling Steps Use Cases Capture requirements Domain Model Capture process, key classes Design Model Capture details and behaviors of use cases and domain objects Add classes that do the work and define the architecture
UML Baseline Use Case Diagrams Class Diagrams Package Diagrams Interaction Diagrams Sequence Collaboration Activity Diagrams State Transition Diagrams Deployment Diagrams
Use Case Diagrams Used during requirements elicitation to represent external behavior Actors represent roles, that is, a type of user of the system Use cases represent a sequence of interaction for a type of functionality; summary of scenarios The use case model is the set of all use cases. It is a complete description of the functionality of the system and its environment Passenger PurchaseTicket
Actors An actor models an external entity which communicates with the system: User External system Physical environment

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture