Detail Design Extending UML and Object Design. Object Design.

Slides:



Advertisements
Similar presentations
1 Devon M. Simmonds The UML Metamodel SLIDES include some from tvarious sources including: (1)
Advertisements

IEC Substation Configuration Language and Its Impact on the Engineering of Distribution Substation Systems Notes Dr. Alexander Apostolov.
© 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley 1 Architectural Modeling Notations.
Copyright © 2006 Addison-Wesley. All rights reserved. 3.5 Dynamic Semantics Meanings of expressions, statements, and program units Static semantics – type.
Formal Methods of Systems Specification Logical Specification of Hard- and Software Prof. Dr. Holger Schlingloff Institut für Informatik der.
Object-Oriented Analysis and Design
Lecturer: Sebastian Coope Ashton Building, Room G.18 COMP 201 web-page: Lecture.
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
1 © Wolfgang Pelz UML3 UML 3 Notations describe how to use reusable software. Package Component Deployment Node.
UML CASE Tool. ABSTRACT Domain analysis enables identifying families of applications and capturing their terminology in order to assist and guide system.
Data and Process Modeling
R R R CSE870: Advanced Software Engineering: Extending and Using UML (Cheng) Supplementary: Using and Extending UML.
© Bennett, McRobb and Farmer Specifying Operations Based on Chapter 10 of Bennett, McRobb and Farmer: Object Oriented Systems Analysis and Design.
Common Mechanisms in UML
6. 2Object-Oriented Analysis and Design with the Unified Process Objectives  Explain how events can be used to identify use cases that define requirements.
International Telecommunication Union ITU-T Study Group 17, Moscow, 30 March – 8 April 2005 New Recommendations on ODP Arve Meisingset Rapporteur Q15.
10 December, 2013 Katrin Heinze, Bundesbank CEN/WS XBRL CWA1: DPM Meta model CWA1Page 1.
Basic Concepts The Unified Modeling Language (UML) SYSC System Analysis and Design.
Romaric GUILLERM Hamid DEMMOU LAAS-CNRS Nabil SADOU SUPELEC/IETR.
SEG4110 – Advanced Software Design and Reengineering
Chapter 8 Architecture Analysis. 8 – Architecture Analysis 8.1 Analysis Techniques 8.2 Quantitative Analysis  Performance Views  Performance.
1 COSC 4406 Software Engineering COSC 4406 Software Engineering Haibin Zhu, Ph.D. Dept. of Computer Science and mathematics, Nipissing University, 100.
1COM6030 Systems Analysis and Design © University of Sheffield 2005 COM 6030 Software Analysis and Design Lecture 10 – Classes and operations Dr Richard.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 20 Object-Oriented.
Computer Science 101 Database Concepts. Database Collection of related data Models real world “universe” Reflects changes Specific purposes and audience.
1 WXGC6102: Object-Oriented Techniques Modelling Concepts References: Chapter 5 of Bennett, McRobb and Farmer: Object Oriented Systems Analysis and Design.
SOEN 343 Software Design Section H Fall 2006 Dr Greg Butler
Specializing and extending the UML
Using UML, Patterns, and Java Object-Oriented Software Engineering Chapter 4, Requirements Elicitation.
1 Devon M. Simmonds Metadata & The UML Metamodel SLIDES include some from tvarious sources including: (1)
© 2010 Bennett, McRobb and Farmer1 Specifying Operations Based on Chapter 10 of Bennett, McRobb and Farmer: Object Oriented Systems Analysis and Design.
WXGC6102: Object-Oriented Techniques Specifying Operations References: Chapter 10 of Bennett, McRobb and Farmer: Object Oriented Systems Analysis and Design.
Uml is made similar by the presence of four common mechanisms that apply consistently throughout the language. After constructing or developing the architecture.
Structural Modeling. Objectives O Understand the rules and style guidelines for creating CRC cards, class diagrams, and object diagrams. O Understand.
Unit 1 INTRODUCTION TO MODELING AND CLASS MODEL Ref : L7-UML.PDF.
Chapter 16 Applying UML and Patterns Craig Larman
® IBM Software Group © 2006 IBM Corporation Rational Software France Object-Oriented Analysis and Design with UML2 and Rational Software Modeler 03. Classes,
UML for OOADStefan Kluth 1 2UML for OOAD 2.1What is UML? 2.2Classes in UML 2.3Relations in UML 2.4Static and Dynamic Design with UML.
1 OCL The Role of OCL in UML. 2 רשימת הנושאים  מבוא  מרכיבי השפה  דוגמאות  מקורות.
NJIT UML Class Diagrams Chapter 16 Applying UML and Patterns Craig Larman.
An Introduction to the Unified Modeling Language
Lecture 6: Structural Modeling
Dr. Darius Silingas | No Magic, Inc. Domain-Specific Profiles for Your UML Tool Building DSL Environments with MagicDraw UML.
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
Week III  Recap from Last Week Review Classes Review Domain Model for EU-Bid & EU-Lease Aggregation Example (Reservation) Attribute Properties.
1 Toward the Integration of Theme/UML & JPDDs Andrew Jackson, Siobhán Clarke Distributed Systems Group, Dept. of Computer Science,
1 Class Diagrams. 2 Overview Class diagrams are the most commonly used diagrams in UML. Class diagrams are for visualizing, specifying and documenting.
1 Technical & Business Writing (ENG-715) Muhammad Bilal Bashir UIIT, Rawalpindi.
Chapter 16: UML Class Diagrams
Chapter 5 System Modeling. What is System modeling? System modeling is the process of developing abstract models of a system, with each model presenting.
Ch 9 – Properties and Attributes of Functions 9.4 – Operations with Functions.
CSCI 3428: Software Engineering Tami Meredith UML Unified Modeling Language.
UML Profile BY RAEF MOUSHEIMISH. Background Model is a description of system or part of a system using well- defined language. Model is a description.
Object Modeling THETOPPERSWAY.COM. Object Modelling Technique(OMT)  Building a model of an application domain and then adding implementation.
21/1/ Analysis - Model of real-world situation - What ? System Design - Overall architecture (sub-systems) Object Design - Refinement of Design.
Yu, et al.’s “A Model-Driven Development Framework for Enterprise Web Services” In proceedings of the 10 th IEEE Intl Enterprise Distributed Object Computing.
Interpreting the Object Constraint Presented by: Ed Kausmeyer.
Object Oriented Programming and Data Abstraction Earl Huff Rowan University.
1 Software Engineering: A Practitioner’s Approach, 6/e Chapter 11b: Component-Level Design Software Engineering: A Practitioner’s Approach, 6/e Chapter.
Object-oriented programming (OOP) is a programming paradigm using "objects" – data structures consisting of data fields and methods together with their.
Software Engineering: A Practitioner’s Approach, 6/e Chapter 11 Component-Level Design copyright © 1996, 2001, 2005 R.S. Pressman & Associates, Inc.
Tao Yue and Shaukat Ali Simula Research Laboratory Oct 19nd, 2016
Business Process Measures
Interactions.
Chapter 2, Modeling with UML, Part 4 UML 2 Metamodel
Seminar 3 UML Class Diagram.
Chapter 4 Advanced Class Modeling
Class Diagrams.
2 UML for OOAD 2.1 What is UML? 2.2 Classes in UML
Software Architecture & Design
Presentation transcript:

