Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] condition in source pattern
[ATL] condition in source pattern [message #94345] Mon, 03 November 2008 10:05
Miguel Llàcer San Fernando is currently offline Miguel Llàcer San FernandoFriend
Messages: 63
Registered: July 2009

I'm using a list in condition of called rules that contains elements which
type is like the source pattern, that is:

rule SomeGateways2UseCase {
i:BPMN!Activity (thisModule.gatewayList.includes(i) = false)

but when transformation is executed, it seems like list is empty !!!

INFO: Execute rule: SomeGateways2UseCase IN!Gateway6
INFO: gatewayList: Sequence {}
INFO: gatewayList: Sequence {IN!Gateway6, IN!Gateway7}
INFO: Execute rule: SomeGateways2UseCase IN!Gateway7
INFO: gatewayList: Sequence {IN!Gateway6, IN!Gateway7}
INFO: gatewayList: Sequence {IN!Gateway6, IN!Gateway7, IN!Gateway7}

As we can see, list has values when second time SomeGateways2UseCase rule
is executed but it seems as list was empty !!!

The problem is that i can't use a list in condition of atl rule ?¿?
Previous Topic:[ATL] Transformation of Petri nets models
Next Topic:[ATL ]Generating an EReference (containment = false)
Goto Forum:

Current Time: Sun Sep 24 22:01:22 GMT 2023

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

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

Back to the top