Hello,
I am defining my own metamodel, and I am using the MSE pragmas. I use <MSEProperty:type:opposite:> and <multivalued> I also see the pragma <derived>. Could you explain me what it is? And also, for example, in FAMIXReference>>target, there is a pragma <target> (same for <source>). Is it a specific pragma ? Is there a page explaining all the available pragmas ? Thanks a lot for your help Best regards, -- ~~Jannik Laval~~ Enseignant-chercheur http://www.jannik-laval.eu http://www.phratch.com http://www.approchealpes.info _______________________________________________ Moose-dev mailing list [hidden email] https://www.list.inf.unibe.ch/listinfo/moose-dev |
On mar. 10 avr. 2018 at 21:50, Jannik Laval <[hidden email]> wrote:
Hello Jannik,
The derived pragma is used when the property can be computed from non-derived properties. For example the classes included in a package needs to be provided by a parse and thus non-derives. But if we create a #numberOfClasses property, it can be derived since we can compute this property by counting the number of classes. Derived properties will not be exported in the MSE.
This is a pragma used by MooseQuery. There is three: - container : used when you define a container of the entity. Moose query use it to execute the scope and navigation queries - target : use it to define the "to" side of an association. Moose query use it for navigation queries - source : use it to define the "from" side of an association. MooseQuery use it for navigation queries
There is some documentation about those used by moose query in https://moosequery.ferlicot.fr . But I don't know for Moose's pragmas in general.
Have a nice day :)
Cyril Ferlicot
https://ferlicot.fr _______________________________________________ Moose-dev mailing list [hidden email] https://www.list.inf.unibe.ch/listinfo/moose-dev |
Thank you Cyril,
Best regards, On 10/04/2018 22:20, Cyril Ferlicot
wrote:
-- ~~Jannik Laval~~ Enseignant-chercheur http://www.jannik-laval.eu http://www.phratch.com http://www.approchealpes.info _______________________________________________ Moose-dev mailing list [hidden email] https://www.list.inf.unibe.ch/listinfo/moose-dev |
Free forum by Nabble | Edit this page |