org.eclipse.ocl.ecore
Interface EvaluationEnvironmentWithHiddenOpposites

All Known Implementing Classes:
EcoreEvaluationEnvironment, EcoreEvaluationEnvironmentWithScopedExtentMap, PartialEcoreEvaluationEnvironment

public interface EvaluationEnvironmentWithHiddenOpposites

Introduces the #navigateOppositeProperty(P, Object) method to AbstractEvaluationEnvironment which implements this interface.

Since:
3.1
Author:
Axel Uhl

Method Summary
 java.lang.Object navigateOppositeProperty(org.eclipse.emf.ecore.EReference property, java.lang.Object source)
          Obtains the value of the specified operation, for the given source element, according to the particular metamodel semantics.
 

Method Detail

navigateOppositeProperty

java.lang.Object navigateOppositeProperty(org.eclipse.emf.ecore.EReference property,
                                          java.lang.Object source)
                                          throws java.lang.IllegalArgumentException
Obtains the value of the specified operation, for the given source element, according to the particular metamodel semantics.

Parameters:
property - the property to navigate in reverse direction
source - the source element from where to start navigating / querying
Returns:
the property value
Throws:
java.lang.IllegalArgumentException - if the property is not supported by the element or by this environment
Since:
3.0