Book a Demo

Author Topic: Get FQN from GUID in code generation phase  (Read 2939 times)

David Kadlecek

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Get FQN from GUID in code generation phase
« on: November 17, 2009, 09:20:59 pm »
Hi,
I have defined custom tag:
MyTag:
Type=RefGUID;
Values=Attribute;
Stereotypes=MyStereotype;

that allows selection of attributes having stereotype <<MyStereotype>>

During code generation I use the  snippet %classTag:"MyTag"% to get GUID of the selected attribute. Is it possible to translate the GUID to the fully qualified name of the attribute - e.g. "com.bla.MyClass.myAttribute"? Am I missing something in the field substitution macros or I need to use EA_Addin? I don't want to do model transformation at this stage.

Regards David