Skip to main content



      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 19:31 Go to next message
Eclipse UserFriend
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 02:21 Go to previous message
Eclipse UserFriend
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: Sat Apr 26 11:46:28 EDT 2025

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

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

Back to the top