| 
| [ATL]Problem with entry metamodel that it has hierarchy [message #89534] | Mon, 01 September 2008 08:42 |  | 
| Eclipse User  |  |  |  |  | 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
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.03310 seconds