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 08:12
Gunnar Arndt is currently offline Gunnar Arndt
Messages: 57
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: Sat Aug 30 18:36:15 EDT 2014

Powered by FUDForum. Page generated in 0.07123 seconds