| Package | Description |
|---|---|
| org.eclipse.ocl |
Definition of the extensible environment API for OCL parsing and evaluation.
|
| org.eclipse.ocl.internal.evaluation | |
| org.eclipse.ocl.options | |
| org.eclipse.ocl.util |
Miscellaneous utilities in support of the OCL parser and environment
implementations.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractEvaluationEnvironment<C,O,P,CLS,E>
A partial implementation of the
EvaluationEnvironment interface,
providing some useful common behaviors. |
| Modifier and Type | Method and Description |
|---|---|
EvaluationEnvironment<C,O,P,CLS,E> |
EnvironmentFactory.createEvaluationEnvironment()
Creates a new evaluation environment to track the values of variables in
an OCL expression as it is evaluated.
|
EvaluationEnvironment<C,O,P,CLS,E> |
EnvironmentFactory.createEvaluationEnvironment(EvaluationEnvironment<C,O,P,CLS,E> parent)
Creates a new evaluation environment as a nested environment of the
specified parent.
|
EvaluationEnvironment<C,O,P,CLS,E> |
AbstractEvaluationVisitor.getEvaluationEnvironment() |
EvaluationEnvironment<C,O,P,CLS,E> |
EvaluationVisitor.getEvaluationEnvironment()
Obtains the evaluation environment that keeps track of variable values
and knows how to call operations, navigate properties, etc.
|
EvaluationEnvironment<C,O,P,CLS,E> |
EvaluationVisitorDecorator.getEvaluationEnvironment()
Obtains my delegate's evaluation environment.
|
EvaluationEnvironment<C,O,P,CLS,E> |
OCL.getEvaluationEnvironment()
Obtains the OCL evaluation environment.
|
EvaluationEnvironment<C,?,?,CLS,E> |
Query.getEvaluationEnvironment()
Obtains the evaluation environment that I use to evaluate OCL expressions.
|
protected EvaluationEnvironment<C,O,P,CLS,E> |
AbstractEvaluationEnvironment.getParent()
Obtains my parent (nesting) environment.
|
| Modifier and Type | Method and Description |
|---|---|
EvaluationEnvironment<C,O,P,CLS,E> |
EnvironmentFactory.createEvaluationEnvironment(EvaluationEnvironment<C,O,P,CLS,E> parent)
Creates a new evaluation environment as a nested environment of the
specified parent.
|
EvaluationVisitor<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> |
AbstractEnvironmentFactory.createEvaluationVisitor(Environment<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> env,
EvaluationEnvironment<C,O,P,CLS,E> evalEnv,
Map<? extends CLS,? extends Set<? extends E>> extentMap) |
EvaluationVisitor<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> |
EnvironmentFactory.createEvaluationVisitor(Environment<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> env,
EvaluationEnvironment<C,O,P,CLS,E> evalEnv,
Map<? extends CLS,? extends Set<? extends E>> extentMap)
Creates a new evaluation visitor, for the evaluation of OCL expressions.
|
protected void |
AbstractEvaluationVisitor.setEvaluationEnvironment(EvaluationEnvironment<C,O,P,CLS,E> evaluationEnvironment)
Sets the evaluation environment to be used by this visitor during
evaluation.
|
| Constructor and Description |
|---|
AbstractEvaluationEnvironment(EvaluationEnvironment<C,O,P,CLS,E> parent) |
AbstractEvaluationVisitor(Environment<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> env,
EvaluationEnvironment<C,O,P,CLS,E> evalEnv,
Map<? extends CLS,? extends Set<? extends E>> extentMap)
Initializes me.
|
EvaluationVisitorImpl(Environment<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> env,
EvaluationEnvironment<C,O,P,CLS,E> evalEnv,
Map<? extends CLS,? extends Set<? extends E>> extentMap)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
EvaluationEnvironment<C,O,P,CLS,E> |
IterationTemplate.getEvalEnvironment() |
EvaluationEnvironment<C,O,P,CLS,E> |
QueryImpl.getEvaluationEnvironment() |
| 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 |
|---|---|
static <T> T |
OCLUtil.getAdapter(EvaluationEnvironment<?,?,?,?,?> env,
Class<T> adapterType)
Obtains an adapter for the specified interface type, if the evaluation
environment is
Adaptable to it. |
static <PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> |
CollectionUtil.product(EvaluationEnvironment<C,O,P,CLS,E> evalEnv,
Environment<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> env,
Collection<?> self,
Collection<?> c,
C tupleType)
Implementation of the OCL
Collection::product(c : Collection(T2)) : Set(Tuple(first : T, second : T2))
operations.
|
Copyright © 2015 Open eHealth Foundation. All rights reserved.