How can I access all instances of an association with an OCL expression.
Suppose I have an association name in a variable named refName, which is the name of an association from class A to class B. For a given instance of A (say a) how can I access the value of refName which would be apparently SET(B)?
Note that refName is not the name of the association, but a variable which its value is the name of the association! So, a.refName is not working!
Thanks