Skip to main content



      Home
Home » Archived » M2M (model-to-model transformation) » [ATL]Problem with entry metamodel that it has hierarchy
[ATL]Problem with entry metamodel that it has hierarchy [message #89534] Mon, 01 September 2008 08:42
Eclipse UserFriend
Hello,

I have the next hierarchy:
Key (Granparent)
AlternateKey, ForeignKey and InversionEntry (All are children of Key)
PrimaryKey (It is child of AlternaKey)

And in one rule I want to go to PrimaryKey and in other go to
ForeignKey.My rules are:

rule PrimaryKey2ClavePrimaria
{
from
source: logical!PrimaryKey
to
target:MCD_MetaModel!ClavePrimaria
(
atributo<-source.attributes, entidad<-source.entity
)
}

rule ForeignKey2ClavePrimaria
{
from
source: logical!ForeignKey
....
}

But when I went to run, The rule doesn't execute.

But if I put his parent, the execution is correct:
rule PrimaryKey2ClavePrimaria
{
from
source: logical!AlternateKey (parent of Primary Key)
......
}

rule ForeignKey2ClavePrimaria
{
from
source: logical!Key (parent of Foreign key)
......
}

Can you help me?, Why do it happen?

Thank you
Previous Topic:[ATL]
Next Topic:[ATL] ATL Transformation Zoo
Goto Forum:
  


Current Time: Wed Apr 16 03:57:32 EDT 2025

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

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

Back to the top