|
Re: Adding attributes to a class via modeling workbench [message #1850983 is a reply to message #1850975] |
Wed, 23 March 2022 22:00 |
|
Hello,
If I understood corectly, in your metamodel, you just need a containment reference (0..*) on Entity typed Attribute. Attribute would be an EClass with a "name" string attribute and probably a type string attribute (and whatever else you would want to specify an Attribute). In your odesign, you can have a container mapping for the entity. Inside it, you add a node mapping for the Attribute. Then, in the tool section, you will just need a container creation tool for the Entity and a node creation tool for the Attribute elements.
Best regards,
Steve
Steve Monnier - Obeo Canada
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03582 seconds