® A Proposed UML Profile For EXPRESS David Price Seattle ISO STEP Meeting October 2004.

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,
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.
SEG4110 – Advanced Software Design and Reengineering TOPIC D Metamodelling.
Analysis Modeling.
1 CSL Workshop, October 13-14, 2005 ESDI Workshop on Conceptual Schema Language and Tools - Aim, Scope, and Issues to be Addressed Anders Friis-Christensen,
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 8 The Enhanced Entity- Relationship (EER) Model.
UML CASE Tool. ABSTRACT Domain analysis enables identifying families of applications and capturing their terminology in order to assist and guide system.
RDF Kitty Turner. Current Situation there is hardly any metadata on the Web search engine sites do the equivalent of going through a library, reading.
Common Mechanisms in UML
Introduction to Software Design Chapter 1. Chapter 1: Introduction to Software Design2 Chapter Objectives To become familiar with the software challenge.
Framework for Model Creation and Generation of Representations DDI Lifecycle Moving Forward.
® Eurostep.ESUKPC v0.1©Copyright Eurostep Limited An Introduction to ISO STEP Part 25 David Price.
NIEM-UML Profile Justin Stekervetz, NIEM PMO
All Presentation Material Copyright Eurostep Group AB ® A New Philosophy for STEP Implementation - STEP for the Web (S4W) David Price October 2003.
1 CIM User Group Conference Call december 8th 2005 Using UN/CEFACT Core Component methodology for EIC/TC 57 works and CIM Jean-Luc SANSON Electrical Network.
OOPSLA 2003 DSM Workshop Diagram Definition Facilities Based on Metamodel Mappings Edgars Celms, Audris Kalnins, Lelde Lace University of Latvia, IMCS,
SEG4110 – Advanced Software Design and Reengineering
OpenMDR: Alternative Methods for Generating Semantically Annotated Grid Services Rakesh Dhaval Shannon Hastings.
Faculty of Informatics and Information Technologies Slovak University of Technology Peter Kajsa and Ľubomír Majtás Design.
 Copyright 2005 Digital Enterprise Research Institute. All rights reserved. Towards Translating between XML and WSML based on mappings between.
UML2 Package Merge Usage scenarios and their effect on XMI and Java API interoperability Bran Selic, Jim Amsden, Kenn Hussey Oct, 2003.
Metadata Tools and Methods Chris Nelson Metanet Conference 2 April 2001.
Neminath Simmachandran
CIM and UML Overview Terry Saxton Xtensible Solutions
Profiling Metadata Specifications David Massart, EUN Budapest, Hungary – Nov. 2, 2009.
Database Systems: Design, Implementation, and Management Ninth Edition
Introduction to MDA (Model Driven Architecture) CYT.
What is MOF? The Meta Object Facility (MOF) specification provides a set of CORBA interfaces that can be used to define and manipulate a set of interoperable.
EuroRoadS for JRC Workshop Lars Wikström, Triona Editor of EuroRoadS deliverables D6.3, D6.6, D6.7.
Specializing and extending the UML
UML Profiles Eclipse ECESIS Project The UML Profile technology SOFTEAM 144 Ave des Champs Elysées Paris, France
XML A web enabled data description language 4/22/2001 By Mark Lawson & Edward Ryan L’Herault.
Conceptual Modelling – Behaviour
Model Driven Development An introduction. Overview Using Models Using Models in Software Feasibility of MDA MDA Technologies The Unified Modeling Language.
XASTRO-2 Overview Presentation CCSDS SAWG Athens Meeting 12 th April 2005.
An OO schema language for XML SOX W3C Note 30 July 1999.
Dr. Darius Silingas | No Magic, Inc. Domain-Specific Profiles for Your UML Tool Building DSL Environments with MagicDraw UML.
Tutorial 13 Validating Documents with Schemas
Week III  Recap from Last Week Review Classes Review Domain Model for EU-Bid & EU-Lease Aggregation Example (Reservation) Attribute Properties.
Design Model Lecture p6 T120B pavasario sem.
1 Class Diagrams. 2 Overview Class diagrams are the most commonly used diagrams in UML. Class diagrams are for visualizing, specifying and documenting.
ESDI Workshop on Conceptual Schema Languages and Tools
Problems with XML & XML Schemas XML falls apart on the Scalability design goal. 1.The order in which elements appear in an XML document is significant.
EXPRESS/UML aka Part 25 Edition 2 Bath STEP July 2004.
STEP Tutorial: “ Fundamentals of STEP” David Briggs, Boeing January 16, 2001 ® PDES, Inc NASA STEP Workshop step.nasa.gov.
All Presentation Material Copyright Eurostep Group AB ® A Meta-model of EXPRESS in UML for MOF and UML to EXPRESS David Price April 2002.
ModTransf A Simple Model to Model Transformation Engine Cédric Dumoulin.
11 th NASA/ESA Workshop on Product Data Exchange 2009 Allison Barnard Feeney, NIST David Price, Eurostep.
XASTRO-2 Presentation CCSDS SAWG th November 2004.
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.
Using DSDL plus annotations for Netconf (+) data modeling Rohan Mahy draft-mahy-canmod-dsdl-01.
1 G52IWS: Web Services Description Language (WSDL) Chris Greenhalgh
Object-Oriented Software Engineering Practical Software Development using UML and Java Modelling with Classes.
Using UML, Patterns, and Java Object-Oriented Software Engineering Chapter 2, Modeling with UML: UML 2 Metamodel Note to Instructor: The material in this.
Ontologies Reasoning Components Agents Simulations An Overview of Model-Driven Engineering and Architecture Jacques Robin.
Part 25 E2 EXPRESS/UML Walkthrough Seattle STEP October 2004.
PART 1 XML Basics. Slide 2 Why XML Here? You need to understand the basics of XML to do much with Android All of they layout and configuration files are.
Sheet 1MDAFA2004 Linköping, June 2004 A Language for Model Transformations in the MOF Architecture Ivan Kurtev, Klaas van den Berg University of Twente,
© 2010 IBM Corporation RESTFul Service Modelling in Rational Software Architect April, 2011.
® IBM Software Group © 2009 IBM Corporation Viewpoints and Views in SysML Dr Graham Bleakley
SysML 2.0 Formalism Requirements and Potential Language Architectures
Information Delivery Manuals: Functional Parts
XML QUESTIONS AND ANSWERS
Model-Driven Ontology Engineering
Software Design Lecture : 14.
Constructing MDA-based Application Using Rational XDE for .NET
Software Architecture & Design
Presentation transcript:

