[TCS] Immediate Composite Operation? [message #606569] |
Wed, 15 September 2010 04:10 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03131 seconds