[ATL] references between in and out models [message #78856] |
Fri, 11 April 2008 04:20  |
Eclipse User |
|
|
|
Hi,
my problem is:
I have 2 metamodels (catalogMM and configurationMM) and I want to
transform a model of first one to the second one. Problem is that I have a
reference in second metamodel to an object of first one:
CatalogMM has an element Catalog.
ConfigurationMM has an element Configuration which has a reference
(catalog) to the element Catalog of CatalogMM.
The transformation between elements could be like this:
rule Catalog2Configuration {
from
i : CATALOG!Catalog
to
o : CONFIGURATION!Configuration (
name <- 'Transformation UML2DB',
catalog <- i
)
}
It transforms without problems but when I open out model, the reference
hasn't value.
I have done 2 models as example and I have realized that this reference is
represented with href that contains a ref to the first model.
How can I solve this ?¿
Thanks.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03714 seconds