Manipulating Models

Imported models are displayed graphically in the TM Design Time IDE. Once loaded, the models can be modified in a variety of ways.

In TM we use the following terminolgy

  • Attributes (Database equivalent is field)
  • Element (Database equivalent is table)

Attributes

  • Attributes can be added or removed to/from a particular element
  • The type information for a particualr attribute can be modified
  • The mandatory status of an attribute can be changed.

Elements

  • Elements can be added or deleted

Relationships

  • New relationships can be created between elements
  • Existing relationships can be deleted
  • Existing relationships can be copied or cloned
  • Self relationships can be added

Relationship properties can be modified:

  • The target and origin elements can be changed
  • The maximum and minimum cardinalities in both directions can be modified
  • The identifying status of a relationship can be changed
  • Relationship sub-conditions can be added, deleted and modified
  • Advanced properties can be set and modified

A wizard exists that allows users to automatically discover and create relationship based on name matches, type matches, or by matching instance data and linking primary and foreign keys.