public class EcoreEnvironmentFactoryWithScopedExtentMap extends EcoreEnvironmentFactoryWithHiddenOpposites
OppositeEndFinder in addition to the default parameterization of the
package EPackage.Registry. If no OppositeEndFinder is provided to
the constructor, a DefaultOppositeEndFinder instance is used.INSTANCE| Constructor and Description |
|---|
EcoreEnvironmentFactoryWithScopedExtentMap()
Initializes me.
|
EcoreEnvironmentFactoryWithScopedExtentMap(org.eclipse.emf.ecore.EPackage.Registry reg)
Initializes me with an
EPackage.Registry that the environments I create will use to look up
packages. |
EcoreEnvironmentFactoryWithScopedExtentMap(org.eclipse.emf.ecore.EPackage.Registry reg,
OppositeEndFinder oppositeEndFinder)
Configures both, a specific package registry as well as a dedicated opposite end finder to be used
by the OCL environment created by this factory.
|
EcoreEnvironmentFactoryWithScopedExtentMap(OppositeEndFinder oppositeEndFinder)
Initializes me with the default
EPackage.Registry that the environments I create will use to look up
packages. |
| Modifier and Type | Method and Description |
|---|---|
EvaluationEnvironment<org.eclipse.emf.ecore.EClassifier,org.eclipse.emf.ecore.EOperation,org.eclipse.emf.ecore.EStructuralFeature,org.eclipse.emf.ecore.EClass,org.eclipse.emf.ecore.EObject> |
createEvaluationEnvironment()
Creates a new evaluation environment to track the values of variables in
an OCL expression as it is evaluated.
|
createOppositeEndFindercreateEnvironment, createEnvironment, createEvaluationEnvironment, createEvaluationVisitor, createOCLAnalyzer, createOCLAnalyzer, createOCLFactoryWithHistory, createOCLSyntaxHelper, createValidationVisitor, getClassifier, getEPackageRegistry, getOppositeEndFinder, loadEnvironment, lookupPackagecreateAttributeContext, createClassifierContext, createInstanceContext, createOperationContext, createPackageContext, createPackageContext, getAdapter, isEvaluationTracingEnabled, setEvaluationTracingEnabledpublic EcoreEnvironmentFactoryWithScopedExtentMap()
DefaultOppositeEndFinder.getInstance() as opposite end finder.public EcoreEnvironmentFactoryWithScopedExtentMap(org.eclipse.emf.ecore.EPackage.Registry reg)
EPackage.Registry that the environments I create will use to look up
packages. A new DefaultOppositeEndFinder object is created for the specific package registry
provided as reg.reg - my package registry (must not be null)public EcoreEnvironmentFactoryWithScopedExtentMap(OppositeEndFinder oppositeEndFinder)
EPackage.Registry that the environments I create will use to look up
packages. The OppositeEndFinder object specified is used. Callers should ensure that the
oppositeEndFinder is consistent with the default EPackage.Registry. Otherwise,
use #EcoreEnvironmentFactoryWithScopedExtentMap(Registry, OppositeEndFinder) and specify the
particular package registry used by your opposite end finder.public EcoreEnvironmentFactoryWithScopedExtentMap(org.eclipse.emf.ecore.EPackage.Registry reg,
OppositeEndFinder oppositeEndFinder)
public EvaluationEnvironment<org.eclipse.emf.ecore.EClassifier,org.eclipse.emf.ecore.EOperation,org.eclipse.emf.ecore.EStructuralFeature,org.eclipse.emf.ecore.EClass,org.eclipse.emf.ecore.EObject> createEvaluationEnvironment()
EnvironmentFactorycreateEvaluationEnvironment in interface EnvironmentFactory<org.eclipse.emf.ecore.EPackage,org.eclipse.emf.ecore.EClassifier,org.eclipse.emf.ecore.EOperation,org.eclipse.emf.ecore.EStructuralFeature,org.eclipse.emf.ecore.EEnumLiteral,org.eclipse.emf.ecore.EParameter,org.eclipse.emf.ecore.EObject,CallOperationAction,SendSignalAction,Constraint,org.eclipse.emf.ecore.EClass,org.eclipse.emf.ecore.EObject>createEvaluationEnvironment in class EcoreEnvironmentFactory