Before creating modifications, an InfoSphere® MDM
Custom Domain Hub module
project for modifications must be created
An InfoSphere MDM
Custom Domain Hub module
project contains a set of related modifications to InfoSphere MDM
Custom Domain Hub.
The application model file (application.mdmxmi)
contains code generation options that apply to all the modules that
are part of the same application. In particular, you can change the
Hub Base Name and set the database schema name used when generating
SQL files in the application.mdmxmi file.
The module model file (module.mdmxmi) file contains
definitions of the customizations that you are developing and is the
input for code generation. Definitions of the various data additions,
extensions, transactions and so on are created in this model. Additional
definitions can be added to this model using the Hub module model
editor. When you are you happy with the model contents, you can use
the Generate implementation action from within
the editor to generate the implementation.
You can modify the module model file using the Hub model editor.
This editor provides two tabs that separate general project properties
(the
Overview tab) from the hub model itself
(the
Model tab). The
Overview tab
shows the properties supplied when the project was created. In the
Overview tab's
Metadata section, the following two properties define a numerical
range used during code generation to allocate certain unique key values:
- Start ID: The starting value used for allocating
unique IDs.
- Maximum offset: The maximum offset from
the Start ID that can be allocated.
This range is automatically configured when the project is created
to ensure that it does not conflict with other projects in the workspace.
When projects are imported, you may need to manually adjust the Start
ID and Maximum Offset values to ensure a unique range for each project.
The project also contains two other files:
- mdmgen.xml: This ANT script is run to generate
code from the module model.
- mdmgen.properties: This file allows you to set
properties that affect the code generation process.