[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.m2m] Re: [ATL] UML stereotype problem

> rule toProcess{
> 	from
> 		u : UML!"uml::Activity",						c :
> UML!"uml::Class"(u.oclIsTypeOf(UML!"uml::Activity") and
> 			if c.oclIsTypeOf(UML!"uml::Class") and 							c.name='onlinesale'
> 			then c.isStereotypeApplied(c,'Process')
> 			else false
> 			endif
> 			)
> 	to
> 		p :BPEL!"model::Process"(...)
> 
> I annex my *.atl file , the meta-models and models ,would you please
> check it ??

This helper has no context, so you need to call it with
thisModule.isStereotypeApplied(c,'Process').

greetings, urs.