Skip to main content

Add New Entity and Relationship Types

Right-click on the diagram and select Entity from the context menu:

Add new entity type

Name the new class BusinessRequirement. Then add another class called SystemRequirement, and a new relationship type called Realization.

Set up inheritance so that:

  • BusinessRequirement and SystemRequirement inherit from Entity
  • Realization inherits from Relationship

Also mark Entity and Relationship themselves as abstract:

New classes

Next, add additional attributes to your requirements and relationships. You can do this either through the explorer on the left or via the context menu in the diagram editor:

Add new attributes

Add the following attributes:

  • For BusinessRequirement:
    • priority — Low, Normal, High
    • effort — estimated implementation effort
  • For SystemRequirement:
    • status — Draft, Approved, Implementation, Testing, Completed
  • For Realization:
    • extended — indicates that the implementation goes beyond the minimum scope of the business requirement

At this point, the metamodel only includes string data types. You’ll need to define additional types for the new attributes:

  • Effort — numeric type for estimating effort
  • Priority — enumeration for priority levels
  • Status — enumeration for requirement status
  • Boolean — boolean type for the extended flag

Requirement metamodel

Assign the appropriate data type to each attribute. If needed, you can also localize the names of all new classes and attributes by adding translations for the required languages.