[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.m2m] Re: [ATL] UML stereotype problem
|
- From: urs zeidler <me@xxxxxxxxxxxxx>
- Date: Sun, 01 Jun 2008 12:29:51 +0200
- Newsgroups: eclipse.modeling.m2m
- Organization: EclipseCorner
- User-agent: Thunderbird 2.0.0.14 (X11/20080505)
> 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.