Dbquity Metamodel

page modified: 2024/10/24 11:40:48

The busy diagram below captures the Dbquity Metamodel where each box can be clicked taking you to the reference page of the notion that it represents, and the boxes with non-italic names also directly represents a keyword in the Dbquity Modeling Language and reveal language syntax in their tooltip.

A model is either a site or a library, which comprises any number of classifiers, each of which is either

A model may declare references to other models to use classifiers declared in these other models.

A curious note about the metamodel diagram

The diagram is generated using the dot command of the CLI:

dbquity dot overview metamodel -filter:primitives+Classifiers+Members+Models+Core +l -r -nolabel

and then manual removal of the base edges from complex to entity and from member to field in overview.dbquity.dot followed by

dot2svg overview

If you open the source file, Metamodel.dbquity, you'll notice that it is quite atypical, because in addition to an abundance of diagramhint properties it abuses most of the language keywords and redefines them to declare pseudo entities that capture the metamodel including site, field, and entity.