|how to get DataType values in Acceleo [message #1760353]
||Wed, 26 April 2017 09:09
| sana sana
Registered: April 2017
I'm triyng to code a M2T which has a model+profile UML as input and generate java classes as output, in Acceleo.
I have a problem to manipulate a DAtaType.
iIn my profile, i have a stereotype "str" applied to a Property "P", in which there are an enumeration "enum" -->E1, E2, and a dataType "DT" -->L1:bool; L2:bool; L3:string.
In my generate.mtl file, I know how to get the enumeration Literal value; like this:
[for (sp : Stereotype | p.getAppliedStereotypes())]
I cannot do the same thing for the dataType "DT"
I need to get the value of DT-->L1.
Can Someone help me please ?
Powered by FUDForum
. Page generated in 0.03070 seconds