Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Object Management Group Information Management Metamodel Project Status June 25, 2008 1 A Promise . . . This presentation will contain no (well, almost none) undefined TLAs.* * Three-letter acronyms… 2 Information Management Metadata Overview UML2 Profile ERD DB Design The World of Business Entity/Rel. Metamodel The World of Data Bases UML2 Profile Relational Metamodel Other Metamodels XML Schema IMM XML Schema Metamodel MOF2 Managing it All UML2 Profile Core UML2 Profile Traceability Metamodel UML Metamodel UML Diagram LDAP Metamodel Trace Map UML2 Profile LDAP Listing UML2 Profile The World of Applications 3 Context IMM Aligned with Semantics of Business Vocabulary and Rules (SBVR) Ontology Definition Metamodel (ODM) Knowledge Discovery Metamodel (KDM) Core Components IMM Incorporates Existing Common Warehouse Metamodel (CWM) packages Transformations Warehouse processes IMM Optionally may incorporate metamodels for Express Record Structures Object-oriented Databases 4 IMM Status Developed IMM Core Developed ER metamodel Developed ‘Conceptual’ metamodel for ‘Relational Modeling’ Developed XML Schema Profile Developing examples for IMM core, ER, Relational and XML Schema metamodels Based on ‘EU Rent’ example from SBVR What is next? Review all models Complete examples Align with ISO_IEC_11404 (for data types) Align with ISO 11179 Metadata registries Construct document Submit revision during September OMG meeting 5 How it all fits together The Zachman Framework The Models SBVR Class of Platform Independent Class of Platform Dependent (Vendor Independent) 6 Zachman Framework – Version 2 Data constraints Data structure 7 Zachman Framework – Version 2 Audience Model-driven Architecture Models OMG efforts Executives, Environment Vocabulary, Ontology SBVR Architects Class of Platform Independent Model Conceptual E/R (I/E, Barker) IMM E/R Engineers (Designers) Class of Platform Specific, Vendor Platform Independent Model Relational, Objectoriented XML UML, IMM Relational, classes, XML, UML (Builders) Implementers Vendor Platform specific Model Tablespaces partitions, etc. Programs Information Management Metamodel, (IMM) “Core Model” Operations (Maintenance) 8 Types of “Models” Semantics of Business Vocabulary and Rules (Row Two) Vocabulary, business rules, business policy Class of Platform Independent (Row Three) Conceptual Entity Relationship models Class of Platform Specific (Row Four) Logical Database Designs Object-oriented Design Models XML Schemata Lightweight Access Directory Protocol 9 Zachman Framework – Executives Audience OMG efforts Models Model-driven Architexture Business, SBVR Vocabulary, Ontology Environment Architects IMM E/R Conceptual E/R (I/E, Barker) Class of Platform Independent Model Designers IMM Relational, classes, XML (UML) Relational, Objectoriented XML (UML), Class of Platform Specific, Vendor Platform Independent Model Tablespaces partitions, etc. Programs Vendor Platform specific Model Builders Operations, Maintenance 10 Semantics of Business Vocabulary and Rules . . . About the Business’s Language Meaning Concepts Propositions Alethic (must be or may be) Deontic (obligations) Communities Semantic Community Speech Community Expressions Representations of Meaning Zachman, Row Two 11 Zachman Framework – Architects Audience OMG efforts Models Model-driven Architexture Business, SBVR Vocabulary, Ontology Environment Architects IMM E/R Conceptual E/R (I/E, Barker) Class of Platform Independent Model Designers IMM Relational, classes, XML (UML) Relational, Objectoriented XML (UML), Class of Platform Specific, Vendor Platform Independent Model Tablespaces partitions, etc. Programs Vendor Platform specific Model Builders Operations, Maintenance 12 Class of Platform Independent Models . . . Structured Representation of Business Language Conceptual Entity/Relationship Model Entities – Things of significance to the business Attributes – Characteristics of those things. Alethic assertions of relationships Subject entity Must be/may be Predicate (relationship/role name) Object entity Zachman, Row Three 13 A Sample Entity/Relationship Model . . . Entities LINE ITEM part of # LINE NUMBER * QUANTITY o (VALUE) composed of for ORDER # ORDER NUMBER o (TOTAL VALUE) PARTY # ID from buyer in Attributes to seller in bought via PERSON * GIVEN NAME o MIDDLE INITIAL * SURNAME for ORGANIZATION * ORGANIZATION NAME * DESCRIPTION bought via SERVICE TYPE PRODUCT TYPE # SERVICE TYPE ID o RATE PER HOUR # PRODUCT TYPE ID o PRICE Of course these are actually “entity types” and “attribute types”, but since all the elements of the metamodel are, by definition “types” rather than “instances”, we can lose the extra word. 14 Entity Types and Attributes . . . 15 A Sample Entity/Relationship Model . . . A property of an entity type is either an attribute or a role Associative Relationship Binary Roles LINE ITEM part of # LINE NUMBER * QUANTITY o (VALUE) composed of for ORDER # ORDER NUMBER o (TOTAL VALUE) PARTY # ID from buyer in to seller in bought via PERSON * GIVEN NAME o MIDDLE INITIAL * SURNAME for ORGANIZATION * ORGANIZATION NAME * DESCRIPTION bought via SERVICE TYPE PRODUCT TYPE # SERVICE TYPE ID o RATE PER HOUR # PRODUCT TYPE ID o PRICE Generalization Relationship 16 Binary Roles and Relationships . . . 17 Identifiers . . . Identifiers (attributes + identifiers) (attributes) LINE ITEM part of # LINE NUMBER * QUANTITY o (VALUE) composed of for ORDER # ORDER NUMBER o (TOTAL VALUE) PARTY # ID from buyer in to seller in bought via PERSON * GIVEN NAME o MIDDLE INITIAL * SURNAME for ORGANIZATION * ORGANIZATION NAME * DESCRIPTION bought via SERVICE TYPE PRODUCT TYPE # SERVICE TYPE ID o RATE PER HOUR # PRODUCT TYPE ID o PRICE 18 Identifiers . . . 19 Zachman Framework – Engineers (Designers) Audience OMG efforts Models Model-driven Architexture Business, SBVR Vocabulary, Ontology Environment Architects IMM E/R Conceptual E/R (I/E, Barker) Class of Platform Independent Model Designers IMM Relational, classes, XML (UML) Relational, Objectoriented XML (UML), Class of Platform Specific, Vendor Platform Independent Model Tablespaces partitions, etc. Programs Vendor Platform specific Model Builders Operations, Maintenance 20 Class of Platform Dependent Models Relational Database Design Tables, Columns, Primary keys Foreign keys Object-oriented Application Design (UML) Object classes Associations XML Schema Elements Simple and Complex Types Restrictions 21 Class of Platform Dependent Models Relational Database Design Data Types Tables, Columns, Primary keys Foreign keys Object-oriented Application Design (UML) Object classes Associations XML Schema Elements Simple and Complex Types Restrictions 22 Eclipse (and SQL 2007) Version of Data Types 23 The “E/R” Model Version of Data Types . . . SQL 99 Data Types SQL 20** Data Types 24 The Generic Version . . . Data type Parameter Value Data Type Type Definition Data Type Parameter Name SQL Data Type Predefined Data Type Constructed Data Type User Defined Data Type Numerical Data Type Exact Numerical Data Type … Party Super-type SQL Data Type SQL Data Type Predefined Data Type Numerical Data type 25 Tables and Columns . . . 26 Base and Derived Tables . . . 27 Unique Keys . . . 28 Foreign Keys . . . 29 Class of Platform Dependent Models Relational Database Design Tables, Columns, Primary keys Foreign keys Object-oriented Application Design (UML) Object classes Associations XML Schema Elements Simple and Complex Types Restrictions 30 Object-oriented Application Design (UML) . . . (Next time) 31 Class of Platform Dependent Models Relational Database Design Tables, Columns, Primary keys Foreign keys Object-oriented Application Design (UML) Object classes Associations XML Schema Elements Simple and Complex Types Restrictions 32