Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] UML 2 BPEL
[ATL] UML 2 BPEL [message #78410] Sun, 06 April 2008 08:43 Go to next message
Eclipse UserFriend
Originally posted by: hr_mi.live.cn

Hi,everyone
I have a problem about the transformation from uml to bpel.
I don't know how to judge a Class Diagram is whether a <<Message>>
sterotype or not.
for example,
------------------------------------------------------------ -----------
<packagedElement xmi:type="uml:Class" xmi:id="_ImpYMMWmEdyvEKV9jp3p8g"
name="purchaseOrderMessage">
.
.
.
</packagedElement>

<BPEL:Message
xmi:id="_1Tu7EMW7EdytsYnsx_eveQ"base_Class="_ImpYMMWmEdyvEKV9jp3p8g "/>

------------------------------------------------------------ ------------

who can help me manage it ??

Thanks very much.

Best whishes!
Re: [ATL] UML 2 BPEL [message #78567 is a reply to message #78410] Wed, 09 April 2008 15:07 Go to previous messageGo to next message
William Piers is currently offline William PiersFriend
Messages: 297
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------010305010202090004000100
Content-Type: text/plain; charset=GB2312
Content-Transfer-Encoding: 8bit

Hello,

To check stereotypes into ATL, you need to use UML2 api methods like in
Java. For instance, here is a helper which checks if an ELement has a
given stereotype :

helper context UML!"uml::Element" def: hasStereotype(stereotype :
String) : Boolean =
self.getAppliedStereotypes() -> collect(st | st.name) ->
includes(stereotype);

Best regards,

William

unique a
Re: [ATL] UML 2 BPEL [message #79376 is a reply to message #78567] Wed, 16 April 2008 08:48 Go to previous message
Eclipse UserFriend
Originally posted by: hr_mi.live.cn

William Piers 写道:
> Hello,
>
> To check stereotypes into ATL, you need to use UML2 api methods like in
> Java. For instance, here is a helper which checks if an ELement has a
> given stereotype :
>
> helper context UML!"uml::Element" def: hasStereotype(stereotype :
> String) : Boolean =
> self.getAppliedStereotypes() -> collect(st | st.name) ->
> includes(stereotype);
>
> Best regards,
>
> William
>
> unique a écrit :
>> Hi,everyone
>> I have a problem about the transformation from uml to bpel.
>> I don't know how to judge a Class Diagram is whether a <<Message>>
>> sterotype or not.
>> for example,
>> ------------------------------------------------------------ -----------
>> <packagedElement xmi:type="uml:Class" xmi:id="_ImpYMMWmEdyvEKV9jp3p8g"
>> name="purchaseOrderMessage">
>> .
>> .
>> .
>> </packagedElement>
>>
>> <BPEL:Message
>> xmi:id="_1Tu7EMW7EdytsYnsx_eveQ"base_Class="_ImpYMMWmEdyvEKV9jp3p8g "/>
>>
>> ------------------------------------------------------------ ------------
>>
>> who can help me manage it ??
>>
>> Thanks very much.
>>
>> Best whishes!


Hi William,

Thanks for your help. I will try it. If I have some other problem , I
am looking forward to your help.

Thanks again!
Previous Topic:[ATL] creating aggregation relation between model elements
Next Topic:[ATL] XML to XML transformation: XSLT or ATL?
Goto Forum:
  


Current Time: Mon May 27 07:31:47 GMT 2019

Powered by FUDForum. Page generated in 0.02393 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top