NOTEBOOK ​
Starts the definition of a Notebook.
Syntax ​
NOTEBOOK [ with-relations | move-relations:intValue ] .
Parameters ​
with-relations
(modifier, optional) - Adds a special chapter "Relations" listing all relations. By default it is missing.move-relations
(intValue, optional) - Specifies the position for the "Relations" chapter. The default is at the end.
Details ​
The definition of a Notebook must start with the NOTEBOOK
command. Each Notebook must have at least one chapter to show some attributes.
A special chapter "Relations" listing all relations for instances of a modelling class can be automatically created through specifying the with-relations
modifier. It is also possible to modify the relations in that chapter. The position at which the "Relations" chapter is to be inserted can be specified by the parameter move-relations:intValue
. The value 0
denotes before the first chapter, 1
between the first and second chapter and so on. By default the "Relations" chapter is added at the end.
See Also ​
Examples ​
A simple Notebook with one chapter "General" showing three attributes "Name", "Position" and "Size".
NOTEBOOK
CHAPTER "General"
ATTR "Name"
ATTR "Position"
ATTR "Size"
Versions and Changes ​
Available since ADOxx 1.3