Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Ecore Tools » [Texo] Possibility to suppress generating of getter/setter
[Texo] Possibility to suppress generating of getter/setter [message #1719506] Fri, 08 January 2016 13:21 Go to next message
Sebastian Struckmann is currently offline Sebastian StruckmannFriend
Messages: 18
Registered: October 2013
Junior Member
does anybody know whether there is a possibility to suppress the generating of the getter and/or setter of an attribute in Texo? It seems to me, that the EMF-way via "suppressedSetVisibility" does not work.

Best regards,
Re: [Texo] Possibility to suppress generating of getter/setter [message #1720780 is a reply to message #1719506] Wed, 20 January 2016 22:43 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hi Sebastian,
Hmm strange I did not get a notification of this post in my email. In any case this is currently not supported but should be doable and interesting. The one thing is how to specify that you want the setter/getter be suppressed. EMF has the concept of a genmodel, Texo uses annotationmodel. It seems logical to do this in the annotationmodel, but if there is extendedmetadata in the ecore which reflects the same then that can be used to.

Do you have an example of this? (suppressedsetvisibility as extendedmetadata), not even sure if it is even a standard EMF approach?

gr. Martin
Previous Topic:How to use compile-time annotations in ECore model without introducing runtime dependency
Next Topic:Renaming and regeneration?
Goto Forum:

Current Time: Thu Feb 25 08:38:45 GMT 2021

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

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

Back to the top