Skip to content

Manage collection membership

In an NL-SBB model a Collectie groups concepts that belong together, and that membership is stored on the collection. You do not have to open every collection to change it: the form of a Begrip carries an Is lid van field listing the collections the concept belongs to, and you add and remove collections there. Both routes edit the same membership. Adding a collection under Is lid van is exactly the same as opening that collection and adding the concept to its Members.

  • An NL-SBB model you can edit in ModelDesk, containing at least one Collectie.
  1. Open your model and select the Begrip in the model tree. Its form opens in the editor.

  2. Find the Collections group on the form. The Is lid van field lists the collections this concept belongs to, by name. An empty field means the concept is in no collection.

  3. To add a collection, select the search box in the field, type part of the collection’s name, and select the collection from the list. Only collections in this model that may contain this concept are offered, and collections already listed are left out.

  4. To remove a collection, point at its entry in the field and select Remove.

  5. Select Save changes.

ModelDesk writes the change to the collections themselves: every collection you added now lists this concept under Members, and every collection you removed no longer does. However many collections you changed, the model’s history records the change as a single entry. If you edited other fields on the concept in the same save, those are recorded separately, as a change to the concept.

A concept does not have to belong to a collection. Emptying the field completely is allowed and leaves the concept in none.

  • The field is not on the form. It appears only once the concept exists, so it is absent while you are still creating one. Create the concept, then open it and set its collections. The field also comes from the metamodel: a model whose metamodel does not define it does not show it.
  • An entry has no remove control. That collection is held by a model this one depends on, which this model cannot change. Open the model that owns the collection and edit the membership there.
  • A collection is missing from the list. The list offers only collections from this model itself whose type may contain this concept. A collection from a dependency cannot be added here.
  • The save reports an error. The whole change is rejected and nothing is written, so the collections keep the membership they had. Correct what the message names and save again.