|Navigation of ref'd associations [message #588909]
||Fri, 07 May 2010 10:28
Originally posted by: c.k.holmes.lboro.ac.uk|
I have two metamodels, defined in separate folders (one Emfatic file in
each folder). Metamodel A has a class Foo that has a 'ref' association
with a class Bar in metamodel B. A model based on metamodel B is
generated first (using ETL) and then a model based on metamodel A is
generated (again using ETL). I can bind class Foo to class Bar via:
foo : A.Foo
bar : B.Bar
foo.barAtt := bar
When I open the model based on metamodel A with the Exeed editor and
navigate down to foo (an instance of metaclass Foo), I can see the
attribute barAtt and it's associated value (which, in this case, appears
to have been generated using the value of the name attribute of the
class - i.e. an attribute I declared on the metaclass).
However, if I try to navigate to the attribute Bar.name via:
I receive an error to the effect that the property 'name' is not found.
It appears that Exeed is able to navigate the association, how can I do
this from within EOL/ETL? I don't want to add a 'val' to Foo within
metamodel B because that would introduce a circularity.
Powered by FUDForum
. Page generated in 0.02088 seconds