Skip to main content



      Home
Home » Archived » M2M (model-to-model transformation) » How to handle references?
How to handle references? [message #724498] Mon, 12 September 2011 09:30
Eclipse UserFriend
Hi again, I have a relationship linked to a class, which must be unique. Once it is created in a rule, I'd like to access this instance from other rules...I thought thisModule.resolveTemp() could do the trick, but it doesn't.

For instance, I have this configuration :

rule anyrule2anything {

transf:Target!ClassA
      is_linked_to <- inst

inst:Target!ClassB (
      something <- source.something
}


inst is called just once, ClassB is unique. How can I call this class later from another rule ? Target!ClassB doesn't seem to work...

besides...on every matched rule, I can specify a condition, it works. As soon I try to do so in a lazy rule, the condition is not taken into account. Is this normal or is this a bug ?

I don't know if I expressed my proble in the right terms...thanks for your advices and your help

[Updated on: Mon, 12 September 2011 10:45] by Moderator

Previous Topic:Arguments with called rules
Next Topic:[QVT] Adding element to feature
Goto Forum:
  


Current Time: Sun Jul 13 18:00:55 EDT 2025

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

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

Back to the top