Create Mapping

From ER/Studio Business Architect
Jump to: navigation, search

Go Up to Subject Area

You can create mappings for Subject Areas to conceptual models, diagrams, and business entities. You can also map to business process model diagrams. A Subject Area can reference a collection of entities in a diagram, or specific individual entities. When a Conceptual model is exported to ER/Studio DA, the Subject Area will be an ER submodel, and all the referenced entities will appear under that submodel.

Note: All individual entities in a submodel are mapped, not just the model diagrams.

Also, you can create an Interaction mapping to a Business Process diagram. An interaction represents an action, process, or transaction between two objects. Mapping an interaction to a Business Process diagram provides a quick and easy way to view the mapped diagram.

Once you have created a mapping you can view, edit, or delete it.

Creating Subject Area Mappings

To create references from a Subject Area, use the Mapping functionality. There are three ways to map:

Right-click the Subject Area node that you want to map in either in the Model View tree or in the Diagram View and select Create Mapping.
OR
In the Subject Area Property View, select the Mappings tab and click ICON ADD LINK.PNG, and the Create Mapping dialog opens.
Note: Only the first level business entity is selectable. All nested business entities (i.e., business entity within a business entity) are grayed out and cannot be selected. When you select a top level business entity all child business entities are selected as well. You cannot map only to a nested (or child) entity. Once you have mapped a business entity, you cannot delete only the nested entity. You must delete the first level business entity which includes the nested entity.
OR
Drag and drop Business Entities into a Subject Area. When you drag a Business Entity on a diagram into a Subject Area on a diagram, all contained entities are automatically mapped.

Creating Interaction Mappings

To create references from an Interaction to a Business Process diagram, use the Mapping functionality. There are two different ways to map.

1 Right-click the Interaction node that you want to map in either in the Model View tree or in the Diagram View and select Create Mapping.
OR
In the Interaction Property View, select the Mappings tab and click ICON ADD LINK.PNG, and the Create Mapping dialog opens.
2 In this dialog, select the business process diagram from the tree and click OK.

Viewing the Mapping

You can view the results of your mapping three ways depending on what you mapped: (1) in the Property View of the mapped object; (2) via the shortcut menu in the Model View tree; or (3) on the Impact Analysis tab in the Property View.

  • Open the Property View either by double-clicking the Subject Area or Interaction in the Diagram View or selecting Properties from the shortcut menu in the Model View tree. Then click the Mappings tab.
Note: When you double-click the mapped diagram in the Mappings tab of the Property View, the diagram opens in the Diagram View.
  • For a Subject Area, if you mapped to a diagram, right-click the Subject Area node in the Model View tree or diagram and select Diagram Mapping. The pull-right displays all diagrams that are mapped.
  • To view an Entity’s mapping, click the Impact Analysis tab in the Entity’s Property View to see what Subject Areas map to it.

Editing a Mapping

Once you have created a mapping, you can then create more mappings or delete existing mappings.

1 Right-click the Subject Area either in the Model View tree or in a diagram, select Edit Mapping, and the Edit Mapping dialog opens. For a Subject Area, this dialog lists the workspace, model, diagram(s), and all conceptual model elements for the selected subject area. The elements mapped to the selected subject area are checked.
Note: When a business entity is grayed out, it cannot be cleared because it is graphically contained by the subject area on one or more diagrams.
For an Interaction, right-click in the Model View tree or in a diagram and select Edit Mappings. The Edit Mappings dialog lists the Business Process diagrams selected.
2 Deselect a checked element to delete the mapping. You can also delete a mapping using the Property View.
3 Select an unchecked element and when you click OK, a mapping is created between the selected subject area and the checked element.

Deleting a Mapping

1 Open the Property View for the Subject Area or Interaction containing the created mappings.
2 Select the Mappings tab to view the diagrams and/or entities that have been mapped.
3 Select the diagram and/or entity you want to remove from the mapping and click ICON DELETE.PNG.
  • If you have nested entities, you cannot delete only the nested entity. You must delete the parent-level business entity which includes the nested entity. If you select the nested entity to delete, you will get a warning in the Property View.
  • If you have an entity contained in a subject area on a diagram, you cannot delete the mapping. You must remove the mapping by dragging the element out of the Subject Area.