[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.m2m] Re: [ATL] How "getAppliedStereotypes()" operation works with ATL

Hello,

When using any EMF metamodel, ATL registers all the "custom" operations which are defined in that metamodel. For instance, UML is basically an EMF metamodel which has been extended with methods like "getAppliedStereotypes", "getValue", "applyStereotype", etc... in order to support of the profiles/stereotypes specification: those methods are part of the eclipse UML2 framework.
ATL only maps method's calls to this framework.


Regards,

William

rasha a écrit :
Hi all,

I have a question about how the "getAppliedStereotypes()" operation works with ATL. In UML, a model element knows nothing about what stereotypes are attached to it and the navigation goes from the stereotype to the stereotyped element. However in ATL rules, I can select a model element according to the stereotype attach to it. Does ATL provide this as a build-in OCL operation?

Thanks for any help,

Rasha