® A Proposed UML Profile For EXPRESS David Price Seattle ISO STEP Meeting October 2004

® EXPRESS and UML Goals –Define mechanisms enabling the definition of EXPRESS schemas using UML constructs Same mechanisms supported by UML diagram software EXPRESS-G tools could output same constructs as XMI –These same mechanisms support EXPRESS   UML –Allows definition of UML Class and EXPRESS Entity Type on same UML diagram maintaining distinction –An interim solution for UML 1.5 and EXPRESS 2 with knowledge that UML 2 is coming and plans for a MOF 2 Metamodel of EXPRESS –Provide a first step in fitting EXPRESS into OMG MDA

® Requirements 1.Easily represented in most, if not all, UML tools 1.allow alternative representations/notations 2.Constructs represented with semantics in UML that appear in XMI 1.i.e. not just notes on a diagram 3.Cannot require modifications to UML tools themselves 4.Acceptable to SC4 for use by modelers and for publication in standards in same way EXPRESS-G is used today 5.Simplicity of use : make EXPRESS creation using UML as easy as possible for users 6.Support modeling, not only implementation as in P25 E1

® Non-Requirememts 1.Purity not driving requirements 1.OK to “bend the rules” of UML to make EXPRESS creation easier 2.OK to specify alternative representations, all UML tools may not support all UML constructs 2.Completeness not driving requirements 1.if it just can’t be done in UML, omit it 2.a subset of EXPRESS using UML is still useful 3.Need not be “executable” in any sense 4.Not trying to replace EXPRESS/EXPRESS-X tools 5.Entity instances out of scope 6.Not aligned with any particular x or other implementation standard at expense of others 1.Don’t make P28/XSD easy at expense of P21 or SDAI or Java or C++

® UML Profile constructs In UML, these are the “tools” with which this proposal is based –UML Stereotype –UML Tag Definitions and Tagged Value –UML Constraints From UML 1.5, Section 2.6 Extension Mechanisms: –The Extension Mechanisms package is the subpackage that specifies how specific UML model elements are customized and extended with new semantics by using stereotypes, constraints, tag definitions, and tagged values. A coherent set of such extensions, defined for specific purposes, constitutes a UML profile (see Section 2.15, “Model Management,” on page 2-181).

