xPand and TaggedValues [message #655940] |
Wed, 23 February 2011 07:57  |
Eclipse User |
|
|
|
Hi together,
how can i read the tagged values in my templates.
My Uml looks like:
<MYDSL:BaseEntity xmi:id="_S-3Lnj9KEeCVJNzgZt5D1g" base_Class="{D4FC60F1-9EC4-4fca-8A5F-67DD4D6A3360}"/>
<MYDSL:BaseEntity xmi:id="_S-3Lnz9KEeCVJNzgZt5D1g" persistence=""persistent"" base_Class="{334D0B1E-F34D-4e13-B89D-4EE8C0A5C658}"/>
i have 1 entity with no tagged values and 1 entity with a tagged value persistence.
Now i tried to print the Attribute, but nothing happened.
«FOREACH this.getAllAttributes().typeSelect(MYDSL::BaseEntity) AS attr»
//«attr.name»
//«attr.persistence»
«ENDFOREACH»
[Updated on: Wed, 23 February 2011 07:58] by Moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03523 seconds