Skip to main content



      Home
Home » Modeling » ATL » Determine if an unsettable attribute 'isSet'
Determine if an unsettable attribute 'isSet' [message #902958] Tue, 21 August 2012 08:12
Eclipse UserFriend
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: Fri Jul 04 15:05:51 EDT 2025

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

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

Back to the top