I have been using OCL to query all EMF models in my system. I ran into an
issue when I tried to query models with AnyTypeImpl. Its interface, AnyType,
is defined in com.eclipse.emf.ecore.xml.type. AnyType contains some feature
maps.
public interface AnyType extends EObject {
FeatureMap getMixed();
...
My problem is that I cannot query the contents of the FeatureMap with OCL.
Assuming self == the AnyType instance
self.mixed.<something in FeatureMap> does not seem to work. For every
feature name in the FeatureMap I give it it complains about an unrecognized
variable. self.mixed returns the featureMap, however.
Is query FeatureMaps supported as they are defined here? If yes, how should
the OCL look?