Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2t-dev] Navigating to the Class type with a Realization dependency

Hi All,

I am trying to get the Class (type) of a class that is a
generalization of a class.

Hopefully this will much more clear:
Integer is a class
Int is a class
Int is realized with with Integer.

Using c which is Integer class:

[for (d: Dependency | c.clientDependency) ]
[d.supplier.name]
[/for]

this gives me the correct Int generalization name ('Int').
What I need is to get the Int class to test for stereotypes for example.

How can I get that class type. d.supplier.oclAsType(Class) doesn't work.


Back to the top