Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » how to define rules with unique outputs?
how to define rules with unique outputs? [message #1794859] Sat, 08 September 2018 21:24 Go to next message
Faezeh Khorram is currently offline Faezeh KhorramFriend
Messages: 6
Registered: September 2018
Junior Member
I am working on transformation from BPMN to Class diagram
I need to transform a Sequence flow of BPMN to a Dependency of Class diagram.
the problem is that there are repetitive outputs. I want to define to produce Dependency If and only if there is no Dependency with the same source and target.
here is my rule:
rule seqFlow2dependency{
from
seqflow: BPMN!SequenceFlow (seqflow.sequenceFlowContext='outer')
to
dependency: UMLclassDiagram!Dependency(source <- seqflow.ownerElement.performerLane,
target <- seqflow.target.performerLane,
package <- seqflow.ownerElement.performerLane.ownerPool.ownerBP)
}
Re: how to define rules with unique outputs? [message #1798451 is a reply to message #1794859] Mon, 19 November 2018 10:57 Go to previous message
Dennis Wagelaar is currently offline Dennis WagelaarFriend
Messages: 589
Registered: September 2012
Location: Belgium
Senior Member

If there are multiple input SequenceFlows that should be mapped to the same Dependency element, you can use the Canonic element design pattern to group the input elements together.

Cheers,
Dennis
Previous Topic:Using profiles as Metamodels in ATL EMFTVM
Next Topic:[EMFTVM] Multi-valued field
Goto Forum:
  


Current Time: Sat Apr 20 02:52:50 GMT 2024

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

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

Back to the top