DRAFT 02-Feb-07 1 caAdapter Model Mapping Service Hands-On Training (Course# 2040) Session Date: TBD Session Length: 90 minutes Target Audience:caCORE.

Slides:



Advertisements
Similar presentations
CACORE TOOLS FEATURES. caCORE SDK Features caCORE Workbench Plugin EA/ArgoUML Plug-in development Integrated support of semantic integration in the plugin.
Advertisements

A complete citation, notecard, and outlining tool
1 caAdapter Jan 24, caAdapter The caAdapter is an open source tool that facilitates HL7 version 3 message building, parsing and validation based.
Corporate Property Automated Information System (CPAIS) Macro Walkthrough Guide for Excel Version 2003.
SiS Technical Training Development Track Technical Training(s) Day 1 – Day 2.
PowerPoint 2007 © : The Power of Presentations How can Microsoft PowerPoint 2007 help you finalize a presentation for an audience?
XP New Perspectives on Microsoft Access 2002 Tutorial 71 Microsoft Access 2002 Tutorial 7 – Integrating Access With the Web and With Other Programs.
5 Copyright © 2009, Oracle. All rights reserved. Defining ETL Mappings for Staging Data.
The Project AH Computing. Functional Requirements  What the product must do!  Examples attractive welcome screen all options available as clickable.
Introduction to R Statistical Software Anthony (Tony) R. Olsen USEPA ORD NHEERL Western Ecology Division Corvallis, OR (541)
TrendReader Standard 2 This generation of TrendReader Standard software utilizes the more familiar Windows format (“tree”) views of functions and file.
OpenMDR: Generating Semantically Annotated Grid Services Rakesh Dhaval Shannon Hastings.
RECRUITER CAMPAIGNS 101 HOW TO SET UP CAMPAIGNS FOR BEGINNERS Angela Skjeie Pacific University Oregon July 30, 2015 Enrollment & Student Services Track.
Chapter 4 Dreamweaver: Part II The Web Warrior Guide to Web Design Technologies.
CaAdapter Fundamentals  Session Date:  Session Length: 1.5 hours  Trainer:
Copyright ©: SAMSUNG & Samsung Hope for Youth. All rights reserved Tutorials Software: Building apps Suitable for: Advanced.
OpenMDR: Alternative Methods for Generating Semantically Annotated Grid Services Rakesh Dhaval Shannon Hastings.
C Copyright © 2009, Oracle. All rights reserved. Appendix C: Service-Oriented Architectures.
System for Administration, Training, and Educational Resources for NASA SATERN Overview for Learners May 2006.
Tutorial 1 Getting Started with Adobe Dreamweaver CS3
1 Team Leader TKS Job Aid. 2 Viewing the On-line Presentation If you are viewing this presentation via Internet Explorer for best results resize the “Notes”
Moodle (Course Management Systems). Assignments 1 Assignments are a refreshingly simple method for collecting student work. They are a simple and flexible.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Web Feature Data Access Pages.
Session 1 SESSION 1 Working with Dreamweaver 8.0.
Chapter 6 SAS ® OLAP Cube Studio. Section 6.1 SAS OLAP Cube Studio Architecture.
Wimba Presenters Guide North Dakota University System 2009.
Instructors begin using McGraw-Hill’s Homework Manager by creating a unique class Web site in the system. The Class Homepage becomes the entry point for.
Create Forms Lesson 5. Objectives Software Orientation The Forms group (below) is located on the Create tab in the Ribbon and can be used to create a.
Transforming Financials at the People’s Department Financial Management Modernization Initiative (FMMI) FMMI - BusinessObjects (BOBJ) WebI View Only Version.
MS Access 2007 Management Information Systems 1. Overview 2  What is MS Access?  Access Terminology  Access Window  Database Window  Create New Database.
System for Administration, Training, and Educational Resources for NASA SATERN Overview for Users December 2009.
Database Beginnings. Scenario so far In our scenario we have people registering for training sessions. –The data about the training sessions was placed.
CaAdapter Fundamentals  Session Date:  Session Length: 1.5 hours  Trainer:
FIX Eye FIX Eye Getting started: The guide EPAM Systems B2BITS.
McGraw-Hill/Irwin ©2005 The McGraw-Hill Companies, All rights reserved ©2005 The McGraw-Hill Companies, All rights reserved McGraw-Hill/Irwin.
Microsoft ® Office Excel 2003 Training Using XML in Excel SynAppSys Educational Services presents:
0 eCPIC Admin Training: OMB Submission Packages and Annual Submissions These training materials are owned by the Federal Government. They can be used or.
ModelPedia Model Driven Engineering Graphical User Interfaces for Web 2.0 Sites Centro de Informática – CIn/UFPe ORCAS Group Eclipse GMF Fábio M. Pereira.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
1 © 2005 Cisco Systems, Inc. All rights reserved. Session Number Presentation_ID Cisco Confidential Cisco Cross Reference Tool (CCRT) User’s Guide Version.
9 Copyright © 2009, Oracle. All rights reserved. Deploying and Reporting on ETL Jobs.
12 Copyright © 2009, Oracle. All rights reserved. Managing Backups, Development Changes, and Security.
® IBM Software Group © 2007 IBM Corporation Module 1: Getting Started with Rational Software Architect Essentials of Modeling with IBM Rational Software.
® IBM Software Group © 2009 IBM Corporation Essentials of Modeling with the IBM Rational Software Architect, V7.5 Module 15: Traceability and Static Analysis.
March 1, 2004CS WPI1 CS 509 Design of Software Systems Lecture #6 Monday, March 1, 2004.
® IBM Software Group © 2007 IBM Corporation Module 3: Creating UML Diagrams Essentials of Modeling with IBM Rational Software Architect, V7.5.
COMM 3050 – Online Project Update. Project Roles  Organizer Responsible for creating Zoom account technical aspects and posting recorded meeting to S:
CaBIG ™ is an initiative of the National Cancer Institute, NIH, DHHS Semantic Integration Workbench (SIW) v3.1 and UML Model Browser v.5  Session Date:
NIMAC for Accessible Media Producers: February 2013 NIMAC 2.0 for AMPs.
1 Copyright © 2008, Oracle. All rights reserved. Repository Basics.
Chapter 2 Build Your First Project A Step-by-Step Approach 2 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta Eaton.
Semantic Interoperability: caCORE and the Cancer Data Standards Repository (caDSR)  Jennifer Brush.
SCC P2P – Collaboration Made Easy Contract Management training
Product Training Program
Installation The Intercompany Integration Solution for SAP Business One Version 2.0 for SAP Business One 9.1 Welcome to the course on the installation.
Development Environment
Working in the Forms Developer Environment
Setting up Categories, Grading Preferences and Entering Grades
Student Registration/ Personal Needs Profile
Please review these important Webinar Etiquette guidelines
Student Registration/ Personal Needs Profile
Installation The Intercompany Integration Solution for SAP Business One Version 2.0 for SAP Business One 9.1 Welcome to the course on the installation.
For Computer-Based Testing
Tariffs Management (Wholesalers)
Tutorial 7 – Integrating Access With the Web and With Other Programs
For Computer-Based Testing
Student Registration/ Personal Needs Profile
Student Registration/ Personal Needs Profile
Student Registration/ Personal Needs Profile
Presentation transcript:

DRAFT 02-Feb-07 1 caAdapter Model Mapping Service Hands-On Training (Course# 2040) Session Date: TBD Session Length: 90 minutes Target Audience:caCORE Application Developers caBIG Developers Trainer: Charles Yaghmour Developer Subject Matter Expert: Ye Wu

DRAFT 02-Feb-07 2 Session Details Training Topic Statement: This training is designed to teach you about the caAdapter Model Mapping Service Target Audience: caCORE developers and caAdapter end-users Prerequisites: caCORE SDK Session 1: Semantic Interoperability

DRAFT 02-Feb-07 3 Session Details: Online Training Environment: Centra… Use these buttons (or choose from the Actions menu) to communicate with the trainer and other attendees. Example: Raise your hand to ask a question.

DRAFT 02-Feb-07 4 Session Details: Online Training Environment: Centra You can adjust what you see on screen by choosing from the View menu or by scrolling with the slide bars.

DRAFT 02-Feb-07 5 Session Details: Online Training Etiquette Be an active learner! Ask questions, and avoid temptation to multi-task. Keep distractions away! When not asking a question or making a comment, please keep your phone on MUTE to minimize background noise. Please do not put your phone on HOLD – the music is distracting. When asking a question or making a comment, please state your name so we know who’s speaking.

DRAFT 02-Feb-07 6 Session Details: Session Goals By the end of this training, you will be able to: –Describe how caAdapter Model Mapping Service supports the caCORE SDK process –Demonstrate the eight steps involved in using caAdapter to map an object model to a data model –Use caAdapter to perform mapping for a variety of complex object associations

DRAFT 02-Feb-07 7 Session Details: Lesson Plan Lesson 1: Introduction and Background Lesson 2: Mapping Process Step-by-Step Lesson 3: Advanced Mapping Exercise I Exercise II

DRAFT 02-Feb-07 8 Lesson 1: Introduction and Background Lesson Overview This lesson is about the caCORE model mapping process, the caAdapter Model Mapping Service, and other services provided by caAdapter Learning Objectives for this Lesson: –Review the current caCORE model mapping process –Show how caAdapter can make mapping easier –Show other uses of caAdapter

DRAFT 02-Feb-07 9 Lesson 1: Introduction and Background What are caCORE-compatible applications? Data management framework Software infrastructure pattern Characteristics of caCORE: –Model-Driven Architecture (MDA) –n-tier architecture –Controlled vocabularies –Registration of metadata All caCORE components are built using these principles

DRAFT 02-Feb Lesson 1: Introduction and Background The caCORE SDK Process Flow 1.Design system and draw model (UML tool) 2.Annotate model (Semantic Connector) 3.Register metadata (UML Loader) 4.Generate and deploy system (Code Generator)

DRAFT 02-Feb Lesson 1: Introduction and Background The Current Manual Mapping Process… Design the object model and the data model Map tables to the classes in a new diagram Manually tag table columns with the full path of the associated class’s attribute or association

DRAFT 02-Feb Lesson 1: Introduction and Background The Current Manual Mapping Process Requires a new diagram for mapping Requires tagging almost every table and column manually Must include an accurate and complete path to each object Must make sure case-sensitive tags are correct

DRAFT 02-Feb Lesson 1: Introduction and Background caAdapter Can Help Uses Enterprise Architect (EA) XMI export of object & data models Provides graphical user interface Supports mapping of… –Objects –Attributes –Associations

DRAFT 02-Feb Lesson 1: Introduction and Background Overview of caAdapter Capabilities The Mapping Tool – graphical application for mapping source specification to target specification Source and Target Specification – graphical interface for defining input and output data formats Drag and Drop Interface – simple interface for mapping source fields to target elements Mapping Functions – capability to do simple source data manipulation with HL7-related mapping Transformer – generation of output from source data based on the mapping Validation Services – integrates with NCICB caCORE components such as Enterprise Vocabulary Service (EVS) and W3C XML schema validation services caAdapter API – uses mappings to generate output files

DRAFT 02-Feb Lesson 1: Introduction and Background caAdapter Mapping Modules CSV to HL7 v3 Mapping and Transformation Service Model Mapping Service SDTM Mapping and Transformation Service HL7 v2 to v3 Conversion Service Plus… caAdapter Web Service

DRAFT 02-Feb Lesson 1: The Mapping Process Step-by-Step Mapping Process Diagram caAdapter supports mapping of object model to data model Current caCORE SDK Process

DRAFT 02-Feb Lesson 1: Introduction and Background Advantages of Using caAdapter for Mapping No mapping diagram needed Graphical user interface for drag & drop mapping Includes validation Can generate Hibernate files as well as XMI

DRAFT 02-Feb Reviewed the current caCORE model mapping process Introduced caAdapter and its capabilities Showed how caAdapter can make model mapping easier Any questions so far? Lesson 1: Introduction and Background Review & Questions

DRAFT 02-Feb Lesson 2: Mapping Process Step-by-Step Lesson Overview This lesson is about using the caAdapter Model Mapping Service to perform mapping for the caCORE SDK process. Learning Objectives for this Lesson: –Examine the steps for using caAdapter Model Mapping Service one by one –Explain the different types of mappings –Perform a live demonstration of the steps

DRAFT 02-Feb Lesson 2: Mapping Process Step-by-Step Mapping Process Diagram alt 6 Current caCORE SDK Process

DRAFT 02-Feb Lesson 2: Mapping Process Step-by-Step Mapping Steps Step 6:Generate a tagged XMI file Step 7:Import the XMI file into EA Step 8:Create (export) an XMI file from EA Alternate Step 6: Generate Hibernate files Step 1:Export the XMI file from EA Step 2:Load the XMI file into caAdapter Step 3:Perform the mapping using the Mapping Panel –Dependency mapping –Attribute mapping –Association mapping Step 4:Validate the mapping Step 5:Save the.map file

DRAFT 02-Feb Lesson 2: Mapping Process Step-by-Step Step 1 – Export XMI File… EA File must have final Object Model and Data Model Project Browser View > Right click Logical View > Import/Export > Export package to XMI file

DRAFT 02-Feb Lesson 2: Mapping Process Step-by-Step Step 1 – Export XMI File Format XMI Output Enable Roundtrip XMI v1.1 or v2.0 (EA v6.5)

DRAFT 02-Feb Lesson 2: Mapping Process Step-by-Step Step 2 – Load the XMI File into caAdapter Use file created in Step 1 New > Model Mapping Service > Object Model to Data Model Map Specification

DRAFT 02-Feb Lesson 2: Mapping Process Step-by-Step Step 3 – Perform the Mapping Dependency Mapping(Object to Table) Attribute Mapping (Attribute to Column) Association Mapping(Object Relationship to Table Relationship) ObjectsMappingsTables Note: Different colors were used for clarification only. caAdapter presents all mapping lines in the same color

DRAFT 02-Feb Lesson 2: Mapping Process Step-by-Step Step 4 – Validate the Mapping Validate Button

DRAFT 02-Feb Lesson 2: Mapping Process Step-by-Step Step 5 – Save & Re-Open the Mapping File When opening a.map file, caAdapter will ask for the associated.xmi file Re-opening the.map File Saving the.map File

DRAFT 02-Feb Lesson 2: Mapping Process Step-by-Step Step 6 – Generate a Tagged XMI File Generated tagged file: –Saved in the same directory where the.xmi and.map files stored –Automatically named: _Tagged.xml –For example: Example_Tagged.xmi Tag XMI File Button

DRAFT 02-Feb Lesson 2: Mapping Process Step-by-Step Alternate Step 6 – Generate Hibernate Files –Specify output directory –Generate one Hibernate file per object or per inheritance hierarchy Generate HBM Files Button

DRAFT 02-Feb Lesson 2: Mapping Process Step-by-Step Step 7 – Import the XMI File into EA… Create a new Project in EA Right click on the Model SELECT Import Model from XMI …

DRAFT 02-Feb Lesson 2: Mapping Process Step-by-Step Step 7 – Import the XMI File into EA Attribute Mapping Dependency Mapping (Tables) (Objects) After Before

DRAFT 02-Feb Lesson 2: Mapping Process Step-by-Step Step 8 – Export an XMI File from EA Do not export diagrams Disable full EA roundtrip Use XMI version 1.1 (caCORE SDK requirement) (EA v6.5)

DRAFT 02-Feb Lesson 2: Mapping Process Step-by-Step Perform a Live Demonstration of the Steps Live Demonstration of the Mapping Steps in Lesson 2

DRAFT 02-Feb Showed the step-by-step process for using caAdapter in the caCORE SDK process Identified 3 different types of mappings Performed a live demonstration of the steps Questions? Lesson 2: Mapping Process Step-by-Step Review & Questions

DRAFT 02-Feb Lesson 3: Advanced Mapping Lesson Overview This lesson explains some of the more advanced features of the caAdapter Model Mapping Service Learning Objectives for this Lesson: –Explain how to map associations in 7 different scenarios and how to map inheritance –Perform a live demonstration of the scenarios –Identify tips for working with the caAdapter Model Mapping Service

DRAFT 02-Feb Lesson 3: Advanced Mapping Seven Association Mapping Scenarios The following 7 scenarios cover all association types in an object model: One-to-one bidirectional One-to-one unidirectional One-to-many bidirectional One-to-many unidirectional Many-to-one unidirectional Many-to-many bidirectional Many-to-many unidirectional

DRAFT 02-Feb Lesson 3: Advanced Mapping They all start the same…. Map the classes to the tables Map the attributes to the columns That’s the easy part…and it must be done first, then we can do the association mapping…. Associations are mapped to foreign key columns Business rules guide the mapping of associations

DRAFT 02-Feb Lesson 3: Advanced Mapping Scenario 1 – One-to-One Bidirectional Map classes & attributes Map association from child table’s class to the child table’s foreign key (ignore the other association) Leave this unmapped

DRAFT 02-Feb Lesson 3: Advanced Mapping Scenario 2 – One-to-One Unidirectional Map association from child table’s class to the child table’s foreign key Note that FK column must be in the originating class’s table

DRAFT 02-Feb Association on “one” end has a different color and is unmappable Map remaining association to table w/ foreign key Lesson 3: Advanced Mapping Scenario 3 – One-to-Many Bidirectional Unmappable

DRAFT 02-Feb Lesson 3: Advanced Mapping Scenario 4 & 5 – 1:M & M:1 Unidirectional One-to-many maps same as many-to-one, except for faked association See a pattern? Map association in class with table with FK to FK Ignore, unmappable

DRAFT 02-Feb Lesson 3: Advanced Mapping Not a Scenario – Many-to-One Bidirectional Note that many-to-one bidirectional is literally the same as one-to-many bidirectional No distinction in caAdapter Not considered a separate scenario

DRAFT 02-Feb Lesson 3: Advanced Mapping Scenario 6 – Many-to-Many Bidirectional ONLY time you map both associations Make sure to map the X-Collection to the X_id Intersection table does not need dependency mapping

DRAFT 02-Feb Lesson 3: Advanced Mapping Scenario 7 – Many-to-Many Unidirectional Back to normal pattern Map X-Collection to X_ID

DRAFT 02-Feb Lesson 3: Advanced Mapping Inheritance Mapping Map the attributes that are distinct to the subclass (as normal attribute mappings) For inherited attributes marked with the “(A – Derived)” label, only map if it’s the PK During validation, an “INFO” level message will be displayed Mapped Not mapped

DRAFT 02-Feb Lesson 3: Advanced Mapping Demonstration of Mapping Scenarios Live Demonstration of the Mapping Scenarios

DRAFT 02-Feb Lesson 3: Advanced Mapping General Tips – Using XMI Versions Note that you must have a version of EA that can export XMI v1.1 (XMI v2.0 is optional) caAdapter can load both XMI v1.1 and v2.0 for mapping and tagging. XMI v1.1 is required by the Semantic Integration Workbench (SIW)

DRAFT 02-Feb Lesson 3: Advanced Mapping General Tips – Updating Data/Object Models Once a mapping has been created, you can go back and change the object or data model without having to redo the entire mapping If model(s) must be changed… –Edit model(s) in the original EA file –Export the.xmi file again –Either use the same.xmi file name or remove the old file and use a new name –Open the.map file in caAdapter and select the new.xmi file when it prompted –Continue mapping as needed

DRAFT 02-Feb Lesson 3: Advanced Mapping General Tips – Choose 1 Mapping Method In the current release of caAdapter, you can’t start the mapping manually and then continue it in caAdapter Note that you can’t view manually created mappings in caAdapter either

DRAFT 02-Feb Lesson 3: Advanced Mapping General Tips – Sharing Files Must provide both the.map and the original.xmi The.map file contains a reference to the.xmi, including a file path Other user must put.xmi in same path as first user, or edit the.map file and change the path USE CAUTION if you edit the.map file!.map.xmi +

DRAFT 02-Feb Lesson 3: Advanced Mapping General Tips – Other Modeling Tips… Follow general caCORE SDK guidelines for modeling Any association with unspecified directionality will be treated as bidirectional by caCORE SDK Can’t do 3-way intersection table in caCORE SDK (or more ways!) To map a one-to-one unidirectional association, for the object that has the association attribute, the corresponding table must have the foreign key.

DRAFT 02-Feb Lesson 3: Advanced Mapping General Tips – Other Modeling Tips caAdapter adds a caCORE SDK-required tag on many-to-many associations, called “correlation- table” with value = name of intersection table (yes, this is on the object model whereas other tags are on data model) Other tags: “mapped-attribute”, “implements- association”, “inverse-of”

DRAFT 02-Feb Explained how to handle 7 different association mapping scenarios & inheritance mapping Performed a live demonstration of the scenarios Identified tips for working with the caAdapter Model Mapping Service Questions? Lesson 3: Advanced Mapping Review & Questions

DRAFT 02-Feb Exercises Overview The exercises will help you get some practical, hands-on experience in working with the caAdapter Model Mapping Service within the caCORE SDK process. Learning Objectives for the Exercises: –Identify the difference between manual mapping and caAdapter-based mapping –Perform basic and advanced mapping with a robust example –Generate an XMI file for use with caCORE SDK and hibernate files

DRAFT 02-Feb Exercises: Completing Hands-On Exercises: Overview 1.Minimize Centra or CBR/WBT teaching environment (Do NOT close the window) 2.Launch a new web session 3.Access the application you are being trained on 4.Complete the hands-on exercises 5.Minimize the web session 6.Maximize Centra to rejoin training

DRAFT 02-Feb When instructed, minimize the Centra Session Exercises : Minimizing Centra

DRAFT 02-Feb Exercises: Launching a New Web Session Launch a new web session Complete the hands-on exercise Minimize the web session

DRAFT 02-Feb Exercises: Rejoining Training Module (e.g, Centra) Once hands-on exercises are complete and you have minimized the web session, rejoin the training by maximizing the training session. Locate the Centra window in your Task Bar and click to maximize it.

DRAFT 02-Feb Exercises Exercise I – Basic Mapping Part 1: Review a manual mapping in EA –Explore object/table, attribute/column mappings Part 2: Use caAdapter to recreate the mapping –Open the.eap file in EA –Export the.xmi file (v1.1 or v2.0) –Start caAdapter & load.xmi in model mapping tab –Drag-n-drop object model elements onto data model –Validate model and view validation messages –Save the mappings to a.map file

DRAFT 02-Feb Exercises Exercise II – Advanced Mapping & Generation Part 1: Map 1:M, M:M bidirectional associations –Open.map file that has been started for you –Map associations for StudySite to Participant & AdverseEvent to AdverseEventTherapy –Click the Validate button or choose File > Validate Part 2: Generate the.xmi file for caCORE SDK –Continuing with current mapping file, map the associations –Export the mapping to HBM –Export the mapping to XMI –Open EA, import the.xmi and view the mapping tags

DRAFT 02-Feb Exercises Exercise I Files - In case you don’t finish a step Exercise I – Part 1 – manually completed mappings.eap – an EA file with the mapping already completed manually Exercise I – Part 2a – model without mappings.eap – an EA file with the same classes and tables but no mappings, from which the XMI file will be exported Exercise I – Part 2b – model without mappings.xmi – a successful export from EA containing classes and tables Exercise I – Part 2c – new caAdapter mappings.map – a valid map file generated by caAdapter with the classes & attributes mapped to the tables & columns

DRAFT 02-Feb Exercises Exercise II Files - In case you don’t finish a step Exercise II – Part 1a – completed caAdapter mappings.map – a caAdapter map file with the 2 association mappings completed, ready for validation –Uses Exercise I – Part 2b – model without mappings.xmi as the basis of the untagged original models Exercise II – Part 2a – completed caAdapter mappings_tagged.xmi – an XMI export from caAdapter with complete valid mappings Exercise II – Part 2b – caAdapter mappings reimported.eap – an EA file with the mapped classes and tables successfully re-imported

DRAFT 02-Feb Exercises Download Files If You Haven’t Already The exercise instructions and files are available at the following URL: Please begin the exercises now Ask questions as you need

DRAFT 02-Feb Session Summary: Follow-On Training & Next Steps Training presentations available online at –HL7 Version 3 and caAdapter Overview –caAdapter Fundamentals caCORE SDK training at up_id=181&language_id=1 –caCORE SDK (Session 1: Semantic Interoperability) –caCORE SDK (Session 2: Code Generation) –Plus many other courses

DRAFT 02-Feb Session Summary: Course Evaluation Please provide feedback so we can improve this training Training Evaluation Form is on the Training Portal at

DRAFT 02-Feb THANK YOU! For Additional Information: Sichen Ye Charles