Link an ER model to begrippen
A conceptual data model names things, and a begrippenkader (an NL-SBB model of concepts, or begrippen) says what those names mean. Linking the two records which begrip each entity, attribute and relationship stands for, so a reader of the data model can look up the agreed definition, and the definition only has to be written once.
On an ER model this link comes from the ER + NL-SBB add-on. It adds a Concept field to every entity, attribute and relationship, and offers the begrip’s definition as the element’s description.
Prerequisites
Section titled “Prerequisites”- A model on one of the ER metamodels: EER, IE, Logical ER, PowerDesigner CDM or PowerDesigner LDM. They are under the ER card when you create or import a model.
- A begrippenkader in ModelDesk: a model on the NL-SBB standard holding the begrippen you want to link to.
- The rights to change the model’s settings. See Manage model settings.
Add the add-on
Section titled “Add the add-on”An add-on is offered and chosen like an extension. When you create or import an ER model, ER + NL-SBB is one of the rows under Extensions on the Configure step; tick it there. For a model you already have:
-
Open the model and select Model settings in the left navigation.
-
In the Metamodel extensions section, select Manage.
-
Tick ER + NL-SBB and select Save.
ER + NL-SBB is now listed under Extensions in the Metamodel extensions section, and beside the metamodel on the model’s overview page.
Add the begrippenkader as a dependency
Section titled “Add the begrippenkader as a dependency”The Concept field picks begrippen from the models yours depends on. The add-on is what allows an ER model to depend on NL-SBB models.
-
On the Model settings page, in the Dependencies section, select New dependency.
-
Pick the begrippenkader and the version to use, and add it.
You can add more than one begrippenkader. See Manage dependencies for versions and what the table shows.
Link an element to a begrip
Section titled “Link an element to a begrip”-
Open the Model editor and select an entity, an attribute or a relationship.
-
In the Properties form, find Concept in the General section, right under Description.
-
Select the search box, which reads Search or paste IRI…, and type part of the begrip’s name. The results are grouped under the name of the begrippenkader they come from.
-
Select the begrip. It appears in the field as a chip; the arrow on the chip opens the begrip in its own model.
-
Select Save changes.
An element can stand for more than one begrip: pick again to add another.
Use the begrip’s definition as the description
Section titled “Use the begrip’s definition as the description”Once an element is linked, its Description field offers the begrip’s Dutch definition (definitie). While the description is empty, the offer is listed under the field with the begrip and begrippenkader it comes from. An element linked to several begrippen gets one offer per definition, under Suggestions.
-
Select the offered text. It fills the Description field.
-
Select Save changes.
The line under the field then names the source, for example from Station · Vervoer begrippenkader. If you wrote the description yourself, the line counts the offers instead, such as Suggestions (1); select it to see them again. You can edit an accepted description like any other: it is a copy, not a live reference to the begrippenkader.
See the links in Semantic Lineage
Section titled “See the links in Semantic Lineage”A link to a begrip is lineage: it records that the element comes from a concept at a more abstract level. Select Semantic Lineage in the left navigation. The Overview lists every linked element with the begrip and the begrippenkader it points to, marked Vertical and Linked. The begrippenkader does not have to be declared under Based on for this. See Record what a model is based on for what the page shows.
Remove the add-on
Section titled “Remove the add-on”You remove ER + NL-SBB as you remove an extension: clear it in the Manage metamodel extensions dialog and select Save. While any element still links to a begrip, ModelDesk refuses and lists those elements, each linking to the element in the Model editor. Clear their Concept fields first, then try again.
If this goes wrong
Section titled “If this goes wrong”- ER + NL-SBB is not in the extension list: the model is not on one of the ER metamodels the add-on is made for.
- The Concept field finds no begrippen: the model has no NL-SBB dependency yet, or the name you typed is in a begrippenkader the model does not depend on. Add that begrippenkader under Dependencies.
- No description is offered: the element is not linked to a begrip yet, or the begrip has no Dutch definition.
- Manage is disabled: adding or removing the add-on needs
mainto be the model’s only branch, as for an extension; the line above the extensions names the branches in the way. See Review the metamodel extensions.