Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » MDT (Model Development Tools) » [TCS] Immediate Composite Operation?
[TCS] Immediate Composite Operation? [message #606569] 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 some opcion like refImmediateComposite for TCS?

Regards,
Álvaro
Previous Topic:[TCS] Immediate Composite Operation?
Next Topic:[Announce] Provisioning of Sphinx has been started
Goto Forum:
  


Current Time: Sat Aug 30 20:31:56 EDT 2014

Powered by FUDForum. Page generated in 0.01452 seconds