|Re: [QVT-R] Problem with inheritance [message #547564 is a reply to message #547550]
||Sun, 18 July 2010 20:35
| Ed Willink
Registered: July 2009
On 18/07/2010 19:00, Bler wrote:
> Hi there,
> I'm new in the QVT-Relations, someone could say to me, how I can obtain
> the list of the subclasses of a class, please ?
Since you say you're new, I suspect this isn't what you want to do. You
probably want to use some form of polymorphic match so that QVTr matches
do what you want automatically.
> In fact, I have to move a property (attribute) from the subclasses into
> the super-classe. Any idea how can I do it, please?
But if you really want to move UML elements around, you should be using
the UML meta-model so that you can traverse the general relationship to
And if you really want to operate reflectively you need to find some
tool that anticipates the OCL support for OclAny::oclType() to allow
> Thank you so much,
NB. Eclipse M2M/QVTr provides model-checking editing only at present.
Powered by FUDForum
. Page generated in 0.01824 seconds