Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » QVT-OML » bpmn2uml
bpmn2uml [message #1713922] Sun, 08 November 2015 14:04 Go to next message
Srdjan Tica is currently offline Srdjan TicaFriend
Messages: 5
Registered: October 2015
Junior Member
Hi,
I need to make a transformation from BPMN to UML . Which program is best to do this project. Is topcased best for it. And is there a tutorial that could help me because I'm an absolute beginner in qvt programming.
thanks in advance
Re: bpmn2uml [message #1713940 is a reply to message #1713922] Sun, 08 November 2015 19:50 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 5891
Registered: July 2009
Senior Member
Hi

[I think Topcased is going obsolete with most of the good extra bits
contributed back to the main Eclipse projects.]

Most people learn QVTo from the New->Example...->QVTo->Simple UML to
RDBMS included in the distribution.

The QVT 1.3 specification revision drafting has just completed. You can
see many discussions at https://dev.eclipse.org/mhonarc/lists/qvto-dev/.

In particular the new specification draft is at
https://dev.eclipse.org/mhonarc/lists/qvto-dev/msg00383.html. It has an
additional 10 pages of introductory text explaining some of the more
important QVTo capabilities much more clearly; a few examples have been
debugged. Eclipse QVTo has a small amount of work to do to fully comply
with some of the clarifications.

Regards

Ed Willink


On 08/11/2015 17:57, Srdjan Tica wrote:
> Hi, I need to make a transformation from BPMN to UML . Which program
> is best to do this project. Is topcased best for it. And is there a
> tutorial that could help me because I'm an absolute beginner in qvt
> programming. thanks in advance
Re: bpmn2uml [message #1715660 is a reply to message #1713922] Wed, 25 November 2015 06:38 Go to previous messageGo to next message
Denis Nikiforov is currently offline Denis NikiforovFriend
Messages: 196
Registered: August 2013
Senior Member
Hi Srdjan

I wrote several simillar transformations by means of Eclipse + QVTo. Some of them we use in production environments. It works fine. Alternatively you can try ATL or Epsilon Transformation Language. But I preffer QVTo.

There are not too much tutorials. You can try these:
http://www.levysiqueira.com.br/2011/01/eclipse-qvto-hello-world/
http://reqpro.blogspot.ru/2013/01/qvt-transformations-with-eclipse.html

Also you can read the specification:
http://www.omg.org/spec/QVT/

I'm writing a series of articles about Model Driven Architecture. And I plan to write a QVTo tutorial two months later.
Re: bpmn2uml [message #1715825 is a reply to message #1713922] Thu, 26 November 2015 13:15 Go to previous messageGo to next message
Srdjan Tica is currently offline Srdjan TicaFriend
Messages: 5
Registered: October 2015
Junior Member
Thanks Denis,
I already read those tutorials.
this is my next problem:
My transformation has next content:
main()
{
bpm.rootObjects()[Definitions]->map defToModel();

}

mapping Definitions::defToModel() : Model
{

name := self.name;

packagedElement += bpm.objects()[Process]->map proToPack();

}

mapping Process::proToPack() : Package
{
name := self.name;
}

This only work if content of bpmn diagram in text file is:


<bpmn2:Definitions ... >

</bpmn2:Definitions>

if text file has more lines like <Process> and more, my transformation gives exception:

Invalid source URI 'platform:/resource/bpmn/process_1.bpmn' for parameter 'bpm'
Re: bpmn2uml [message #1715829 is a reply to message #1715825] Thu, 26 November 2015 13:23 Go to previous messageGo to next message
Srdjan Tica is currently offline Srdjan TicaFriend
Messages: 5
Registered: October 2015
Junior Member
I have also try:
packagedElement += self.allSubobjects()[Process]->map proToPack();

Re: bpmn2uml [message #1715839 is a reply to message #1715825] Thu, 26 November 2015 14:05 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 5891
Registered: July 2009
Senior Member
Hi

"Invalid source URI 'platform:/resource/bpmn/process_1.bpmn' for
parameter 'bpm'

looks like a bad model. Check that you can validate in the Sample
Reflective Ecore EDitir.

Regards

Ed Willink



On 26/11/2015 13:15, Srdjan Tica wrote:
> Thanks Denis, I already read those tutorials. this is my next problem:
> My transformation has next content:
> main() {
> bpm.rootObjects()[Definitions]->map defToModel();
> }
>
> mapping Definitions::defToModel() : Model
> {
>
> name := self.name;
> packagedElement += bpm.objects()[Process]->map proToPack();
> }
>
> mapping Process::proToPack() : Package
> {
> name := self.name; }
>
> This only work if content of bpmn diagram in text file is:
>
>
> <bpmn2:Definitions ... >
>
> </bpmn2:Definitions>
>
> if text file has more lines like <Process> and more, my transformation
> gives exception:
>
> Invalid source URI 'platform:/resource/bpmn/process_1.bpmn' for
> parameter 'bpm'
Re: bpmn2uml [message #1715842 is a reply to message #1715839] Thu, 26 November 2015 14:30 Go to previous messageGo to next message
Srdjan Tica is currently offline Srdjan TicaFriend
Messages: 5
Registered: October 2015
Junior Member
I can't validate model if i create Generic BPMN 2.0 Diagram, but i can if create BPMN2 Model. If i create bpmn2 model then i can't change definitions to Definitions and that i need to do because qvto transformation recognize only Definitions (with uppercase)
Re: bpmn2uml [message #1715843 is a reply to message #1715842] Thu, 26 November 2015 14:30 Go to previous message
Srdjan Tica is currently offline Srdjan TicaFriend
Messages: 5
Registered: October 2015
Junior Member
Thanks Ed
Previous Topic:Run multiple transformations in parallel
Next Topic:Implicit conversion of string literals into instances of custom data types
Goto Forum:
  


Current Time: Sat May 26 04:36:08 GMT 2018

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

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

Back to the top