uml introduction
Download
Skip this Video
Download Presentation
UML introduction

Loading in 2 Seconds...

play fullscreen
1 / 18

UML introduction - PowerPoint PPT Presentation


  • 61 Views
  • Uploaded on

UML introduction. A short introduction to UML Eivind J. Nordby Karlstad University. Design Problem. Complex systems cannot be understood without modelling Modelling makes design reproductable Modelling is documentation => Generic Language for this Problem Unified Modeling Language (UML)

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' UML introduction' - medge-underwood


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
uml introduction

UML introduction

A short introduction to UML

Eivind J. Nordby

Karlstad University

2000-05-09

design problem
Design Problem
  • Complex systems cannot be understood without modelling
  • Modelling makes design reproductable
  • Modelling is documentation
  • => Generic Language for this ProblemUnified Modeling Language (UML)
  • Standard of the OMG
  • Current Version 1.4 (since Sep. 2001)
  • Inventors: Jacobson, Rumbaugh, Booch.
  • Goal: Giving developer a general language for communication

Semla 2 page 2

slide3
UML
  • UML is a graphical language
    • Unified Modeling Language
  • UML provides a notation to describe software-intensive systems in an object-oriented way
    • Is general enough to describe nonsoftware systems
  • Static Modelling
    • Class Modelling
    • Component Modelling
    • Deployment Modelling
  • DynamicModelling
    • Activity/Sequence Modelling
    • Use Case Modelling
    • State Modelling

Semla 2 page 3

an example
An example
  • A booking system for room reservation
  • The initiator tell who shall take part in the meeting
  • The system calls the participants by email
  • The participants reply confirm by email
  • When all have confirmed, the system sends an email to the initiator
    • Support personnel are also notified
      • Cleaning, catering, secretaries, caretaker

Semla 2 page 4

part 1

Part 1

Classes and objects

Static description

2000-05-09

basic class description
A class is drawn as a box with compartments for

class name

attributes

operations

Any but the first can be empty or suppressed

Basic class description

Semla 2 page 6

inheritance
Inheritance

A connection with an open triangle in the direction to the base class

Abstract classes and operations

Italic class name

Italic operation name

Inheritance

Semla 2 page 7

associations
Analysis diagram

Multiplicities

0..1, 1, *, 1..*

Associations

Semla 2 page 8

associations1
Association label

a verb describing the interaction

Interpretation of multiplicity

Referencial integrity

Associations

Semla 2 page 9

object diagram and links
Class diagrams show the general structure with

Object diagrams show snapshots

objects are underlined

Object diagram and links
  • An association is a potential for a link
    • links are instances of associations
  • Links do never have multilplicities

Semla 2 page 10

role names
Role label

a noun describing the role in the interaction

Role names

Semla 2 page 11

aggregations
Aggregation

a crew is composed of crew members

expresses whole - parts

Composition

a person owns a PID number

expresses exclusive ownership and dependency

Aggregations

Semla 2 page 12

navigability
Analysis expresses relationships

Design diagram also expresses navigability

Part of the implementation design of “who keeps track of who”

Navigability

Semla 2 page 13

part 2

Part 2

Interactions

Dynamic description

2000-05-09

interactions
Interactions

Semla 2 page 15

interactions1
Interactions

Semla 2 page 16

interactions2
Interactions
  • Sequence diagram
    • Time based
  • Life line
  • Call, operation, return
  • Activation record
  • Recursive calls
  • New and delete

Semla 2 page 17

ad