Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [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 #559032] Wed, 15 September 2010 11:31
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:[ATL] Getting rubbish except of element's attributes
Next Topic: KM3 model
Goto Forum:
  


Current Time: Thu Apr 25 22:24:37 GMT 2024

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

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

Back to the top