Check opaque behavior in Acceleo

135 Views Asked by At

I need to Check if an Element is an opaque behavior. How I can do that?

Thank you

1

There are 1 best solutions below

0
On

If an "Opaque Behavior" is a type, you can use plain OCL :

element.oclIsKindOf(OpaqueBehavior)