Xem kết hợp Flat Xem Xem cây
Luồng thảo luận [ Trước | Tiếp theo ]
toggle
Write in classes
Câu trả lời
10:59 16/11/2015
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
Câu trả lời
11:26 16/11/2015 gửi bài phản hồi tới Cho phép người dùng chưa đăng ký.
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