Abstract Entity
SAMM supports defining abstract elements (entities and properties) and the concept of inheritance in order to make semantic information reusable. The editor allows to create abstract entities and properties and to declare relationships to inheritance via "extends". See Abstract Entities for more information about abstract entities and properties.
There are two different ways to create an abstract entity:
-
Use drag-and-drop from the Workspace sidebar
-
Adjust an Entity in the extends field
Use drag-and-drop from the Workspace sidebar
To add an abstract entity, proceed as follows:
-
Open the Workspace sidebar
-
Drag the Abstract Entity element and drop it to the graph area canvas
Adjust an Entity in the extends field
To select or create an abstract entity in the Edit field of an Entity, proceed as follows:
-
Double-click the entity or abstract entity that should derive from another entity.
-
Abstract entity can be created or selected in the "extends" field.
Abstract Entities Example
For a new model that only has an Aspect so far:
-
Create one Property by clicking twice on the Aspect’s Add icon .
-
Create one Characteristic by clicking the Add icon .
-
Create one Entity by clicking the bottom Add icon .
-
Drag and Drop an Abstract Entity from the sidebar.
-
Connect the Abstract Entity with the Entity:
-
Click the Entity,
-
Then CTRL+click the Abstract Entity,
-
Then click the Connect icon on the toolbar.
-
-
Click the Format icon .
→ As a result you have connected the Abstract Entity with the Entity.