Skip to main content


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 08:10
Alvaro Jimenez Rielo is currently offline Alvaro Jimenez RieloFriend
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 11:32]

Report message to a moderator

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


Current Time: Thu Apr 25 23:54:19 GMT 2024

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

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

Back to the top