Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » GMT (Generative Modeling Technologies) » [TCS] Serializing elements with "complex" references
[TCS] Serializing elements with "complex" references [message #617729] Thu, 29 May 2008 16:08
Eclipse UserFriend
Originally posted by: rivera.lcc.uma.es

Hi all,

I'm using TCS and I need to serialize elements with complex references.
Not to complicate it more with my metamodel, I would introduce what I
want to do with the KM3 metamodel example.

Suppose that when serializing a KM3 reference, I would like to print all
the names of its containing class supertypes. I would like to do
something like that(last line):

template Reference addToContext:
"reference" name $multiplicity (isContainer? "container")
":" type{refersTo= name, autoCreate= never}
(isDefined(opposite) ? "oppositeOf" opposite{refersTo= name, lookIn=
type, autoCreate= never})
owner.superTypes{refersTo = name, separator = ","} ";";

But TCS does not allow me (i can not use the dot (owner.superTypes) as I
expected). Is there any way to handle it?

Thanks in advance,
Jose E. Rivera
Previous Topic:[TCS] Serializing elements with "complex" references
Next Topic:problem with AM3 plugins
Goto Forum:
  


Current Time: Thu Apr 25 21:25:49 GMT 2024

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

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

Back to the top