1 / 97

Sharing and advancing knowledge and experience about standards, technologies and implementations. 

A Tutorial on: Metamodel Standardization & MOF (For SC32 ) May 26, 2008 Hajime Horiuchi Tokyo International University Leader of MFI Project, ISO/IEC JTC1 SC32WG2. 32N1764. “Metadata DownUnder ” : 11th Open Forum on Metadata Registries Sydney, NSW Australia.

zaza
Download Presentation

Sharing and advancing knowledge and experience about standards, technologies and implementations. 

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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. A Tutorial on:Metamodel Standardization & MOF (For SC32) • May 26, 2008 • Hajime Horiuchi • Tokyo International University • Leader of MFI Project, • ISO/IEC JTC1 SC32WG2 32N1764 “Metadata DownUnder”:11th Open Forum on Metadata Registries Sydney, NSW Australia Sharing and advancing knowledge and experience about standards, technologies and implementations. 

  2. Topics • Model and Metamodel in general • MOF1.4 (ISO/IEC19502) • UML2.0 and MOF2.0 • Standard Metamodel • MOF compliant • CWM, SPEM, ODM, MFI Sharing and advancing knowledge and experience about standards, technologies and implementations.

  3. General:: META HIERARCHY Sharing and advancing knowledge and experience about standards, technologies and implementations.

  4. Four layered Meta Hierarchy came from IRDS IRDS: Information Resource Dictionary System (ISO/IEC 10728) M-Objects Attribute Entity IRDDLevel MOF :Meta Object Facility, OMG Entity Attribute Name Address IRD Level Name Address Sydney New York Tokyo J.Doe J. Smith H. Hori IR Level Sharing and advancing knowledge and experience about standards, technologies and implementations.

  5. Meta Hierarchy Concept Concept was defined by ISO/IEC 10728 (IRDS) Inherited by MOF Object Concept Representation Mechanism Meta-Meta data M3 Meta-Meta Model SQL IRDD Metamodel To describe Column , Table Object Concept (Meta Object) Meta data M2 Meta Model IRD Data Element Column, Table M1 Model Object Model Describe Describe Value Mo Concept Note: ISO/IEC11179 did not aware of 4 level Meta hierarchy. Sharing and advancing knowledge and experience about standards, technologies and implementations.

  6. Problems of Multi level metamodel Colin Aktinson, Essence of Multilevel Metamodeling (UML2001) • “Diversity of meta concept” Problem • “Ambiguous Classification” Problem • “Replication of concept” problem • Shallow Instantiation • Deep Instantiation Sharing and advancing knowledge and experience about standards, technologies and implementations.

  7. Diversity of the Meta Hierarchy Concept Type and Instance Category or Grouping Aggregation Template (Stereotype) Sharing and advancing knowledge and experience about standards, technologies and implementations.

  8. Diversity of Meta Concept Type Type Description Template instantiation grouping describe Apply Instances Sub type Anything Realization Base model Abstract Syntax Base-Variant expression Customized Expression Sharing and advancing knowledge and experience about standards, technologies and implementations.

  9. Replication of Concept A particular instance “Pochi” Class Pet Dog Animal Instance Instance of instance Essence of Multilevel Memamodeling: Colin Aktinson and Thomas K¨uhne Sharing and advancing knowledge and experience about standards, technologies and implementations.

  10. Shallow & Deep Instantiation UML & MOF Shallow Instantiation Deep Instantiation Meta-Meta Model M3 Object concept Mechanism Object concept Mechanism instantiate instantiate Meta Model M2 Object concept Object concept Object concept Object concept M1 Model Object property Object property Object property Object property Object property instantiate M0 Instances Instances Instances Instances Sharing and advancing knowledge and experience about standards, technologies and implementations.

  11. Even in MFO 1.4 MOF core MOF 1.4 M3 Level MOF Model Sharing and advancing knowledge and experience about standards, technologies and implementations.

  12. M3 MOF UML2.0 Core Package CWM:Object Model UMM Metamodel M2 CWM ebXML BPSS CWM: SQL Metamodel Healthcare Model instantiate M1 Business Information HER definition M0 Layer Business Documents HER Instances Sharing and advancing knowledge and experience about standards, technologies and implementations.

  13. Model relationship in MFI (ISO/IEC 19763) M3 level Y W Z Type - Instance Syntax - Expression Super - Sub X V Base -Variant M2 level M1 level Sharing and advancing knowledge and experience about standards, technologies and implementations.

  14. How to Register a model ISO/IEC 19763-2 : Metamodel framework for interoperability: Part 2: Core Model Upper Model • Type and Instance • Super and Sub • Base and Variant • Abstract Syntax and Expression Governs Target Model To be Registered Sharing and advancing knowledge and experience about standards, technologies and implementations.

  15. M3 MOF Base-Variant UML2.0 Core Package CWM:Object Model UMM Metamodel M2 BPSS CWM: SQL Metamodel Abstract Syntax-Expression Healthcare Model M1 Business Information HER definition instantiate M0 Business Documents HER Instances Sharing and advancing knowledge and experience about standards, technologies and implementations.

  16. Something Similar to Metamodel Sharing and advancing knowledge and experience about standards, technologies and implementations.

  17. Something similar to metamodel They are not metamodel, but comrades to share a same dream of the model sharing. They can be subjects of the International Standardizations. • Stereotype • UML Profile • Architecture Models • Model Patterns • Design Pattern • Analysis Pattern Sharing and advancing knowledge and experience about standards, technologies and implementations.

  18. UML Profiles <<Customer>> Stereotype M1 Layer <<Customer>> Cust ID Cust Name ClassInstance • Not metamodel • UML Profile: • A set of Stereotypes and Tag Values customized for particular domain modeling Sharing and advancing knowledge and experience about standards, technologies and implementations.

  19. Published UML Profiles • OMG • UML profile for CORBA • UML profile for EDOC • UML profile for EAI • UML profile for MARTE (Real Time Embedded System) • UML Profile for Modeling QoS and Fault Tolerance Characteristics and Mechanisms • SysML (UML Extension) • ISO/IEC JTC1 SC7 • UML Profile for RM-ODP • UN/CEFACT • UML profile for CCTS Sharing and advancing knowledge and experience about standards, technologies and implementations.

  20. Catalog of OMG Domain Specifications Air Traffic Control Application Management and System Monitoring (AMSM) for CMS Systems Audio / Visual Streams Bibliographic Query Service Bimolecular Sequence Analysis (BSA) Business Motivation Model (BMM) Business Process Definition Metamodel (BPDM) Business Process Maturity Model (BPMM) Chemical Structure and Access Representation (CSAR) Life Sciences Identifiers Computer Aided Design (CAD) Services Data Acquisition from Industrial Systems (DAIS) Gene Expression Historical Data Acquisition from Industrial Systems (HDAIS) Laboratory Equipment Control Interface Specification (LECIS) Metamodel for the Federal Transition Framework (FTF) OMG Systems Modeling Language (OMG SysML) Product Data Management (PDM) Enablers Robotic Technology Component (RTC) Telecom Service & Access Subscription (TSAS) etc. Sharing and advancing knowledge and experience about standards, technologies and implementations.

  21. MOF1.4 (ISO/IEC 19502 ):: MOF (META OBJECT FACILITY) Sharing and advancing knowledge and experience about standards, technologies and implementations.

  22. What is MOF • The Meta-Object Facility (MOF) is the OMG's adopted technology for defining metadata and representing it as CORBA objects using UML. • The MOF 1.3 specification was finalized in September 1999 (OMG document ad/99-09-05). • The MOF 1.4 specification was submitted to ISO/IEC/JTC1 SC32 by PAS process in 2004 . It has been approved by PAS DIS ballot last December in 2004. (ISO/IEC DIS 19502). • A MOF metamodel defines the abstract syntax of the metadata in the MOF representation of a model. • The MOF model itself describes the abstract syntax for representing Sharing and advancing knowledge and experience about standards, technologies and implementations.

  23. What is MOF (Basic Concept) A model which describe an object concept. It is called “the MOF model”. It become available by inheriting the MOF model to materialize uniformed and reusable objects and relationships among them The MOF model is considered to be situated at the M3(Meta-Meta) layer. Sharing and advancing knowledge and experience about standards, technologies and implementations.

  24. MOF Metamodel Architecture Type Instance Type Instance Sharing and advancing knowledge and experience about standards, technologies and implementations.

  25. 4 Layer MetamodelArchitecture Sharing and advancing knowledge and experience about standards, technologies and implementations.

  26. The relationship between metamodel and model Sharing and advancing knowledge and experience about standards, technologies and implementations.

  27. UML metamodel in the 4 Layers Sharing and advancing knowledge and expeence about standards, technologies and implementations.

  28. Basic Idea: How to define an Object Reality M0 Layer Set: Employees of company A class object instance Class Emp={ people | people working for company A} Sharing and advancing knowledge and experience about standards, technologies and implementations.

  29. Object Concept and Metamodel M1 Layer M2 Layer Class Class emp Class name emp#: name: attribute enrolment() Attribute operation operation Class has Attributes and operations Sharing and advancing knowledge and experience about standards, technologies and implementations.

  30. Overview of M3 Layer ModelElement Feature * Classifier Attribute Operation Interface Class Sharing and advancing knowledge and experience about standards, technologies and implementations.

  31. Core portion of MOF • Every classifier : • is Generalizable, • has Namespace . • A Namespace is consisted by ModleElement. • And • All classifier are governed by • a ModleElement • Some Classifier might be typed by TypedElement Sharing and advancing knowledge and experience about standards, technologies and implementations.

  32. Feature in MOF Every class has attributes and operations as Feature Sharing and advancing knowledge and experience about standards, technologies and implementations.

  33. TypedElement Classifier typed by TypedElement is Class, Association or Data Type . Then, TypedElement characterize a classifier. Sharing and advancing knowledge and experience about standards, technologies and implementations.

  34. Data Type Sharing and advancing knowledge and experience about standards, technologies and implementations.

  35. Association Association between class Sharing and advancing knowledge and experience about standards, technologies and implementations.

  36. Class A MOF Class defines the type of an object rather than its implementation Supertypes, Abstract, Singleton, Contents . Association: A MOF Association defines a class of links between MOF objects. Derivedness, Changeability, Contents Attribute A MOF object may have a number of Attributes. Name,type, scope,mmultiplicity, derivedness, changeability Operation A MOF object can have a number of operations Parameter list, result, exception list Association End name,type,multiplicity aggregation Association References: A MOF object may defined to be “aware” of being in a relationship with other objects via an Association. Name,referenced Association End, changeability Multiplicity The end's multiplicity constrains the number of links that may involve one object at one end. It also specifies whether the links have a partial order. Sharing and advancing knowledge and experience about standards, technologies and implementations.

  37. The MOF Model • The MOF Model is based on the concepts of object relationship modeling. • The three kinds of building blocks for a meta-information model are • Objects (described by MOF Classes), • Links that connect objects (described by MOF Associations), • Data values (described by CORBA IDL types). • Instances of these constructs are organized as MOF Packages. CORBA(IDL) Sharing and advancing knowledge and experience about standards, technologies and implementations.

  38. MOF1.4 MOF model (M3 Layer) Sharing and advancing knowledge and experience about standards, technologies and implementations.

  39. MOF1.4 Metamodel: MOF Class

  40. MOF1.4 Metamodel: MOF Associations • Defines a class of links between MOF objects. • Links are always binary and directed; i.e. each one links from one MOF object to one MOF object. Sharing and advancing knowledge and experience about standards, technologies and implementations.

  41. MOF1.4 Metamodel: MOF Packages • serve as the unit of modularisation and reuse of meta-information models. • "instances" of Packages act as collection objects for schemas of related meta-information. Sharing and advancing knowledge and experience about standards, technologies and implementations.

  42. MOF1.4:: XMI(ISO/IEC19503) Sharing and advancing knowledge and experience about standards, technologies and implementations.

  43. MOF・XMI • MOF • Is a generic framework for describing and representing meta-information in an CORBA-based environment. • Defines an IDL mapping which allows models expressed using MOF Model constructs to be translated into interfaces CORBA-based meta-information services. • CORBA(IDL) • Generate IDLs from metamodel written by MOF • IDLs are interfaces for the repository to store metamodels. • Generate IDLs from UML metamodel • XMI(XML metamodel Interchange) • A set of XML schema for transforming MOF based metamodels into XML schemas, that is for encoding and decoding MOF based metadata. Sharing and advancing knowledge and experience about standards, technologies and implementations.

  44. MOF/XMI (XML Model Interchange) MOF Sharing and advancing knowledge and experience about standards, technologies and implementations.

  45. Sample UML model to be Interchanged Sharing and advancing knowledge and experience about standards, technologies and implementations.

  46. Sample DTD Sharing and advancing knowledge and experience about standards, technologies and implementations.

  47. XML Statement (Behavioral Feature) Class <BehavioralFeature> <ModelElement.name>create</ModelElement.name> <Feature.ownerScope>classifier</Feature.ownerScope > <Feature.visibility>public</Feature.visibility> <BehavioralFeature.isQuery>false </ BehavioralFeature.isQuery> <BehavioralFeature.parameter> <Parameter> <ModelElement.name>size</ModelElement.name> <Parameter.type>Rectangle</Parameter.type> </Parameter> </BehavioralFeature.parameter> </BehavioralFeature> Sharing and advancing knowledge and experience about standards, technologies and implementations.

  48. OMG Standards & ISO Standards • UML2.0 • MOF2.0 • ODM • BSVR • SysML • IMM Expected to be submitted by PAS UML 1.5 (ISO/IEC 19501: 2003)  SC7 MOF1.4 (ISO/IEC 19502: 2005)  SC32 XMI (ISO/IEC 19503:2005)  SC32 SPEM(ISO/IEC27474)  SC7 CWM (ISO/IEC DIS 19504 )  SC32 Sharing and advancing knowledge and experience about standards, technologies and implementations.

  49. High Resolution Modeling Facility for MDA UML2.0 AND MOF2.0 Sharing and advancing knowledge and experience about standards, technologies and implementations.

  50. Don’t call it “Wine” Wine Water+ alcohol + grape essence + mold +…. H2O + CH3CH(OH)CH3 + ….. Atomic periodic table Sharing and advancing knowledge and experience about standards, technologies and implementations.

More Related