11 lines
No EOL
400 B
Text
11 lines
No EOL
400 B
Text
# We create the 'Top'-class with a GlobalCondition, because that's the only way we can control the name of the object to be created.
|
|
|
|
:GlobalCondition {
|
|
condition = ```
|
|
top = create_object("Top", "Class")
|
|
set_slot_value(top, "abstract", True)
|
|
lnk = create_link("generic_link", "Association", top, top)
|
|
# lnk also inherits top:
|
|
create_link(None, "Inheritance", lnk, top)
|
|
```;
|
|
} |