Create the Master Model

The dictionary (D-Perspective) describes the elements which are used to construct a model.

The M-perspective is used for the actual construction of the Master Model.

  • (1) Click on the "M"-Icon to open the "MASTER (schema)" perspective: There are now two panes – the dictionary-pane and the Master-pane.
  • (2) Drag the entities from the dictionary and drop them into the master pane
  • (3) Click on the triangle icon to open (or close) the dropdown list of an entity: This list shows that there are not yet attributes and relations defined for the entities.
Open the Graphic View

Show View:

  • Attributes: Editor-pane to edit the attributes of the currently selected Item. 
  • Attribute Short Info: Open a pane to display attributes of the currently selected item.
  • Metatype Cross Reference: Show "where used information" about the currently selected item.
  • Schema Graph View: Display the structure of the Model (Schema)

Open Perspective: Open one of the three perspectives – D..Dictionary, M…Master Schema, S..SubSchema.
The same effect can be reached by clicking on the D, M or S Icons.
Reset Perspective: ... to the initial status

Graphic View for Models

The graph view shows the entities of the master schema side by side – the connections between the entities are not yet defined.

  • (1) Click on the Schemas-Icon and on the "Master"-Icon in the Dictionary
  • (2) The six icons in the header of the Schema Graph View:
    File:
    save the picture as .gif, .png, .svg or .dot-file.
    Printer:
    Print, +: enlarge, -: shrink
    Refresh
    : Select manual or automatic
    Preferences
    : set the preferences for the picture
  • (3) Click on the customer Icon: A drop-down list shows that there are Attributes are not yet defined for this entity; Variants are defined; Relations are not yet defined
Connect Entities by Relations

Create the connection "places" between the object entity "Customer" and the subject entity "Order"

  • (1) Drag the relation "places" from the dictionary to the Master-pane and drop it onto the "Relations"-node of the Entity "Customer".
  • (2) The Select-Window pops up. Select the "Target" entity "Order" and confirm with the OK-click
Connect Entities by Relations

Create the connection "places" between the object entity "Customer" and the subject entity "Order"

  • (1) Drag the relation "places" from the dictionary to the Master-pane and drop it onto the "Relations"-node of the Entity "Customer".
  • (2) The Select-Window pops up. Select the "Target" entity "Order" and confirm with the OK-click
Document Relations

The dictionary contains only a summary description of the relations. The meaning of a relation depends on the context, i.e. the entities which are connected by the relation. Therefore the contextual description of the relations is entered at the model level.

  • (1)  Double click on the relation in the master model: this will open the edit window for the properties of the selected relation
  • (2)  The description of the pays-relation: "Payments are paid by 1 Customer. A customer my send many payments. It must be defined for which order the payment has been received. Payments for several orders must be split in individual payments."
  • (3) The source (Customer) cardinality of the relation "pays" is "0…*" because a customer can make any number of payments.
  • (4) The target (Payment) cardinality of the relation "pays" is "1..1" because a payment can be paid by one (and only one) customer.
Add more Attributes

Additionals additional attributes have beend defined in the dictionary – e.g. Amount (F..Float), DeliveryDate (D..Date), Note (S..String).

(1) Pick up an attribute from the dictionary and drag it to the "Attribute"-Icon of an entity and drop it there.

The picture in the graphics pane is automatically updated and shows the name of the new attribute and in parenthesis the code for the datatype.

Group Attributes

Attributes can be grouped in attribute-groups. This is helpful when many attributes (hundreds) exist. With 30 attribute boxes and 30 attributes in each box (in average) one can organize 900 attributes!

  • (1) Right click the attributes-Icon in the dictionary.
  • (2) Select "Add Attribute Group" from the context menu -> the popup window appears
  • (3) Enter the name of the attribute group and click OK -> the group appears as grey box in the list
  • (4) To reorganize attributes: Drag an attribute from the attribute list (or from another attribute box) and drop it into an attribute-group box.

(You can use the same procedure to create groups of entities)

Extend the Model
  • (1) It is not possible to allocate the attribute "Pieces" to "Order": You can allocat Pieces either to the relation between Order and Product (Order contains Product) or you can create a new entity called "OrderItem" (which is chosen in the next step).
  • (2) Create a new entity in the dictionary (OrderItem) and move it to the Master model.
  • (3) Create a new relation between Order and OrderItem, and another between OrderItem and Product. Update the cardinalities.
  • (4) The relations between Order and Products can be removed: Right Click on the relation between Order and Product; Click "Delete".