Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » Determine if an unsettable attribute 'isSet'
Determine if an unsettable attribute 'isSet' [message #902958] Tue, 21 August 2012 12:12
Gunnar Arndt is currently offline Gunnar ArndtFriend
Messages: 62
Registered: June 2012
In a class of an Ecore model I'm using, there is an unsettable boolean attribute literalValue, i.e. there is an additional boolean attribute literalValueESet in the implementation, and interface methods isSetLiteralValue() and unsetLiteralValue().

Now, I'm trying to find a way in ATL to query if literalValue is set or unset. Do you have any idea how to do that?

source->refInvokeOperation('isSetLiteralValue', Sequence{})
fails with the message
Operation isSetLiteralValue not found on (the concerned EObject)
, but probably, there is an immediate 'ATL' way to query that attribute?
Thanks for your help.
Previous Topic:GMF Transformation
Next Topic:EBoolean
Goto Forum:

Current Time: Fri Apr 20 09:11:05 GMT 2018

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

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