3 11 Maintaining Unattached Elements

Visual LANSA Logical Modeler

3.11 Maintaining Unattached Elements

When modeling, elements may be known, but the entities to which those elements should belong is not known. Also, when an entity is deleted from the model, all of the elements which were defined in the entity still exist but are no longer grouped into a specific entity. The Logical Modeler offers the ability to maintain these elements and to create more elements without immediately attaching them to entities.

To maintain Unattached Elements directly, select the Edit menu and choose the Unattached Elements … option. The Maintain Unattached Elements window is displayed:

A list of currently unattached elements is displayed, alphabetically, below the toolbar.

The following information is shown for each element in the list:

  • its build status (a green tick if the element has been built, a red cross if the element is required to be built)
  • its name
  • a Notes image, if the element has notes attached
  • its data type, if it has one,
  • its field type and length, or the type and length of the data type, if used
  • its field name

From this window:

  • A new element can be created by clicking the button on the toolbar.
  • An element can be changed, by double-clicking it in the list, or by selecting it and clicking the toolbar button.
  • An element can be deleted by selecting it and clicking the toolbar button.
  • An element's notes can be maintained by selecting it and clicking the toolbar button.

For information about these options, refer to the 6.4 Working with Elements.

Unattached elements can be attached to entities at a later stage by dragging and dropping them from this window into an Entity Elements window. Similarly, attached elements can be unattached by deleting them from an Entity Elements window or by dragging them and dropping them from an Entity Elements window into the Unattached Elements window. Refer to 5.6.6 Transferring Elements for further information.