Skip to main content



      Home
Home » Modeling » QVT-Relations » objectsOfType don`t return correct results
objectsOfType don`t return correct results [message #1027886] Wed, 27 March 2013 10:50 Go to next message
Eclipse UserFriend
Hi,

I'm trying to transform an xmi generated by a metamodel BPMN2 for UML.
My xmi is this:

<?xml version="1.0" encoding="UTF-8"?>
<bpmn2:definitions id="_jHcJkJbYEeK-lqhUdtAOXA">
<bpmn2:process id="_qhSsAJbYEeK-lqhUdtAOXA">
<bpmn2:laneSet id="_qhSsAZbYEeK-lqhUdtAOXA">
<bpmn2:lane id="_qhTTEJbYEeK-lqhUdtAOXA"/>
<bpmn2:lane id="_qhTTEZbYEeK-lqhUdtAOXA"/>
</bpmn2:laneSet>
</bpmn2:process>
</bpmn2:definitions>

My qvto is this:

transformation BPMN2UMLTransformation(in bpmn:BPMN, out uml:UML);

mapping Lane::LaneToActor():Actor
{

}

main() {

bpmn.objectsOfType(Lane)-> map LaneToActor();
}

But, bpmn.objectsOfType(Lane) don't return the correct result.

Can anyone help me?

Thanks
Re: objectsOfType don`t return correct results [message #1028708 is a reply to message #1027886] Thu, 28 March 2013 12:33 Go to previous message
Eclipse UserFriend
Hi

You should ask QVTo questions on the QVTo newsgroup.

QVTo provides a debugger that enables you to single step and so solve
such 'impossible' problems.

Regards

Ed Willink


On 28/03/2013 16:05, Angel Johnson wrote:
> Hi,
>
> I'm trying to transform an xmi generated by a metamodel BPMN2 for UML.
> My xmi is this:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <bpmn2:definitions id="_jHcJkJbYEeK-lqhUdtAOXA">
> <bpmn2:process id="_qhSsAJbYEeK-lqhUdtAOXA">
> <bpmn2:laneSet id="_qhSsAZbYEeK-lqhUdtAOXA">
> <bpmn2:lane id="_qhTTEJbYEeK-lqhUdtAOXA"/>
> <bpmn2:lane id="_qhTTEZbYEeK-lqhUdtAOXA"/>
> </bpmn2:laneSet>
> </bpmn2:process>
> </bpmn2:definitions>
>
> My qvto is this:
>
> transformation BPMN2UMLTransformation(in bpmn:BPMN, out uml:UML);
>
> mapping Lane::LaneToActor():Actor
> {
>
> }
>
> main() {
>
> bpmn.objectsOfType(Lane)-> map LaneToActor();
> }
>
> But, bpmn.objectsOfType(Lane) don't return the correct result.
>
> Can anyone help me?
>
> Thanks
Previous Topic:[help]QVTd as a parser in a standalone application
Next Topic:[Announce] Eclipse QVTd 0.10.0 (Kepler) RC1 is now available
Goto Forum:
  


Current Time: Thu Mar 27 01:07:15 EDT 2025

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

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

Back to the top