Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » Test if an attribute have a default value
Test if an attribute have a default value [message #1786208] Thu, 26 April 2018 23:31 Go to next message
Emilie  Lanau is currently offline Emilie LanauFriend
Messages: 21
Registered: February 2018
Junior Member
i want to check if an attribute have a default value
i tried this but it doesn't work
[if (class.attribute.getDefault()->notEmpty())]
Re: Test if an attribute have a default value [message #1786220 is a reply to message #1786208] Fri, 27 April 2018 06:21 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7627
Registered: July 2009
Senior Member
Hi

"it doesn't work" is always a really bad way to describe a problem.

Not knowing what your metamodel is makes it very difficult to work out what should work. It looks a bit like UML but there are too many typos for that.

Regards

Ed Willink
Previous Topic: Import data to acceleo project
Next Topic:Acceleo transformation
Goto Forum:
  


Current Time: Mon Oct 02 12:56:05 GMT 2023

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

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

Back to the top