[great-users] Handling of abstract classes and transformation debugging

Léonard PETNGA lpetnga at gmail.com
Thu Mar 1 15:57:48 CST 2012


Hi everyone! I'm a new user of the GME/GREAT tool suite and I have some
questions for you guys.
1.  I have written a rule containing a pattern including an abstract class
(at level n). I want GREAT to use this rule to create an object based on
the pattern provided as input. However, in my next rule, I need to get
access to the inherited classes (level n-1) in the next rule ie the real
objects abstracted. Since GREAT does not allow me to represent inheritance
(as specified in the Metamodel) can I just (in the next rule) connect the
real objects at n-1 to the real one at n+1 as children and parent by
bypassing the abstract class? If no please clarify this point to me. I will
also welcome any more efficient way to handle this kind of situation.
2. Is there anyway to "debug" or test the transformation rule by rule prior
to running the Master interpreter?
Thank,
Leonard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/great-users/attachments/20120301/bb6d5ddb/attachment.html 


More information about the great-users mailing list