® More on Profiles (From UML 1.5) the ‘lightweight’ built-in extension mechanisms of UML –in contrast with the ‘heavyweight’ extensibility mechanism as defined by the MOF specification there are restrictions on how UML profiles can extend the UML metamodel –restrictions are intended to ensure that any extensions defined by a UML profile are purely additive –restrictions do not apply in the MOF context where, in principle, any metamodel can be defined. Consequently, every profile definition could also be expressed as an MOF metamodel the XMI that they produce must be compatible with the predefined XMI for UML DTDs

® UML Stereotype (From UML 1.5) Stereotypes –principle extension mechanism –a way of defining virtual subclasses of UML metaclasses with new metaattributes and additional semantics –must be strictly additive to the standard UML semantics –a means for refining the standard semantics of UML –allow the modeler to add new modeling elements to UML for use in creating models for process-specific or implementation language-specific domains (for example, supporting code generation for a certain language and infrastructure)

® Meta-model of Extension Mechanisms

® Characteristics of this Proposal Initial and incomplete –Try to get a baseline from which more detailed work on the Profile can be developed Sufficient for STEP modules ARM –a good starting point –ARM is also the level at which “STEP UML” would likely interface with the other UML models for Business Rules, Activity, Business Object, … Not sacred –only interest is getting a standard that works, not on the details e.g. what to call the stereotypes does not matter

® Simple types Several ways of dealing with this –perhaps all should be allowed as the capabilities in this area seem to vary from UML tool to UML tool 1.Stereotyped class > and > –primitive is a UML stereotype for datatypes –Primitive is a subclass of Datatype in the UML of UML 2.Adopt Java or XML Schema types 3.Adopt native UML datatypes where we can and add our others (e.g. Logical) 4.other possibilities??

® Schema and Interface Spec Schema maps to UML Package with > stereotype USE/REFERENCE map to UML Dependency with > and > stereotypes

® Schema and Interface Spec

® Product_A Product Product_version_arm Product_arm SCHEMA Product_version_arm USE FROM Product_arm (Product as Product_A); > *Seattle: Ed Barkmeyer’s proposal for use/reference

® Entity Type and Subtype No change to Entity Type mapping except add > stereotype

® Non-constructed Defined Types No change to the Defined Type (not Constructed) except add > stereotype *Seattle: This needs namespace added string is not in same namespace as label.

® Enumeration Type No change to Enumeration Type mapping except > stereotype *Seattle: look at ordered enum in OMG profile for java

® Select Types Change to Select Type to map to UML Class as before adding > stereotype Change link to select items from association named “selection_of” to unstereotyped UML Generalization –Could also add stereotype to Generalization but not proposing to do so as that fact can be derived

® Why Change Select Types Map? One rationale for previous mapping was “it creates multiple inheritance in many places” –but with > the code generation can treat these differently from > This approach seems closer to the idea of “union” of domains –Keeps possible EXPRESS<>UML<>OWL mapping in mind –OWL allows equivalent of “Entity1 = Entity2 UNION Entity 3” –That’s what “Entity1 = SELECT (Entity2, Entity 3)” says too

® Simple Explicit and Derived Attrs No change to simple explicit and dervied attribute mapping –Can’t see need to stereotype attributes too –Note : the expression for the derived is new, and may not be modeled correctly

® Aggregations Suggesting two approaches to consider 1.Use stereotypes and a single approach for all aggregation types Issue was UML says “association is a set”, we should overlook that statement… most implementations and UML tools do so existing approach for SET and UNIQUE LIST maps to UML Association change to map BAG, LIST and ARRAY to UML Association too 2.Treat as constraints on UML Association Ends –No “nesting in the UML diagram at all”

® 1. Aggregation by stereotype Minor change to SET or UNIQUE LIST mapping –Add stereotype to UML Association and > Change to ARRAY, BAG and LIST not UNIQUE –In order to align these better with SET, map to UML Association and stereotype the association as >, > and

® 2. Aggregation by Constraint Model aggregations, including nested, as a single stereotyped UML association > –Constraint on association end encodes the LIST, SET, BAG, ARRAY and nesting >

® Proposed approach to development Approach to Part 25 Edition 2 development –Publish documentation of this with test suite of diagrams and equivalent EXPRESS schemas on the Web –Get people with access to several different UML tools to try to draw the test diagrams –Export XMI files and exchange among team for review –Do some proof-of-concept implementation based on those XMI files –Hold workshop, conference call, whatever to address issues raised during testing –Write CD document Goal is CD document out by end of the year and TS by June 2005