Modifier and Type | Method and Description |
---|---|
EvaluationEnvironment |
EnvironmentFactory.createEvaluationEnvironment()
Creates a new evaluation environment to track the values of variables in
an OCL expression as it is evaluated.
|
EvaluationEnvironment |
EnvironmentFactory.createEvaluationEnvironment(EvaluationEnvironment parent)
Creates a new evaluation environment as a nested environment of the
specified parent.
|
EvaluationEnvironment |
OCL.getEvaluationEnvironment()
Obtains the OCL evaluation environment.
|
EvaluationEnvironment |
Query.getEvaluationEnvironment()
Obtains the evaluation environment that I use to evaluate OCL expressions.
|
Modifier and Type | Method and Description |
---|---|
EvaluationEnvironment |
EnvironmentFactory.createEvaluationEnvironment(EvaluationEnvironment parent)
Creates a new evaluation environment as a nested environment of the
specified parent.
|
EvaluationVisitor |
AbstractEnvironmentFactory.createEvaluationVisitor(Environment env,
EvaluationEnvironment evalEnv,
DomainModelManager modelManager) |
EvaluationVisitor |
EnvironmentFactory.createEvaluationVisitor(Environment env,
EvaluationEnvironment evalEnv,
DomainModelManager modelManager)
Creates a new evaluation visitor, for the evaluation of OCL expressions.
|
static <T> T |
OCLUtil.getAdapter(EvaluationEnvironment env,
java.lang.Class<T> adapterType)
Obtains an adapter for the specified interface type, if the evaluation
environment is
Adaptable to it. |
Modifier and Type | Method and Description |
---|---|
EvaluationEnvironment |
OCLValidationDelegate.createEvaluationEnvironment(java.lang.Object object,
ExpressionInOCL query,
EnvironmentFactory environmentFactory) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractEvaluationEnvironment
A partial implementation of the
EvaluationEnvironment interface,
providing some useful common behaviors. |
class |
PivotEvaluationEnvironment
Implementation of the
EvaluationEnvironment for evaluation of OCL
expressions on instances of Ecore models (i.e., on M0 models). |
Modifier and Type | Field and Description |
---|---|
protected EvaluationEnvironment |
AbstractEvaluationVisitor.evaluationEnvironment |
Modifier and Type | Method and Description |
---|---|
EvaluationEnvironment |
AbstractEvaluationVisitor.getEvaluationEnvironment() |
EvaluationEnvironment |
AbstractEvaluationVisitorDecorator.getEvaluationEnvironment()
Obtains my delegate's evaluation environment.
|
EvaluationEnvironment |
EvaluationVisitor.getEvaluationEnvironment()
Obtains the evaluation environment that keeps track of variable values
and knows how to call operations, navigate properties, etc.
|
Constructor and Description |
---|
AbstractEvaluationEnvironment(EvaluationEnvironment parent) |
AbstractEvaluationVisitor(Environment env,
EvaluationEnvironment evalEnv,
DomainModelManager modelManager)
Initializes me.
|
EvaluationVisitorImpl(Environment env,
EvaluationEnvironment evalEnv,
DomainModelManager modelManager)
Constructor
|
PivotEvaluationEnvironment(EvaluationEnvironment parent)
Initializes me with my parent evaluation environment (nesting scope).
|
Modifier and Type | Method and Description |
---|---|
static <T> T |
EvaluationOptions.getValue(EvaluationEnvironment env,
Option<T> option)
Obtains the value of the specified option's setting in the the given
environment's options map, adapting the environment as necessary to the
Customizable API. |
static <T> void |
EvaluationOptions.setOption(EvaluationEnvironment env,
Option<T> option,
T value)
Add an option to apply to the specified environment, adapting it as
necessary to the
Customizable API. |
Modifier and Type | Method and Description |
---|---|
EvaluationEnvironment |
QueryImpl.getEvaluationEnvironment() |
Modifier and Type | Method and Description |
---|---|
PivotEvaluationEnvironment |
PivotEnvironmentFactory.createEvaluationEnvironment(EvaluationEnvironment parent) |
Constructor and Description |
---|
OCLConsolePage.CancelableEvaluationVisitor(org.eclipse.core.runtime.IProgressMonitor monitor,
Environment env,
EvaluationEnvironment evalEnv,
DomainModelManager modelManager) |