Community
Participate
Working Groups
COPE provides the method Metamodel.setEOpposite that automatically sets the opposite in models. This method is used in the operation Create Reference to set the opposite. However, the operation does not work correctly when applied to models, leading to a validation error.
The references need to be passed in a certain order so that the opposite is correctly set: first the reference already available and then the reference for which values need to be added to the model. However, this was not performed correctly in the operation Create Reference.