7.x Documentation

features description for

Link Types

Link types can be created in the Database Designer under the entry “Link Types” and then can be used together with the link technology for link rules. Link types created in one unit apply however to the entire database (regardless of the unit hierarchy) and are copied too when you copy a whole unit.


Create a new link type

To create a new link type, proceed as follows:

  1. Select the item “Link types” in a unit in the Database Designer.

  2. Choose “New” from the context menu or use the “New” button in the menu bar.

  3. properties window to create a new link type appears.

  4. The following properties are available for link types:

    a. Name
    Enter a name for the link type; this name is then used for the classification and grouping of links in the properties window of objects.
    b. Is direct vectored
    This field should be set to “true” only when the link type should be used for the direct or indirect link technology. In this case, the additional fields “direct name” and “opposite name” should be filled.  
    i. Direct Name
    This field contains the description of the link type in the direction of the object of the target class (e.g.”linked to”), used in the properties window of objects. ii. Opposite Name
    This field contains the description of the link type in the opposite direction of the object of the target class (e.g.”linked from” or similar), used in the properties window of objects.
    c. Automatic Association Data
    This property is used to automatically create objects of the association class between two linked objects. 
    If the property is set to “false”, then you can link objects normally with this link type (either with an association class, or without an association class). If you use an association object for a (e.g., direct) link technology, it will only be taken in the link, if you place this object explicitly on the diagram.
    If the property is set to “True”, then you need to choose an association class. When you link two objects with a connector, the connector created belongs automatically to the association class previously selected. I.e. a new object of the association class is created automatically, no matter which connector you use.

    i.  AutoInitializationscript  
        When the property "Automatic association data" is set to
        true and an association class has been selected, you can
        fill in the property AutoInitializationScript. This property
        is used when filing [formulas](property-type-formula), which can             be used for example to define the association data

    d. Association Class
    With this selection box, you can create a third class as association class for the linking of objects. Their objects are then used to describe the link with additional information. An association class can be used with the indirect link and the RACI technology. For the direct link technology, the connector is automatically recognized as an association object, when it is a object. An association class can always be selected from the unit where the corresponding link type has also been created, or can be inherited from overlying units too.

  5. Clicking “OK” creates the configured link type.