Package | Description |
---|---|
org.eclipse.ocl |
Definition of the extensible environment API for OCL parsing and evaluation.
|
org.eclipse.ocl.ecore |
Implementation of an OCL binding for the Ecore metamodel.
|
org.eclipse.ocl.internal.evaluation | |
org.eclipse.ocl.options | |
org.eclipse.ocl.uml |
Implementation of an OCL binding for the UML metamodel.
|
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> |
OCL.getEvaluationEnvironment()
Obtains the OCL evaluation environment.
|
EvaluationEnvironment<C,O,P,CLS,E> |
EvaluationVisitorDecorator.getEvaluationEnvironment()
Obtains my delegate's evaluation environment.
|
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,?,?,CLS,E> |
Query.getEvaluationEnvironment()
Obtains the evaluation environment that I use to evaluate OCL expressions.
|
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> |
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.
|
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) |
Constructor and Description |
---|
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 | Class and Description |
---|---|
class |
EcoreEvaluationEnvironment
Implementation of the
EvaluationEnvironment for evaluation of OCL
expressions on instances of Ecore models (i.e., on M0 models). |
Modifier and Type | Method and Description |
---|---|
EvaluationEnvironment<EClassifier,EOperation,EStructuralFeature,EClass,EObject> |
EcoreEnvironmentFactory.createEvaluationEnvironment() |
EvaluationEnvironment<EClassifier,EOperation,EStructuralFeature,EClass,EObject> |
EcoreEnvironmentFactory.createEvaluationEnvironment(EvaluationEnvironment<EClassifier,EOperation,EStructuralFeature,EClass,EObject> parent) |
Modifier and Type | Method and Description |
---|---|
EvaluationEnvironment<EClassifier,EOperation,EStructuralFeature,EClass,EObject> |
EcoreEnvironmentFactory.createEvaluationEnvironment(EvaluationEnvironment<EClassifier,EOperation,EStructuralFeature,EClass,EObject> parent) |
EvaluationVisitor<EPackage,EClassifier,EOperation,EStructuralFeature,EEnumLiteral,EParameter,EObject,CallOperationAction,SendSignalAction,Constraint,EClass,EObject> |
EcoreEnvironmentFactory.createEvaluationVisitor(Environment<EPackage,EClassifier,EOperation,EStructuralFeature,EEnumLiteral,EParameter,EObject,CallOperationAction,SendSignalAction,Constraint,EClass,EObject> env,
EvaluationEnvironment<EClassifier,EOperation,EStructuralFeature,EClass,EObject> evalEnv,
Map<? extends EClass,? extends Set<? extends EObject>> extentMap) |
Constructor and Description |
---|
EcoreEvaluationEnvironment(EvaluationEnvironment<EClassifier,EOperation,EStructuralFeature,EClass,EObject> parent)
Initializes me with my parent evaluation environment (nesting scope).
|
EvaluationVisitorImpl(Environment<EPackage,EClassifier,EOperation,EStructuralFeature,EEnumLiteral,EParameter,EObject,CallOperationAction,SendSignalAction,Constraint,EClass,EObject> env,
EvaluationEnvironment<EClassifier,EOperation,EStructuralFeature,EClass,EObject> evalEnv,
Map<? extends EClass,? extends Set<? extends EObject>> extentMap) |
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 | Class and Description |
---|---|
class |
UMLEvaluationEnvironment
Implementation of the
EvaluationEnvironment for evaluation of OCL
expressions on instances of UML models (i.e., on M0 models). |
Modifier and Type | Method and Description |
---|---|
EvaluationEnvironment<Classifier,Operation,Property,Class,EObject> |
UMLEnvironmentFactory.createEvaluationEnvironment() |
EvaluationEnvironment<Classifier,Operation,Property,Class,EObject> |
UMLEnvironmentFactory.createEvaluationEnvironment(EvaluationEnvironment<Classifier,Operation,Property,Class,EObject> parent) |
Modifier and Type | Method and Description |
---|---|
EvaluationEnvironment<Classifier,Operation,Property,Class,EObject> |
UMLEnvironmentFactory.createEvaluationEnvironment(EvaluationEnvironment<Classifier,Operation,Property,Class,EObject> parent) |
Constructor and Description |
---|
UMLEvaluationEnvironment(EvaluationEnvironment<Classifier,Operation,Property,Class,EObject> parent)
Initializes me with my parent evaluation environment (nesting scope).
|
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 © 2005, 2018 IBM Corporation and others. All Rights Reserved.