is there a way to access the defining class of a property?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

is there a way to access the defining class of a property?

Stéphane Ducasse

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: is there a way to access the defining class of a property?

stephane ducasse
self mmClass implementingClass

Since we can do that maybe we could add implementingClass to FM3Property
?



>

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: is there a way to access the defining class of a property?

Andre Hora
In reply to this post by Stéphane Ducasse
If you are in a FM3PropertyDescription you can call:

self mmClass implementingClass

ex: (MooseModel meta elementNamed: 'FAMIX.Method.parentType')  mmClass implementingClass

On Tue, Sep 27, 2011 at 9:18 AM, Stéphane Ducasse <[hidden email]> wrote:

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--
Andre Hora


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev