Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » how to get DataType values in Acceleo
how to get DataType values in Acceleo [message #1760353] Wed, 26 April 2017 09:09 Go to next message
sana sana is currently offline sana sanaFriend
Messages: 6
Registered: April 2017
Junior Member
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 ?
Re: how to get DataType values in Acceleo [message #1760378 is a reply to message #1760353] Wed, 26 April 2017 14:11 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 31917
Registered: July 2009
Senior Member
The Acceleo home page has a link to the forum you should use for asking questions about Acceleo:

Ed Merks
Professional Support:
Previous Topic:Check for Updates
Next Topic:Problem installing/updating GNU ARM plugin
Goto Forum:

Current Time: Wed Jun 23 10:10:35 GMT 2021

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

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

Back to the top