|
||||||||
|
||||||||
![]() |
|
Model MapperUsing the mapperDisplaying and arranging the MapperWhen the mapper is started the windows are aligned in the following way:
If the destination model is also a source, all models are displayed on the left with the destination model on top of the arrangement. There are several ways to align the Model mapping with the source and the destination models. This is chosen by right clicking on the Model Mapping object to display the Model Mapper menu and choosing the sub-menu Layout. You can use one of the three menu entries, Maximize, Cascade or Align with models, to arrange the Model Mapping components.
Automapping ModelsGenerally, when the models are basically identical, and you simply wish to inform the repository of that fact, you then want to create a stitiching between the two or more references to the same model. In this case, simply right-click on the mapping format and select the Automap Models option. This action will invoke the comparator and mapper, and autopopulate the mapping format where the models are identical. Defining Mapping ObjectsYou may, of course, create or edit mappings by hand. There are two main mapping objects that can be created to map the classes, attributes and keys of the source and destination models. When a model mapping is generated from the model comparator, some of these objects are automatically created.
In the above figure, the source model (an ETL model) is mapped to the model of a data warehouse. The mapping window contains information about the current state of the mapping. The entry Add source classifiers... in the Model Mapper menu allows you to manually select the destination classes for which you want to create a class map. The dialog box that let you choose the destination classes Once a classifier map is created, you can add source classes using the Add Source Classes... menu entry in the popup menu of the class map. You can add feature maps using the Add Feature Maps... menu entry. Feature Maps correspond to the attribute level mappings transformations that are defined to relate the data to the destination class. In general there will be as many Feature Maps as there are attributes in the destination class but there may be transformations that will have several destination attributes. To add destination attributes to an object, you must first copy the attribute from the source or destination window and paste it on the object that is in the mapping window. The one constraint is that the destination attribute be copied first, so we know which destination attribute is mapped. For example, the highlighted object Account Status has two classes connected: the source class with the solid left arrow and the destination class with the solid right arrow. The solid arrow suggests the node is linked to another in a different window, in this case, the models in the source and destination window. You need only right click on a selected object (classifier map, feature map) to:
Defining Feature Maps
Creating and Editing Feature Maps
A Feature Map may have several source and several destination
attributes.
Defining Classifier Maps
Creating and Editing Classifier MapsSource Class(es) can be added to the Classifier Map using the Add Source Classes... option that is available via a right mouse click on the Classifier Map. The Class can also be added to a class map by either copying the source class to the Class Map or by adding source features to a Feature Map of the class map. Any source features may be copied to a Feature Map. The source class will then be added to the Classifier Map. |
![]() |
Copyright © Meta Integration Technology, Inc. 1997-2008 All Rights Reserved.
|