Integration, Thu 28.6.2001 G. Falquet, L. Nerima.

Slides:



Advertisements
Similar presentations
Language Specification using Metamodelling Joachim Fischer Humboldt University Berlin LAB Workshop Geneva
Advertisements

Profiles Construction Eclipse ECESIS Project Construction of Complex UML Profiles UPM ETSI Telecomunicación Ciudad Universitaria s/n Madrid 28040,
CACORE TOOLS FEATURES. caCORE SDK Features caCORE Workbench Plugin EA/ArgoUML Plug-in development Integrated support of semantic integration in the plugin.
UML an overview.
1 CIS224 Software Projects: Software Engineering and Research Methods Lecture 11 Brief introduction to the UML Specification (Based on UML Superstructure.
Using UML, Patterns, and Java Object-Oriented Software Engineering Chapter 2, Modeling with UML, Part 4 UML 2 Metamodel.
IEC Substation Configuration Language and Its Impact on the Engineering of Distribution Substation Systems Notes Dr. Alexander Apostolov.
SDPL 2003Notes 2: Document Instances and Grammars1 2.5 XML Schemas n A quick introduction to XML Schema –W3C Recommendation, May 2, 2001: »XML Schema Part.
June G. Falquet, L. NerimaUse Cases1 UML - Unified Modeling Language UML Course at HCHR Summer 2001 Gilles Falquet and Luka Nerima University of.
Introduction to UML Visual modeling Models and its importance
1 COS 425: Database and Information Management Systems XML and information exchange.
© Copyright Eliyahu Brutman Programming Techniques Course.
Common Mechanisms in UML
Dynamic modeling, Tue G. Falquet, L. Nerima.
ACM/JETT Workshop - August 4-5, 2005 UML Modeling using MagicDraw UML for Java Programmers.
TIBCO Designer TIBCO BusinessWorks is a scalable, extensible, and easy to use integration platform that allows you to develop, deploy, and run integration.
Basic Concepts The Unified Modeling Language (UML) SYSC System Analysis and Design.
Smith’s Aerospace © P. Bailey & K. Vander Linden, 2005 Architecture: Component and Deployment Diagrams Patrick Bailey Keith Vander Linden Calvin College.
Workshop on Integrated Application of Formal Languages, Geneva J.Fischer Mappings, Use of MOF for Language Families Joachim Fischer Workshop on.
SOFTWARE ENGINEERING BIT-8 APRIL, 16,2008 Introduction to UML.
Slide 1 Wolfram Höpken RMSIG Reference Model Special Interest Group Second RMSIG Workshop Methodology and Process Wolfram Höpken.
SDPL 2002Notes 2: Document Instances and Grammars1 2.5 XML Schemas n A quick introduction to XML Schema –W3C Recommendation, May 2, 2001: »XML Schema Part.
Metadata Tools and Methods Chris Nelson Metanet Conference 2 April 2001.
XML and friends Part 2 - XML Schema ELAG 2001 workshop 8 Jan Erik Kofoed © BIBSYS Library Automation.
Introduction to MDA (Model Driven Architecture) CYT.
UML Diagrams: Class Diagrams The Static Analysis Model Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
SaveUML System design. System overview Possible...
Information System Development Courses Figure: ISD Course Structure.
1 UML Basic Training. UML Basic training2 Agenda  Definitions: requirements, design  Basics of Unified Modeling Language 1.4  SysML.
SDPL 2005Notes 2.5: XML Schemas1 2.5 XML Schemas n Short introduction to XML Schema –W3C Recommendation, 1 st Ed. May, 2001; 2 nd Ed. Oct, 2004: »XML Schema.
XASTRO-2 Overview Presentation CCSDS SAWG Athens Meeting 12 th April 2005.
Actors and Use Case Diagrams Month Day, Year. Agenda Training Plan Overview Review Detailing Requirements with Requisite Pro Concepts Setting Up XDE Integration.
XML Schema. Why Schema? To define a class of XML documents Serve same purpose as DTD “Instance document" used for XML document conforming to schema.
Modeling Component-based Software Systems with UML 2.0 George T. Edwards Jaiganesh Balasubramanian Arvind S. Krishna Vanderbilt University Nashville, TN.
The Static Analysis Model Class Diagrams Prof. Hany H. Ammar, CSEE, WVU, and Dept. of Computer Science, Faculty of Computers and Information, Cairo University.
16 August, 2007Information System Design IT60105, Autumn 2007 Information System Design IT60105 Lecture 7 Unified Modeling Language.
Copyright © 2013 Curt Hill UML Unified Modeling Language.
Dr. Darius Silingas | No Magic, Inc. Domain-Specific Profiles for Your UML Tool Building DSL Environments with MagicDraw UML.
UML as a Specification Language for Embedded Systems. By, Mir Ahmed Ali, Asst. Professor, ECM department, SNIST. By, Prof. Narsiah sir, Director of School.
Logical view –show classes and objects Process view –models the executables Implementation view –Files, configuration and versions Deployment view –Physical.
1 © The ATHENA Consortium. XML, eXtensible Markup Language (1) The format for structured information exchange. –Primary structuring is containment.
CS 157B: Database Management Systems II February 11 Class Meeting Department of Computer Science San Jose State University Spring 2013 Instructor: Ron.
The Unified Modeling Language (UML)
Unified Modelling Language (UML) Software Engineering Lab. Sharif University of Technology.
1 Class Diagrams. 2 Overview Class diagrams are the most commonly used diagrams in UML. Class diagrams are for visualizing, specifying and documenting.
® A Proposed UML Profile For EXPRESS David Price Seattle ISO STEP Meeting October 2004.
Lecture 9-1 : Intro. to UML (Unified Modeling Language)
1 Technical & Business Writing (ENG-715) Muhammad Bilal Bashir UIIT, Rawalpindi.
1 Unified Modeling Language, Version 2.0 Chapter 2.
XASTRO-2 Presentation CCSDS SAWG th November 2004.
UML Course Instructor: Rizwana Noor. Overview  Modeling  What is UML?  Why UML?  UML Diagrams  Use Case  Components  Relationships  Notations.
Class Diagrams. Terms and Concepts A class diagram is a diagram that shows a set of classes, interfaces, and collaborations and their relationships.
CS 501: Software Engineering Fall 1999 Lecture 15 Object-Oriented Design I.
UML (Unified Modeling Language)
SDPL : XML Schemas1 2.5 XML Schemas n Short introduction to XML Schema –W3C Recommendation, 1 st Ed. May, 2001; 2 nd Ed. Oct, 2004: »XML Schema.
XML Databases Presented By: Pardeep MT15042 Anurag Goel MT15006.
Use Cases UML. Use Cases What are Use Cases?  A statement of the functionality users expect and need, organized by functional units  Different from.
UML Diagrams: Class Diagrams The Static Analysis Model
UML Diagrams By Daniel Damaris Novarianto S..
Course Outcomes of Object Oriented Modeling Design (17630,C604)
Systems Analysis and Design With UML 2
Unified Modeling Language
Introduction to Unified Modeling Language (UML)
UML Diagrams Jung Woo.
Module 11: Packages Lawrence Chung CS6359.OT1: Module 11.
Chapter 2, Modeling with UML, Part 4 UML 2 Metamodel
Analysis models and design models
Software Design Lecture : 15.
Class Diagrams.
Visual Modeling Using Rational Rose
Presentation transcript:

Integration, Thu G. Falquet, L. Nerima

ISIISI June G. Falquet, L. NerimaClasses 2 Outline vThe AT3 statecharts vComplements: OCL and constraints, packages vInterfaces between the UML design spaces vMeta UML vExtending the UML: stereotypes vUML and databases vUML and XML vPublic domain tools and ressources vUML user survey vConclusion

ISIISI June G. Falquet, L. NerimaClasses 3 AT3 statechart version 1: the states

ISIISI June G. Falquet, L. NerimaClasses 4 AT3 statechart version 1

ISIISI June G. Falquet, L. NerimaClasses 5 Manage phone calls To manage phone calls, the telephone exchange is equipped with a system which allows the drivers to give their position by indicating the area in which they are idle with a vehicle. When a customer asks for a taxi, the operator assigns him or her a vehicle located in the area. If no taxi is in the area, it is necessary to find the closest vehicle. Manage calls Operator Vehicle Idle Booked Use caseObjects States Out of service

ISIISI June G. Falquet, L. NerimaClasses 6 Maintain Vehicle vAn increase in consumption will indicate that the engine need to be checked. vThe mechanics team takes in charge of the maintenance Mechanics Maintain vehicle Vehicle MotorOK NeedsChecking Maintenance Tanking Model

ISIISI June G. Falquet, L. NerimaClasses 7 Vehicle life cycle Idle Booked MotorOK NeedsChecking Maintenance Operating Out of service

ISIISI June G. Falquet, L. NerimaClasses 8 Object Constraint Language vText language to construct expressions for vguards vconditions vpre/post conditions vassertions vactions vBased on navigation expressions, boolean expressions, queries vPredefined operations on primitive types and sets of objects vConstraints can be attached to any element (class, association, attribute, etc.)

ISIISI June G. Falquet, L. NerimaClasses 9 Navigation expressions vobject(s). attribute vobject(s). role vobject(s). operation(arguments) vobject(s). qualified_association [ selector ] vset -> set_property vset -> select (condition) vset -> size

ISIISI June G. Falquet, L. NerimaClasses 10 Examples Flight Pilot Person passengers Assignment pilot Booking (flight.passengers -> select(age size < 5 (flight.pilot.training_hours >= flight.plane.min_training AircraftModel plane flight

ISIISI June G. Falquet, L. NerimaClasses 11 Objets physiques Diagram dependencies Objects Classes Use Cases Collaborations Sequences State Machine Activity Components Deployment includes, extends perform method spec. placement on nodes synchronising dependencies instances instance of

ISIISI June G. Falquet, L. NerimaClasses 12 Package v« A package is a general purpose mechanism for organizing elements into groups » vAim: organize a UML model vA package contains structural things, behavioral things and other packages vPackage nesting results in a tree structure (analogy: file system with folders) vPackaging + Control of visibility = Control of the complexity of large numbers of abstractions

ISIISI June G. Falquet, L. NerimaClasses 13 Package : graphic representation vIcon: Tabbed folder vIncludes: vpackage name vContents (sometimes) vExamples Business rules Sensors::Vision {version = 2.24 } Client + OrderForm + TrackingForm - Order

ISIISI June G. Falquet, L. NerimaClasses 14 Package: importing vExample vClient imports Policies Client + OrderForm + TrackingForm - Order Policies + OrderRules « import »

ISIISI June G. Falquet, L. NerimaClasses 15 Package: generalization vTo specify a family of packages WindowGUI + GUI::Window + Form # GUI::EventHandler + VBForm MacGui GUI + Window + Form # EventHandler

ISIISI June G. Falquet, L. NerimaClasses 16 Meta UML vClass diagram of all UML elements Class, Association, State, State Machine, Attribute, etc. vFormal (structural) description of the model vA model to build UML editors and other tools vA model to represent UML models in a database

ISIISI June G. Falquet, L. NerimaClasses 17

ISIISI June G. Falquet, L. NerimaClasses 18

ISIISI June G. Falquet, L. NerimaClasses 19

ISIISI June G. Falquet, L. NerimaClasses 20

ISIISI June G. Falquet, L. NerimaClasses 21 Stereotypes vAn extension mechanism vSpecialise existing UML elements (adding constraints) Class > Class > Class State > State > Class

ISIISI June G. Falquet, L. NerimaClasses 22 UML and Databases vIdea: store objects in relational databases vTransformation rules vClass  relation vAttribute  attribute vAssociation  attribute or relation (depending on multiplicity) vOperations  database triggers / procedures / programming language procedures

ISIISI June G. Falquet, L. NerimaClasses 23 UML and XML vXML vXML Schemas vFrom XML to UML vFrom UML to XML vModelling XML applications vExchanging UML models

ISIISI June G. Falquet, L. NerimaClasses 24 XML document vObjective of XML : describe the content (semantics), not the presentation. vDocuments vMade of Elements vSub elements (children elements) vAttributes with Values v"Schemaless" documents (semi-structured) vDocuments obeying to a schema

ISIISI June G. Falquet, L. NerimaClasses 25 Document Example Finding paths in a graph Given the graph … There are...

ISIISI June G. Falquet, L. NerimaClasses 26 XML Documents are Hierarchical exercise title question answer para Finding paths in a graph Given a connected graph with... Find the... ….. There are... difficulty = 6 para

ISIISI June G. Falquet, L. NerimaClasses 27 XML Schemas vTo fix a syntax for XML documents vDTD : document type definition (old) vXML Schemas (new) vdefine a class of XML documents va document is an instance of a schema vmore flexible than database or class schemas: alternatives, options, free ordering, etc.

ISIISI June G. Falquet, L. NerimaClasses 28 po.xml Alice Smith 123 Maple Street Mill Valley CA Robert Smith 8 Oak Avenue Old Town PA 95819

ISIISI June G. Falquet, L. NerimaClasses 29 po.xml (cont.) Hurry, my lawn is going wild! Lawnmower Confirm this is electric Baby Monitor

ISIISI June G. Falquet, L. NerimaClasses 30 Schema: po.xsd

ISIISI June G. Falquet, L. NerimaClasses 31 po.xsd (cont.)

ISIISI June G. Falquet, L. NerimaClasses 32

ISIISI June G. Falquet, L. NerimaClasses 33 From XML Schemas to UML vSituation: an XML schema has been adopted vObjective: vto build applications that process this type of XML data vUse UML to model the application vNeed to represent XML data (elements) as UML objects vMapping XML schemas to UML class model

ISIISI June G. Falquet, L. NerimaClasses 34 Mapping technique [Booch et al.] vAdd class stereotypes: velementtype, sequence, choice, enumeration, scalar,... vAdd attribute / unidirectional association stereotypes: vimplied, required,... vElement or datatype --> class with stereotype vXML attribute --> attribute / unidirectional association

ISIISI June G. Falquet, L. NerimaClasses 35 UML for Document Modelling vDifficult to design good XML schemas --> vUse UML to model the domain vProduce a class diagram vThen create a suitable XML schema Project title Person firstName lastName Department name... Manager Participant

ISIISI June G. Falquet, L. NerimaClasses 36 An XML Schema <xsd:element name="participant" type="PersonType minOccurs="1" maxOccurs="unbounded"/>

ISIISI June G. Falquet, L. NerimaClasses 37 Objects --> XML Document Restructuring the World Joe Cool Toys...

ISIISI June G. Falquet, L. NerimaClasses 38 Issues vMany possible mappings from UML to XML vClass --> complex or simple type vDefine elements or types vAssociations --> vInclusions ( … … ) vReferences (...) vetc. v"Solution": fix a reverse mapping

ISIISI June G. Falquet, L. NerimaClasses 39 XML for Information Interchange vSystem modelled with UML vCreate an XML schema to represent all data vExport data in XML format vImport XML data into another system vWeb browser vPresentation generator (PDF,...) vGraphics generator

ISIISI June G. Falquet, L. NerimaClasses 40 A Book Modeling XML Applications with UML: Practical e- Business Applications David Carlson Addison-Wesley Object Technology Series

ISIISI June G. Falquet, L. NerimaClasses 41 Exchanging UML models vThere exist an XML schema for expressing UML models (XMI) v--> UML specifications are open and exchangeable vUML tools (diagram editors, code generators, pretty printers, …) should be able to read/write UML specs in XML

ISIISI June G. Falquet, L. NerimaClasses 42 OMG survey on using the UML vDate: 2000 vQuestions: vWhat constructs in the language are most used ? vWhat parts of the language need clarification ? vWhat parts of the language should be removed ?

ISIISI June G. Falquet, L. NerimaClasses 43 OMG survey on using the UML Most used Least used Need clarification vClass diagrams> 8 vsequence diagram7-8 vuse cases7-8 vstate charts5-6> 8 vstereotypes and tagged values 1-2 vPackage1-2 vimplementation diagrams vcollaboration diagrams vactivity diagram 0 > 81-2 vmodel management - except package vComponent vpattern 0 1-2

ISIISI June G. Falquet, L. NerimaClasses 44 OMG survey on using the UML (cont) Most used Least used Need clarification vclass, type, interface, classifier role, component vwhole-part relationships0 3-4

ISIISI June G. Falquet, L. NerimaClasses 45 What parts of the language should be removed? vUML standard profiles 3-4 vNotes in semantics section1-2 vStandard elements without abstract semantics1-2

ISIISI June G. Falquet, L. NerimaClasses 46 Application in industry Level of usage ( 1 – 5 ) vClass and package5 most used vuse case3 depend on the culture. Less interesting for some fields. vsequence3 quite often used, well understood vcollaboration 2 object diagram used, but collaboration modeling marginal vstatecharts2 strong usage in real time applications, rarely used in the sevice industries vactivity1 introduced late in the environments, local cultural habit in some sectors of the sevice industries vcomponent/deployment 1 only few people use it, on a few parts of their applications

ISIISI June G. Falquet, L. NerimaClasses 47 Conclusion vWe presented almost all the features of the UML ! (omitting details) vModeling is important vModel in several dimensions to have a comprehensive and complete view of your system vNext: exercice on a small but real application (in your domain of course) vStart with the diagrams you feel confortable with vPractice structural AND dynamic modeling v… we hope you learned some valuable information on the UML