|[ATL] How to know if an attribute is cross reference. [message #70209]
||Sat, 22 December 2007 20:09
Originally posted by: guo.mci.sdu.dk|
My target and source meta models are built in ECORE of EMF.
In the source model, there is one attribute can either use a reference
that built in the same model, or use a cross reference that built in an
How can I know if the attribute is cross reference or internal
reference? Is there any function I can use?
I want to use this information when generating the target model.
If the attribute is NOT a cross reference, I will just copy the
attribute reference to the target.
But if it is a cross reference, I will first read the referenced model,
create this model inside the target, and then set the attribute to the
new created model.
It means that I don't use any cross reference in my target model, by
creating any cross referred model inside the target model.
Powered by FUDForum
. Page generated in 0.02069 seconds