Information Management IBM InfoSphere MDM Custom Domain Hub, Version 10.1

To create the .genmodel file

Note: This is part of the larger task of Generating SDO objects. Before you can generate SDO objects, you must have the CommonUIServiceDataObjects project in your Rational® Software Architect workspace.
  1. Open each XSD file in your project and, in each XSD file, add the following attribute within the <xsd:schema> tag:
    ecore:ignoreSubstitutionGroups="true" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
    For example, in MDMDomains.xsd, add the following:
    <xsd:schema targetNamespace="http://www.ibm.com/mdm/schema"
       xmlns:xsd="http://www.w3.org/2001/XMLSchema"
       <u>xmlns</u>="http://www.ibm.com/mdm/schema"
       xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
          jxb:version="1.0" 
          ecore:ignoreSubstitutionGroups="true" 
    xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
  2. Click CommonUIServiceDataObjects > New > Other.
  3. In the window that opens, click Eclipse Modeling Framework > EMF Model. The New EMF Model window opens.
    Note: If the Eclipse Modeling Framework wizard is not visible, you need to first enable the EMF Capabilities Sample Set, as follows:
    1. Select Preferences window > General > Capabilities from the Windows menu.
    2. Select the check box next to EMF Capabilities Sample Set in the Capabilities window, then click Advanced.
    3. Enable all of the sub-items listed under EMF Capabilities Sample Set in the advanced window.
  4. In the Enter or select the parent folder field, select CommonUIServiceDataObjects/model.

    This is where the *.genmodel file will be created.

    Note: If a file called MDMDomains.genmodel already exists in this folder, you must delete the existing file.
  5. Type MDMDomains.genmodel in the File Name field, then click Next.
  6. On the Select a Model Importer screen, select XML Schema, then click Next.
  7. Indicate the name of the directory where the XSD file (such as MDMDomains.xsd) is located on the XML Schema Import screen, then click Next.
  8. Click Finish on the Package Selection screen.

    The new MDMDomains.genmodel file is created in the CustomerUIServiceDataObjects/model directory.



Feedback

Timestamp Last updated: November 2012

Topic URL: