90 likes | 115 Views
UML – an overview. What is UML? UML stands for Unified Modelling Language. ” The Unified Modelling Language is a visual language for specifying, constructing and documenting the artifacts of systems ” [1]. It is an aid, a language, for communication within and of system development.
E N D
UML – an overview WhatisUML? UMLstandsforUnifiedModellingLanguage. ”TheUnifiedModellingLanguageisavisuallanguageforspecifying,constructinganddocumentingtheartifactsofsystems”[1]. Itisanaid,alanguage,forcommunicationwithinandofsystemdevelopment. UMLisdescribedintwoofficialpublications: [1]OMG,2003,UML2.0InfrastructureSpecification,www.omg.org, [2]OMG,2003,UML2.0SuperstructureSpecification,www.omg.org UMLconsistsofanumberofdiagramswithgraphicalnotationswhichareusedtomodelasystemfromdifferentperspectives. UMLisbasedonamodelcalledMetaModell. WecanmostofthetimesimplifyandsaythattheMetaModelissynonymouswiththeUMLlanguage. WhatisnotUML? UMLisnotamethoditself,norequivalenttoobjectorienteddevelopment.
UML – perspectives UML in different perspectives Conceptual perspective - To build up an understanding of, and a vocabulary for a certain domain - most often technically independent Software perspective - To describe the design and the implementation of a certain system - most often technically independent
UML – ways UML in different ways UML as sketch • - to describe parts of possible solutions of problems or a domain • - to discuss parts of existing solutions • - the idea is to use UML for a selective, more informal description of the system or the domain UML as blueprint - to describe the system in a waythat a programmer can use - to document existing system solutionsfor more definite use • the idea here is to use UML for a complete and formal description of the system Code in UML - UML is the actual programming language and is compiled directly into code • the idea is to avoid the programming stepbetween model and code • not entirely ready for general use in system development and to early to see if it is going to be widely used
UML – areas UML in different areas Before coding - the models are used as basic data for coding - forward engineering After coding - the models are used as documentation of the code - reverse engineering Round-trip • both of the fields of applacation above are used • - round-trip engineering As view-aid - the code is the source and UML is used to present the code when needed - tripless engineering
UML – a diagram overview UML 2.0 has 13 diagram types, with different focus, and the types are divided into two main groups. Structure Diagrams describe static (structural) conditions. Behavioral Diagrams describe dynamic conditions. Structure Diagram (6 st) Diagram (13 st) Behavioral Diagram (7 st)
UML – Structure Diagrams Class Diagram Object Diagram Packet Diagram Structure Diagram Component Diagram Composite Structure Diagram Deployment Diagram
UML – Behavioral Diagrams Activity Diagram Use Case Diagram State Machine Diagram Interaction Diagram Behavioral Diagram Sequence Diagram Communication Diagram Interaction Overview Diagram Timing Diagram
Business processes (in Activity Diagram) Communication between people (in SequenceDiagram) Business concepts (in Class Diagram) Use Case Activity Diagram Sequence Diagram Information modell (in Class Diagram) The reality and UML-models The reality UML-models