[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [m2t-dev] Navigating to the Class type with a Realization dependency
|
Hi
Dev Mailing lists are for developers; M2T is a container project so as
such it involves no development at all.
You should use the newsgroup/forum for user problems.
I presume you are using Acceleo, but you give no clue as totool or version.
Your example contains confususing use of
"Class"/"generalization"/"stereotype" with no example to clarify. Your
text seems more concerned with instance names.
I suggest you ask a question on the newsgroup with a sensible repro.
e.g. https://wiki.eclipse.org/OCL/ForumNetiquette
Regards
Ed Willink
On 20/05/2016 14:53, Shimon Zadok wrote:
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.
_______________________________________________
m2t-dev mailing list
m2t-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/m2t-dev