Department of Computer Science, Institute for Software and Multimedia Technology OCL. by Example
|
|
|
- Jade Wilcox
- 10 years ago
- Views:
Transcription
1 Department of Computer Science, Institute for Software and Multimedia Technology OCL (Object Constraint Language) by Example Dr. Birgit Demuth
2 In theory, there is no difference between theory and practice. But, in practice, there is. Jan L. A. van de Snepscheut/Yogi Bera Dr. Birgit Demuth MINE Summer School, Nida,
3 Main Goals of the Lecture Bridge the gap between practically used software specifications (UML) and formal languages Introduce into OCL (history, outline, literature) Learn how to specify semantics using OCL Learn what are interesting OCL use cases Inform what OCL tools can already be used Dr. Birgit Demuth MINE Summer School, Nida,
4 Foundation: Assertions An assertion is a predicate (i.e., a true false statement) placed in a program to indicate that the developer thinks that t the predicate is always true at that t place [Wikipedia]. Usage in Hoare logic [Hoare 1969] Design by contract [Meyer 1986, Eiffel] For run-time checking (Java (assert), JML, JASS, SQL, ) During the development cycle (debugging) Static assertions at compile time Dr. Birgit Demuth MINE Summer School, Nida,
5 Object Constraint Model-based assertion [Warmer and Kleppe] define a constraint as follows: A constraint is a restriction on one or more values of (part of) an object-oriented model or system. OCL as specification language for object constraints Dr. Birgit Demuth MINE Summer School, Nida,
6 History of OCL Developed at IBM in 1995 originally as a business engineering language Adopted as a formal specification language within UML Part of the official OMG standard for UML (from version 1.1 on) Used for precisely defining the well-formedness rules (WFRs) for UML and further OMG-related metamodels Current version is OCL 2.0 Dr. Birgit Demuth MINE Summer School, Nida,
7 OCL (Object Constraint Language) Extends the Unified Modeling Language (UML) Formal language for the definition of constraints and queries on UML models Declarative Sd Side effect free Add precise semantics to visual (UML-) models Generalized for all MOF based metamodels Meanwhile generally accepted Many extensions such as for temporal constraints Core Language of other OMG languages (QVT, PRR) Dr. Birgit Demuth MINE Summer School, Nida,
8 Literature [1] ] Warmer, J., Kleppe, A.: The Object Constraint Language. g Precise Modeling with UML. Addison-Wesley, 1999 [2] Warmer, J., Kleppe, A.: The Object Constraint Language Second Edition. Getting Your Models Ready For MDA. Addison-Wesley, 2003 [3] OMG UML specification, catalo g.htm#uml [4] OMG UML 2.0 OCL, org/technology/documents/formal/ocl htm [5] Heinrich Hußmann: Formal Specification of Software Systems. Course, 2000, Technische Universität Dresden Dr. Birgit Demuth MINE Summer School, Nida,
9 Dr. Birgit Demuth MINE Summer School, Nida,
10 Constraint Definition A constraint is a restriction on one or more values of (part of) an object-oriented model or system. A constraint is formulated on the level of classes, but its semantics is applied on the level of objects. originally formulated in the syntactic context of a UML UML model (i.e. a set of UML diagrams) Dr. Birgit Demuth MINE Summer School, Nida,
11 Invariant Definition An invariant is a constraint that should be true for an object during its complete lifetime. Invariants often represent rules that should hold for the real-life objects after which the software objects are modeled. Syntax context <classifier> inv [<constraint name>]: <Boolean OCL expression> Dr. Birgit Demuth MINE Summer School, Nida,
12 OCL/UML By Example Dr. Birgit Demuth MINE Summer School, Nida,
13 Invariant - Examples context Meeting inv: self.end > self.start Equivalent Formulations context Meeting inv: end > start -- "self" always refers to the object identifier from which the constraint is evaluated. context Meeting inv startendconstraint: self.end > self.start -- Names can be given to the constraint Dr. Birgit Demuth MINE Summer School, Nida,
14 Precondition /Postcondition Constraint that specify the applicability and effect of an operation without stating an algorithm or implementation Are attached to an operation in a class diagram Allow a more complete specification of a system Dr. Birgit Demuth MINE Summer School, Nida,
15 Precondition Definition Constraint that must be true just prior to the execution of an operation Syntax context <classifier>::<operation> (<parameters>) pre [<constraint name>]: <Boolean OCL expression> Dr. Birgit Demuth MINE Summer School, Nida,
16 Precondition - Examples context Meeting::shift(d:Integer) pre: self.isconfirmed = false context Meeting::shift(d:Integer) pre: d>0 context Meeting::shift(d:Integer) pre: self.isconfirmed = false and d>0 Dr. Birgit Demuth MINE Summer School, Nida,
17 Postcondition Definition Constraint t that t must be true just after to the execution of an operation Postconditions are the way how the actual effect of an operation is described in OCL. Syntax context <classifier>::<operation> (<parameters>) post [<constraint name>]: <Boolean OCL expression> Dr. Birgit Demuth MINE Summer School, Nida,
18 Postcondition - Examples context Meeting::duration():Integer post: result = self.end self.start -- keyword result refers to the result of the operation context Meeting::confirm() post: self.isconfirmed = true Dr. Birgit Demuth MINE Summer School, Nida,
19 Postcondition Examples (cont.) context Meeting::shift(d:Integer) post: start = start@pre +d and end = end@pre + d -- start@pre indicates a part of an expression -- which is to be evaluated in the original state -- before execution of the operation -- start refers to the value upon completion of the operation is only allowed in postconditions Dr. Birgit Demuth MINE Summer School, Nida,
20 Postcondition Examples (cont.) messaging only in postconditions is specifying that communication has taken place hassent ( ^ ) operator context Subject::hasChanged() post: observer^update(2,4) /* standard observer pattern: results in true if an update message with arguments 2 and 4 was sent to the observer object during execution of the operation haschanged() */ Dr. Birgit Demuth MINE Summer School, Nida,
21 Building OCL Expressions <OCL expression> (1) Boolean expressions Standard library of primitive types and associated operations Basic types (Boolean, Integer, Real, String) Collection types: Collection Set Ordered Set (only OCL2) Bag Sequence Dr. Birgit Demuth MINE Summer School, Nida,
22 Building OCL Expressions <OCL expression> (2) User defined types (OCLType) Class type (Model type): Classifier in a class diagram (implicitly defined) Generalisation among classiefiers leads to Supertypes A class has the following Features: Attributes (start) Operations (duration()) Class attributes (Date::today) Class operations Association ends ( navigation expressions ) Enumeration type (Gender, Gender::male) Dr. Birgit Demuth MINE Summer School, Nida,
23 OCL Type Hierarchy T T T T T Dr. Birgit Demuth MINE Summer School, Nida,
24 OCL Type Conformance Rules OCL is a strongly typed language. The parser has to check the conformance: Type1 conforms to Type2 if an instance of Type1 can be substituted at each place where an instance of Type2 is expected. General rules: Each Type conforms to each of its supertypes. Type conformance is transitive. A paramerized type T(X) conforms to T(Y) if X conforms to Y. Dr. Birgit Demuth MINE Summer School, Nida,
25 OCL Constraints and Inheritance Constraints are inherited. Liskov s s Substitution Principle Wherever an instance of a class is expected, one can always substitute an instance of any of its subclasses. An invariant for a superclass is inherited by its subclass. A subclass may strengthen the invariant but cannot weaken it. A precondition may be weakened but not strengthened in a redefinition of an operation in a subclass. A postcondition may be strengthened but not weakened in a redefinition of an operation in a subclass. Dr. Birgit Demuth MINE Summer School, Nida,
26 Navigation Expressions Association ends (role names) are be used to navigate navigate from one object in the model to another object. Navigations are treated as attributes (dot-notation). The type of a navigation expression is either a User defined type (association end with multiplicity at most 1) Collection (association end with multiplicity > 1) Dr. Birgit Demuth MINE Summer School, Nida,
27 Navigation i Expressions - Examples User defined type Navigation from Meeting to moderator results in type Teammember context Meeting inv: self.moderator.gender = Gender::female Dr. Birgit Demuth MINE Summer School, Nida,
28 Navigation Expressions - Examples Collection Navigation von Meeting to participants results in type Set(Teammember) context Meeting inv: self->collect(participants)->size()>=2 or with shorthand notation: context Meeting inv: self.participants->size()>=2 Dr. Birgit Demuth MINE Summer School, Nida,
29 Collection Operations (1) 22 operations with variant meaning depending on the collection type such as equals (=) and not equals operation (<>) Transformations (asbag(), asset(), asorderedset(), assequence()) including(object) and excluding(object) flatten() for example Set{Bag{1,2,2},Bag{2}} Set{1,2} Typical set operations (union,intersection,minus,symmetricdifference) intersection symmetricdifference) Operations on ordered collections only (OrderedSet, Sequence) (such as first(), last(), indexof()) Dr. Birgit Demuth MINE Summer School, Nida,
30 Collection Operations (2) Loop operations (Iterators) on all collection types any(expr) collect(expr) exists(expr) forall(expr) isunique(expr) one(expr) select(expr) reject(expr) sortedby(expr) Dr. Birgit Demuth MINE Summer School, Nida,
31 Loop Operation iterate() Collection->iterate( element : Type1; result : Type2 = <expression> <expression with element and result> } All other loop operations can be described as a special case of iterate() such as in the following simple example: Set {1,2,3}->sum() Set{1,2,3}-> iterate{i: Integer, sum: Integer=0 sum + i } Dr. Birgit Demuth MINE Summer School, Nida,
32 Further Examples for Collection Operations (1) A teammeeting has to be organized for a whole team ( forall()): context Teammeeting inv: participants->forall(team=self.for) context Meeting inv: oclistypeof(teammeeting) implies participants->forall(team=self.for) Dr. Birgit Demuth MINE Summer School, Nida,
33 Further Examples for collection operations (2) Postconditions (select()): ()) context Teammember::numMeeting():Integer post: result=meetings->size() context Teammember::numConfMeeting():Integer post: result=meetings->select(isconfirmed)->size() () Dr. Birgit Demuth MINE Summer School, Nida,
34 Flattening of Collections Automatic flattening rule for all nested collections self.participants.meetings in the context Meeting What happens? self.participants delivers a Set(Person) self.participants.meetings p delivers a Bag(Set(Person) Results in a Bag(Person) Dr. Birgit Demuth MINE Summer School, Nida,
35 Derivation Rule (derive, OCL2) Derived attribute (size) context Team::size:Integer derive:members->size() Derived association (conflict) defines a set of meetings that are in conflict with each other context Meeting::conflict:Set(Meeting) derive: select(m m<>self and self.inconflict(m)) Dr. Birgit Demuth MINE Summer School, Nida,
36 Initial Value (init, OCL2) Examples context Meeting::isConfirmed : Boolean init: false context Teammember:meetings : Set(Meetings) init: Set{} Note that an initial value must be valid only at the object creation time! Dr. Birgit Demuth MINE Summer School, Nida,
37 Query Operation (body, OCL2) Operations that do not change the state of the system Can be used as a query language Power of SQL Example context Teammember::getMeetingTitles(): g Bag(String) g) body: meetings->collect(title) Dr. Birgit Demuth MINE Summer School, Nida,
38 Let Expression (let) Interesting for complex expressions Define e a local variable ab (noconflict) that can be used instead of a sub-expression context Meeting inv: let noconflict : Boolean = participants.meetings meetings-> forall(m m<>self and m.isconfirmed implies not self.inconflict(m)) in isconfirmed implies noconflict Dr. Birgit Demuth MINE Summer School, Nida,
39 Defining New Attributes and Operations(def, OCL2) Adding attributes and query operations to the model Syntax is similar to the let expression Helpful for the reuse of OCL expressions in several constraints context Meeting def: noconflict : Boolean = participants.meetings->forall(m m<>self and m.isconfirmed implies not self.inconflict(m)) Dr. Birgit Demuth MINE Summer School, Nida,
40 Packaging g OCL Expressions package MeetingExample context Meeting::isConfirmed : Boolean init: false context Teammember:meetings : Set(Meetings) init: Set{}.. endpackage Dr. Birgit Demuth MINE Summer School, Nida,
41 Limitations of OCL No support for inconsistency detection for OCL Frame Problem Operations are specified by what they change (in post- conditions), with the implicit assumption that everything else (the frame) remains unchanged Limited recursion allinstances() Problem: Person.allInstances() allowed not allowed for infinite types such as Integer.allInstances() Dr. Birgit Demuth MINE Summer School, Nida,
42 Building complete models with OCL Statechart diagram Interaction diagram Activity diagram Component diagram Use case diagram Dr. Birgit Demuth MINE Summer School, Nida,
43 OCL in Statecharts Example (oclinstate()) operation on all objects (Typ OclAny) oclinstate(s: t OclState) t : Boolean context Vector::removeElement(d:Data) pre: oclinstate(notempty) post: size@pre = 1 implies oclinstate(empty) Dr. Birgit Demuth MINE Summer School, Nida,
44 Undefined Values in OCL An OCL expression can evaluate to undefined (OclVoid) For example: Access to an attribute value or navigation where no value is existent in the respective object Strictness Principle Whenever a subexpression of an OCL expression evaluates to undefined, then the whole term evaluates to undefined Exceptions True or undefined d = True False and undefined = False False implies undefined = True Dr. Birgit Demuth MINE Summer School, Nida,
45 The OclVoid Type Undefined value is the only instance Operation for testing if the value of an expression is undefined oclisundefined(): Boolean -- true if the object is undefined -- otherwise false Dr. Birgit Demuth MINE Summer School, Nida,
46 Some Tips for Writing OCL Expressions Constraints should be easy to read and write: Avoid complex navigation expressions Choose appropriate context Avoid allinstances() Split and and constraints by writing multiple constraints Use the collect shorthand Use association end names (role names) instead of association names in modeling Dr. Birgit Demuth MINE Summer School, Nida,
47 Typical Use Cases for OCL Metamodels: {MOF-, Ecore-based} X {UML, CWM, ODM, SBVR, PRR, DSLs} Model Layer Examples M2 (Metamodel) M1 (Model) Specification of WFRs in OMG standards Definition of Modeling Guidelines for DSLs Specification of Model Transformations Model Verification ( CASE-Tool) Evaluation of modeling guidelines Execution of model transformations Specification of Business Rules/Constraints Specification of Test Cases M0 Evaluation of Business Rules/Constraints (Objects) Testing Dr. Birgit Demuth MINE Summer School, Nida,
48 Examples for OCL on Metamodel WFR in UML metamodel context Classifier inv: not self.allparents->includes(self) -- Generalization cycles are not allowed UML modeling guideline for Java developers context Classifier inv SingleInheritance: self.generalization->size()<= 1 -- Multiple inheritance is not allowed Dr. Birgit Demuth MINE Summer School, Nida,
49 Some UML/OCL Tools 12 OCL tools/libraries (see OCL Portal) Integrations into UML environments MagicDraw Enterprise Edition v16.5 Borland Together 2008 (OCL/QVT) Eclipse MDT/OCL for EMF Based Models ArgoUML Fujaba4Eclipse Dr. Birgit Demuth MINE Summer School, Nida,
50 Decennial Anniversary of Dresden OCL in 2009 Dr. Birgit Demuth MINE Summer School, Nida,
51 Dresden OCL2 for Eclipse Dr. Birgit Demuth MINE Summer School, Nida,
52 Dresden OCL2 for Eclipse Dr. Birgit Demuth MINE Summer School, Nida,
53 XMI Import into Dresden OCL2 for Eclipse TopCased (EMF UML2 XMI) MagicDraw (EMF UML2 XMI) Visual Paradigm (EMF UML2 XMI) Eclipse UML2 / UML2 Tools (EMF UML2 XMI) Dr. Birgit Demuth MINE Summer School, Nida,
54 OCL Support in MagicDraw Enterprise Edition OCL validation rules (based on Dresden OCL2 Toolkit) 1. Specification on UML metamodel (M2) / Verification on UML models (M1) 2. Specification of Stereotypes (M2) / Verification of UML models (M1) 3. Specification on UML models (M1) / Verification of UML instances (objects) Dr. Birgit Demuth MINE Summer School, Nida,
55 Dr. Birgit Demuth MINE Summer School, Nida,
56 Dr. Birgit Demuth MINE Summer School, Nida,
57 Dr. Birgit Demuth MINE Summer School, Nida,
58 Dr. Birgit Demuth MINE Summer School, Nida,
59 Acronyms OCL OMG MOF PRR QVT UML WFR Object Constraint Language Object Management Group Meta-Object t Facility Production Rule Representation Query Views Transformation Unified Modeling Language Well-Formedness Rule Dr. Birgit Demuth MINE Summer School, Nida,
60 Thank you for your attention! ti Dr. Birgit Demuth MINE Summer School, Nida,
Design by Contract beyond class modelling
Design by Contract beyond class modelling Introduction Design by Contract (DbC) or Programming by Contract is an approach to designing software. It says that designers should define precise and verifiable
Appendix... B. The Object Constraint
UML 2.0 in a Nutshell Appendix B. The Object Constraint Pub Date: June 2005 Language The Object Constraint Language 2.0 (OCL) is an addition to the UML 2.0 specification that provides you with a way to
Towards a Common Metamodel for the Development of Web Applications
Towards a Common Metamodel for the Development of Web Applications Nora Koch and Andreas Kraus Ludwig-Maximilians-Universität Munich, Germany Motivation Overwhelming diversity of Web methodologies Goal:
Home Assignment 4 OCL
Home Assignment 4 OCL This home assignment is about writing formal specifications using the Object Constraint Language. You will exercise formulating conditions/invariants on domain models that go beyond
Model Driven Security: Foundations, Tools, and Practice
Model Driven Security: Foundations, Tools, and Practice David Basin, Manuel Clavel, and ETH Zurich, IMDEA Software Institute Thursday 1st, 2011 Outline I 1 Models Analysis. Types. 2 The Object Constraint
Java (12 Weeks) Introduction to Java Programming Language
Java (12 Weeks) Topic Lecture No. Introduction to Java Programming Language 1 An Introduction to Java o Java as a Programming Platform, The Java "White Paper" Buzzwords, Java and the Internet, A Short
Common Warehouse Metamodel (CWM): Extending UML for Data Warehousing and Business Intelligence
Common Warehouse Metamodel (CWM): Extending UML for Data Warehousing and Business Intelligence OMG First Workshop on UML in the.com Enterprise: Modeling CORBA, Components, XML/XMI and Metadata November
All you need are models Anneke Kleppe, Klasse Objecten
Model Driven Architecture All you need are models Anneke Kleppe, Klasse Objecten Contents Limited Vision on MDA Modeling Maturity Levels Models Model Driven Development Model Driven Architecture MDA in
Software Specification and Testing
Software Specification and Testing Using UML and OCL Jonathan Milley Faculty of Engineering and Applied Science MUN St. John s, Newfoundland Email: [email protected] Dr. Dennis K. Peters Faculty of Engineering
On the Relation between Design Contracts and Errors: A Software Development Strategy
On the Relation between Design Contracts and Errors: A Software Development Strategy Eivind J. Nordby, Martin Blom, Anna Brunstrom Computer Science, Karlstad University SE-651 88 Karlstad, Sweden {Eivind.Nordby,
Organization of DSLE part. Overview of DSLE. Model driven software engineering. Engineering. Tooling. Topics:
Organization of DSLE part Domain Specific Language Engineering Tooling Eclipse plus EMF Xtext, Xtend, Xpand, QVTo and ATL Prof.dr. Mark van den Brand GLT 2010/11 Topics: Meta-modeling Model transformations
Computing Concepts with Java Essentials
2008 AGI-Information Management Consultants May be used for personal purporses only or by libraries associated to dandelon.com network. Computing Concepts with Java Essentials 3rd Edition Cay Horstmann
A Common Metamodel for Code Generation
A Common Metamodel for Code Generation Michael PIEFEL Institut für Informatik, Humboldt-Universität zu Berlin Unter den Linden 6, 10099 Berlin, Germany [email protected] ABSTRACT Models can
Role-based Authorization Constraints Specification Using Object Constraint Language
Role-based Authorization Constraints Specification Using Object Constraint Language Gail-Joon Ahn Department of Computer Science University of North Carolina at Charlotte [email protected] Michael. E. Shin
Rigorous Software Development CSCI-GA 3033-009
Rigorous Software Development CSCI-GA 3033-009 Instructor: Thomas Wies Spring 2013 Lecture 5 Disclaimer. These notes are derived from notes originally developed by Joseph Kiniry, Gary Leavens, Erik Poll,
Formally speaking: How to apply OCL
Page 1 of 6 Copyright IBM Corporation 2004 http://www-106.ibm.com/developerworks/rational/library/5390.html Search for: within All of dw Use + - ( ) " " Search help IBM home Products & services Support
How To Write A Test Engine For A Microsoft Microsoft Web Browser (Php) For A Web Browser For A Non-Procedural Reason)
Praspel: A Specification Language for Contract-Driven Testing in PHP Ivan Enderlin Frédéric Dadeau Alain Giorgetti Abdallah Ben Othman October 27th, 2011 Meetings: LTP MTVV Ivan Enderlin, Frédéric Dadeau,
Case studies: Outline. Requirement Engineering. Case Study: Automated Banking System. UML and Case Studies ITNP090 - Object Oriented Software Design
I. Automated Banking System Case studies: Outline Requirements Engineering: OO and incremental software development 1. case study: withdraw money a. use cases b. identifying class/object (class diagram)
Rigorous Software Development CSCI-GA 3033-009
Rigorous Software Development CSCI-GA 3033-009 Instructor: Thomas Wies Spring 2013 Lecture 11 Semantics of Programming Languages Denotational Semantics Meaning of a program is defined as the mathematical
Java 6 'th. Concepts INTERNATIONAL STUDENT VERSION. edition
Java 6 'th edition Concepts INTERNATIONAL STUDENT VERSION CONTENTS PREFACE vii SPECIAL FEATURES xxviii chapter i INTRODUCTION 1 1.1 What Is Programming? 2 J.2 The Anatomy of a Computer 3 1.3 Translating
VDM vs. Programming Language Extensions or their Integration
VDM vs. Programming Language Extensions or their Integration Alexander A. Koptelov and Alexander K. Petrenko Institute for System Programming of Russian Academy of Sciences (ISPRAS), B. Communisticheskaya,
Java Code Generation for Dresden OCL2 for Eclipse
Groÿer Beleg Java Code Generation for Dresden OCL2 for Eclipse submitted by Claas Wilke born 16.04.1983 in Buxtehude Technische Universität Dresden Fakultät Informatik Institut für Software- und Multimediatechnik
Tool Support for Model Checking of Web application designs *
Tool Support for Model Checking of Web application designs * Marco Brambilla 1, Jordi Cabot 2 and Nathalie Moreno 3 1 Dipartimento di Elettronica e Informazione, Politecnico di Milano Piazza L. Da Vinci,
Java Application Developer Certificate Program Competencies
Java Application Developer Certificate Program Competencies After completing the following units, you will be able to: Basic Programming Logic Explain the steps involved in the program development cycle
Formal Engineering for Industrial Software Development
Shaoying Liu Formal Engineering for Industrial Software Development Using the SOFL Method With 90 Figures and 30 Tables Springer Contents Introduction 1 1.1 Software Life Cycle... 2 1.2 The Problem 4 1.3
Software Engineering Techniques
Software Engineering Techniques Low level design issues for programming-in-the-large. Software Quality Design by contract Pre- and post conditions Class invariants Ten do Ten do nots Another type of summary
Mapping between Levels in the Metamodel Architecture
Mapping between Levels in the Metamodel Architecture José Álvarez, Andy Evans 2, Paul Sammut 2 Dpto. de Lenguajes y Ciencias de la Computación, University Málaga, Málaga, 2907, Spain [email protected]
5 Process Modeling using UML
5 Process Modeling using UML G. ENGELS and A. FÖRSTER and R. HECKEL and S. THÖNE University of Paderborn, Germany 5. INTRODUCTION The Unified Modeling Language (UML) is a visual, object-oriented, and multi-purpose
Programming and Software Development CTAG Alignments
Programming and Software Development CTAG Alignments This document contains information about four Career-Technical Articulation Numbers (CTANs) for Programming and Software Development Career-Technical
Thomas Jefferson High School for Science and Technology Program of Studies Foundations of Computer Science. Unit of Study / Textbook Correlation
Thomas Jefferson High School for Science and Technology Program of Studies Foundations of Computer Science updated 03/08/2012 Unit 1: JKarel 8 weeks http://www.fcps.edu/is/pos/documents/hs/compsci.htm
Production Rule Representation
Submission to Business Modeling and Integration Domain Taskforce Production Rule Representation Ver. 1.01 Submitted by Fair Isaac Corporation ILOG SA March 19, 2007 1 Copyright 2007 Fair Isaac Corporation
Model-Driven Development: A Metamodeling Foundation
Model-Driven Development: A Metamodeling Foundation Colin Atkinson University of Mannheim 68161 Mannheim, Germany [email protected] Thomas Kühne Darmstadt University of Technology 64283
Using UML Part Two Behavioral Modeling Diagrams
UML Tutorials Using UML Part Two Behavioral Modeling Diagrams by Sparx Systems All material Sparx Systems 2007 Sparx Systems 2007 Page 1 Trademarks Object Management Group, OMG, Unified Modeling Language,
Automatic Generation of Consistency-Preserving Edit Operations for MDE Tools
Automatic Generation of Consistency-Preserving Edit Operations for MDE Tools Michaela Rindt, Timo Kehrer, Udo Kelter Software Engineering Group University of Siegen {mrindt,kehrer,kelter}@informatik.uni-siegen.de
Constructing Contracts: Making Discrete Mathematics Relevant to Beginning Programmers
Constructing Contracts: Making Discrete Mathematics Relevant to Beginning Programmers TIMOTHY S. GEGG-HARRISON Winona State University Although computer scientists understand the importance of discrete
Overview. Stakes. Context. Model-Based Development of Safety-Critical Systems
1 2 Model-Based Development of -Critical Systems Miguel A. de Miguel 5/6,, 2006 modeling Stakes 3 Context 4 To increase the industrial competitiveness in the domain of software systems To face the growing
Modeling the User Interface of Web Applications with UML
Modeling the User Interface of Web Applications with UML Rolf Hennicker,Nora Koch,2 Institute of Computer Science Ludwig-Maximilians-University Munich Oettingenstr. 67 80538 München, Germany {kochn,hennicke}@informatik.uni-muenchen.de
A Framework for the Semantics of Behavioral Contracts
A Framework for the Semantics of Behavioral Contracts Ashley McNeile Metamaxim Ltd, 48 Brunswick Gardens, London W8 4AN, UK [email protected] Abstract. Contracts have proved a powerful concept
Model-Driven Development - From Frontend to Code
Model-Driven Development - From Frontend to Code Sven Efftinge [email protected] www.efftinge.de Bernd Kolb [email protected] www.kolbware.de Markus Völter [email protected] www.voelter.de -1- Model Driven
Execution of A Requirement Model in Software Development
Execution of A Requirement Model in Software Development Wuwei Shen, Mohsen Guizani and Zijiang Yang Dept of Computer Science, Western Michigan University {wwshen,mguizani,zijiang}@cs.wmich.edu Kevin Compton
Jairson Vitorino. PhD Thesis, CIn-UFPE February 2009. Supervisor: Prof. Jacques Robin. Ontologies Reasoning Components Agents Simulations
CHROME: A Model-Driven Component- Based Rule Engine Jairson Vitorino PhD Thesis, CIn-UFPE February 2009 Supervisor: Prof. Jacques Robin Ontologies Reasoning Components Agents Simulations Contents 1. Context
The Expressive Power of UML-based Web Engineering 1
The Expressive Power of UML-based Web Engineering 1 NORA KOCH AND ANDREAS KRAUS Ludwig-Maximilians-Universität München. Germany UML-based Web Engineering (UWE) is a development process for Web applications
Common Warehouse Metamodel (CWM): Extending UML for Data Warehousing and Business Intelligence
Common Warehouse Metamodel (CWM): Extending UML for Data Warehousing and Business Intelligence OMG First Workshop on UML in the.com Enterprise: Modeling CORBA, Components, XML/XMI and Metadata November
A SYSTEMATIC APPROACH FOR COMPONENT-BASED SOFTWARE DEVELOPMENT
A SYSTEMATIC APPROACH FOR COMPONENT-BASED SOFTWARE DEVELOPMENT Cléver Ricardo Guareis de Farias, Marten van Sinderen and Luís Ferreira Pires Centre for Telematics and Information Technology (CTIT) PO Box
Recent Advances in Eclipse QVTO!
!! National Aeronautics and Recent Advances in Eclipse QVTO! Nicolas Rouquette Principal Computer Scientist, Systems and Software Division 2012. Government sponsorship acknowledged. Outline! A Condensed
AP Computer Science A - Syllabus Overview of AP Computer Science A Computer Facilities
AP Computer Science A - Syllabus Overview of AP Computer Science A Computer Facilities The classroom is set up like a traditional classroom on the left side of the room. This is where I will conduct my
Using Alloy and UML/OCL to Specify Run-Time Configuration Management: A Case Study
Using Alloy and UML/OCL to Specify Run-Time Configuration Management: A Case Study Geri Georg Agilent Laboratories, Agilent Technologies, 4380 Zeigler Road, Fort Collins, Colorado 80525 [email protected]
MDA and Analysis of Web Applications
MDA and Analysis of Web Applications Behzad Bordbar and Kyriakos Anastasakis School of Computer Science, University of Birmingham, Birmingham, B15 2TT, UK {B.Bordbar,K.Anastasakis}@cs.bham.ac.uk Abstract.
A Classification of Model Checking-based Verification Approaches for Software Models
A Classification of Model Checking-based Verification Approaches for Software Models Petra Brosch, Sebastian Gabmeyer, Martina Seidl Sebastian Gabmeyer Business Informatics Group Institute of Software
A UML 2 Profile for Business Process Modelling *
A UML 2 Profile for Business Process Modelling * Beate List and Birgit Korherr Women s Postgraduate College for Internet Technologies Institute of Software Technology and Interactive Systems Vienna University
Using UML to Construct a Model Driven Solution for Unified Access to Disparate Data
Using UML to Construct a Model Driven Solution for Unified Access to Disparate Data Randall M. Hauch VP Development, Chief Architect Metadata Management OMG's Second Workshop on UML for Enterprise Applications:
i. Node Y Represented by a block or part. SysML::Block,
OMG SysML Requirements Traceability (informative) This document has been published as OMG document ptc/07-03-09 so it can be referenced by Annex E of the OMG SysML specification. This document describes
A Proposal for Constructing Relational Database from Class Diagram
A Proposal for Constructing Relational Database from Class Diagram Mohd Zainuri Saringat Faculty of Information Technology and Multimedia Universiti Tun Hussein Onn Malaysia Parit Raja, Batu Pahat, 86400,
SEARCH The National Consortium for Justice Information and Statistics. Model-driven Development of NIEM Information Exchange Package Documentation
Technical Brief April 2011 The National Consortium for Justice Information and Statistics Model-driven Development of NIEM Information Exchange Package Documentation By Andrew Owen and Scott Came Since
Chapter 7. UML-BASED WEB ENGINEERING An Approach Based on Standards 7.1 OVERVIEW
Chapter 7 UML-BASED WEB ENGINEERING An Approach Based on Standards Nora Koch, 1, 2 Alexander Knapp, 1 Gefei Zhang, 1 Hubert Baumeister 3 1 Institut für Informatik, Ludwig-Maximilians-Universität München,
Model Driven Interoperability through Semantic Annotations using SoaML and ODM
Model Driven Interoperability through Semantic Annotations using SoaML and ODM JiuCheng Xu*, ZhaoYang Bai*, Arne J.Berre*, Odd Christer Brovig** *SINTEF, Pb. 124 Blindern, NO-0314 Oslo, Norway (e-mail:
Software Component Specification Using Design by Contract
Software Component Specification Using Design by Contract Yi Liu and H. Conrad Cunningham Department of Computer and Information Science University of Mississippi 237 Kinard Hall University, MS 38677 USA
1 A New Look at Formal Methods for Software Construction
1 A New Look at Formal Methods for Software Construction by Reiner Hähnle This chapter sets the stage. We take stock of formal methods for software construction and sketch a path along which formal methods
Business Rule Standards -- Interoperability and Portability
Rule Standards -- Interoperability and Portability April 2005 Mark H. Linehan Senior Technical Staff Member IBM Software Group Emerging Technology [email protected] Donald F. Ferguson IBM Fellow Software
Questions? Assignment. Techniques for Gathering Requirements. Gathering and Analysing Requirements
Questions? Assignment Why is proper project management important? What is goal of domain analysis? What is the difference between functional and non- functional requirements? Why is it important for requirements
Clarifying a vision on certification of MDA tools
SCIENTIFIC PAPERS, UNIVERSITY OF LATVIA, 2010. Vol. 757 COMPUTER SCIENCE AND INFORMATION TECHNOLOGIES 23 29 P. Clarifying a vision on certification of MDA tools Antons Cernickins Riga Technical University,
Development of Tool Extensions with MOFLON
Development of Tool Extensions with MOFLON Ingo Weisemöller, Felix Klar, and Andy Schürr Fachgebiet Echtzeitsysteme Technische Universität Darmstadt D-64283 Darmstadt, Germany {weisemoeller klar schuerr}@es.tu-darmstadt.de
Rules and Business Rules
OCEB White Paper on Business Rules, Decisions, and PRR Version 1.1, December 2008 Paul Vincent, co-chair OMG PRR FTF TIBCO Software Abstract The Object Management Group s work on standards for business
How To Design An Information System
Information system for production and mounting of plastic windows MARCEL, MELIŠ Slovak University of Technology - Faculty of Material Sciences and Technology in Trnava, Paulínska 16 street, Trnava, 917
Concepts and terminology in the Simula Programming Language
Concepts and terminology in the Simula Programming Language An introduction for new readers of Simula literature Stein Krogdahl Department of Informatics University of Oslo, Norway April 2010 Introduction
Foundations of Model-Driven Software Engineering
Model-Driven Software Engineering Foundations of Model-Driven Software Engineering Dr. Jochen Küster ([email protected]) Contents Introduction to Models and Modeling Concepts of Model-Driven Software
Open Source egovernment Reference Architecture Osera.modeldriven.org. Copyright 2006 Data Access Technologies, Inc. Slide 1
Open Source egovernment Reference Architecture Osera.modeldriven.org Slide 1 Caveat OsEra and the Semantic Core is work in progress, not a ready to use capability Slide 2 OsEra What we will cover OsEra
UML TUTORIALS THE USE CASE MODEL
UML TUTORIALS THE USE CASE MODEL www.sparxsystems.com.au Sparx Systems 2004 Page 1/5 describes the proposed functionality of the new system. A Use Case represents a discrete unit of interaction between
Model Transformation by Graph Transformation: A Comparative Study
Model Transformation by Graph Transformation: A Comparative Study Gabriele Taentzer 1, Karsten Ehrig 1, Esther Guerra 2, Juan de Lara 3, Laszlo Lengyel 4, Tihamer Levendovszky 4, Ulrike Prange 1, Daniel
Moving from CS 61A Scheme to CS 61B Java
Moving from CS 61A Scheme to CS 61B Java Introduction Java is an object-oriented language. This document describes some of the differences between object-oriented programming in Scheme (which we hope you
Bridging the Generic Modeling Environment (GME) and the Eclipse Modeling Framework (EMF)
Bridging the Generic ing Environment () and the Eclipse ing Framework (EMF) Jean Bézivin (), Christian Brunette (2), Régis Chevrel (), Frédéric Jouault (), Ivan Kurtev () () ATLAS Group (INRIA & LINA,
Agile Test-based Modeling
Agile Test-based Modeling Bernhard Rumpe Software Systems Engineering TU Braunschweig, Germany www.sse.cs.tu-bs.de Model driven architecture (MDA) concentrates on the use of models during software development.
Textual Modeling Languages
Textual Modeling Languages Slides 4-31 and 38-40 of this lecture are reused from the Model Engineering course at TU Vienna with the kind permission of Prof. Gerti Kappel (head of the Business Informatics
Sequence Diagrams. Massimo Felici. Massimo Felici Sequence Diagrams c 2004 2011
Sequence Diagrams Massimo Felici What are Sequence Diagrams? Sequence Diagrams are interaction diagrams that detail how operations are carried out Interaction diagrams model important runtime interactions
Lecture 1: Introduction
Programming Languages Lecture 1: Introduction Benjamin J. Keller Department of Computer Science, Virginia Tech Programming Languages Lecture 1 Introduction 2 Lecture Outline Preview History of Programming
What is a metamodel: the OMG s metamodeling infrastructure
Modeling and metamodeling in Model Driven Development Warsaw, May 14-15th 2009 Gonzalo Génova [email protected] http://www.kr.inf.uc3m.es/ggenova/ Knowledge Reuse Group Universidad Carlos III de Madrid
Object Oriented Design
Object Oriented Design Kenneth M. Anderson Lecture 20 CSCI 5828: Foundations of Software Engineering OO Design 1 Object-Oriented Design Traditional procedural systems separate data and procedures, and
Comparison of Model-Driven Architecture and Software Factories in the Context of Model-Driven Development
Comparison of Model-Driven Architecture and Software Factories in the Context of Model-Driven Development Ahmet Demir Technische Universität München Department of Informatics Munich, Germany [email protected]
Computer Programming I
Computer Programming I COP 2210 Syllabus Spring Semester 2012 Instructor: Greg Shaw Office: ECS 313 (Engineering and Computer Science Bldg) Office Hours: Tuesday: 2:50 4:50, 7:45 8:30 Thursday: 2:50 4:50,