Detail Design Extending UML and Object Design

Object Design

Extending UML

Constraints: Telemarketing Example

Constraints: Contact Management Example

OCL (Object Constraint Language) OCL is a formal language intended for specifying constraints Most OCL statements consist of the following structural elements – context -- defines a domain within which the expression is valid (e.g. an instance of a specific type or class, or a link) – a property of that instance which is the context for the expression -- e.g. attributes, association-ends – an OCL operation which is applied to the property -- arithmetic operators, set operators and type operators OCL statements can also include keywords – e.g. and, or, implies, if, then, else, not, in

Examples of OCL Expressions

Specifying OCL Constraints

Example OCL Operation Specification

Notes and Tags

Notes and Tags: Contact Management Example

Using Notes to Express OCL Constraints

Object-Oriented Detailed Design

Class Specification – Attributes and Operations

Class Specification Example

Attribute and Operation Visibility

Derived Information Derived information is information which is computed from other model elements – a kind of constraint that applies to an attribute or an association – derived information may make the model more readable Knowing which information is derived is more important in the design model – during design, access to information should be optimised -- actual data (derived information is stored after it has been derived) -- virtual data (derived information is dynamically recomputed each time) The UML notation for derived information is a solidus / in front of the name of the derived attribute or association

Derived Attribute Example

Summary Extending UML – additional modelling concepts ● stereotypes ● comments ● constraints – OCL (Object Constraint Language) References – Maciaszek, section 5.11, Bennett et al., section 10.5