On 14 Dec 2007, at 14:04 , Toon Verwaest wrote:
@adrian
I was just checking your fm3.mse file... first of all; all files
should
end in a newline so maybe you want your endDocument to print a newline
at the end...
Whitespace is to be ignored.
Then I see that for opposites you do not specify
derived anymore
either?
Thats already good.
The container property you have, that is for identifying back links
right? If so... aren't all One's of a One->Many relationship back
links?
Does anybody know of a metamodel where this is not the case? If
not ...
maybe we could throw that out and infer this too?
There are many, see our discussion
Not convinced... as is obvious.
If you really only want 1 tree... maybe you can remove container and
replace it by:
(FM3.Class (name "File")
(thatsuperspecialtypeIwanttobetheonlytreetobeusedbyprogramsthatonlywantonetree
(ref-to: Folder))..)
which automatically finds which of the One-to-Many attributes links to
Folders.