Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » MDT (Model Development Tools) » [TCS] Immediate Composite Operation?(In ATL exists a function (refImmediateComposite()) that returns the immediate composite, so, Is there any operation like refImmediateComposite for TCS?)
[TCS] Immediate Composite Operation? [message #558971] Wed, 15 September 2010 04:10
Alvaro Jimenez Rielo is currently offline Alvaro Jimenez Rielo
Messages: 41
Registered: July 2009
Location: Rey Juan Carlos Universit...
Member
Hello,

In my TCS project, I have a metamodel (KM3) that contains this three classes:

class Root {
		attribute name[0-1] : String;
		reference from[0-1] container : FromElement;
		reference filter[0-1] container : Filter;
	}
class FromElement {
		attribute name[0-1] : String;
	}
class Filter {
		attribute expression : String;
	}


In this context, Filter syntax must be: "filter (" FromElement.name "):" expression

My problem is how navigate to Root from Filter. I know that I could create a opposite reference to 'reference filter'
but I wish not using this idea.

In ATL exists a function (refImmediateComposite()) that returns the immediate composite, so,
Is there any operation like refImmediateComposite for TCS?

Regards,
Álvaro

[Updated on: Wed, 15 September 2010 07:32]

Report message to a moderator

Previous Topic:[TCS] To invoke Inject from Java
Next Topic:[TCS] Immediate Composite Operation?
Goto Forum:
  


Current Time: Mon Apr 21 09:01:01 EDT 2014

Powered by FUDForum. Page generated in 0.01478 seconds