Combination View Flat View Tree View
Threads [ Previous | Next ]
Write in classes
Answer
11/16/15 10:59 AM
Hello,

I want to know how the user can write into the class in the modeling toolkit.

I want click in the class and it proposes that we write to them.

Can somebody help me please ?

(ps : sorry for my english, I hope you understand)

RE: Write in classes
Answer
11/16/15 11:26 AM as a reply to Anonymous.
To fill instances with information in the modeling environment, one has to define attributes for the class of these instances. Attributes are properties of a modelling construct such as a model, object or relation. Each attribute has a type and a value. A list of the attribute types and a detailed documentation can be found at the following link:
https://www.adoxx.org/live/class-attribute-and-attribute-types

In order to be able to edit his attributes in the modeling environment you have to add them into the NOTEBOOK of the appropriate class, which is done within the class-attribute 'AttrRep'. E.g.:

1NOTEBOOK
2ATTR "Name"
3ATTR "My first string Attribute"
4ATTR "My first integer Attribute"

A detailed documentation and the syntax of the AttrRep/NOTEBOOK definition can be found here:
https://www.adoxx.org/live/adoxx-attribute-notation-language-attrrep