Skip to main content


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: 82
Registered: June 2012
Member
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?

Even
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: Thu Apr 25 09:15:40 GMT 2024

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

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

Back to the top