EMF Query Handlers
Package Specification
This package exposes the basic PruneHandler object that are used to help EObject related Conditions to prune the to-be-visited children tree.
EObjectTypeRelationCondition(
EClass type,
TypeRelation typeRelationKind,
PruneHandler pruneHandler)
A constructor, it initializes the
EObjectTypeRelationCondition with the given
EClass, the TypeRelation and the
PruneHandler specified.
PruneHandler.ALWAYS
A simple PruneHandler implementation that will always prune
regardless of the nature of the EObjectCondition used or the argument
eObject passed.
PruneHandler.NEVER
A simple PruneHandler implementation that will never prune
regardless of the nature of the EObjectCondition used or the argument
eObject passed.
AbstractOCLCondition(
Environment<?,
C,?,?,?,?,?,?,?,?,
CLS,
E> env,
Query<
C,
CLS,
E> oclQuery,
C contextClassifier,
IEStructuralFeatureValueGetter eStructuralFeatureValueGetter,
PruneHandler pruneHandler)
Initializes a query condition with compiled OCL query, a context
classifier representing the type of "self" in the OCL expression, and an
IEStructuralFeatureValueGetter to use to resolve the context
element for safe access to structural features, and a
PruneHandler to consult for pruning the content tree.
AbstractOCLCondition(
Environment<?,
C,?,?,?,?,?,?,?,?,
CLS,
E> env,
String oclExpressionString,
C contextClassifier,
IEStructuralFeatureValueGetter eStructuralFeatureValueGetter,
PruneHandler pruneHandler)
Initializes a query condition with an OCL expression string, a context
classifier representing the type of "self" in the OCL expression, and an
IEStructuralFeatureValueGetter to use to resolve the context
element for safe access to structural features, and a prune-handler
to consult for pruning the object tree.
BooleanOCLCondition(
Environment<?,
C,?,?,?,?,?,?,?,?,
CLS,
E> env,
Query<
C,
CLS,
E> oclQuery,
C contextClassifier,
IEStructuralFeatureValueGetter eStructuralFeatureValueGetter,
PruneHandler pruneHandler)
Initializes a constraint condition with an OCL expression string, a context
classifier representing the type of "self" in the OCL expression, an
IEStructuralFeatureValueGetter to use to resolve the context
element for safe access to structural features, and a
PruneHandler.NEVER to consult for pruning the content tree.
BooleanOCLCondition(
Environment<?,
C,?,?,?,?,?,?,?,?,
CLS,
E> env,
Query<
C,
CLS,
E> oclQuery,
C contextClassifier,
PruneHandler pruneHandler)
Initializes a constraint condition with an OCL expression string, a context
classifier representing the type of "self" in the OCL expression, and a
PruneHandler.NEVER to consult for pruning the content tree.
BooleanOCLCondition(
Environment<?,
C,?,?,?,?,?,?,?,?,
CLS,
E> env,
String oclExpressionString,
C contextClassifier,
IEStructuralFeatureValueGetter eStructuralFeatureValueGetter,
PruneHandler pruneHandler)
Initializes a constraint condition with an OCL expression string, a context
classifier representing the type of "self" in the OCL expression, an
IEStructuralFeatureValueGetter to use to resolve the context
element for safe access to structural features, and a
PruneHandler.NEVER to consult for pruning the content tree.
OCLCondition(
Query oclQuery,
EClass contextEObjectType,
IEStructuralFeatureValueGetter eStructuralFeatureValueGetter,
PruneHandler pruneHandler) Deprecated. Initializes a query condition with a compiled OCL query, an
EClass representing the EObject type which the OCL
expression uses as a context, an IEStructuralFeatureValueGetter
to use to get values of EStructuralFeatures
referenced by the OCL expression, and a PruneHandler to consult
for pruning the content tree.
OCLCondition(
String oclExpressionString,
EClass contextEObjectType,
IEStructuralFeatureValueGetter eStructuralFeatureValueGetter,
PruneHandler pruneHandler) Deprecated. Initializes a query condition with an OCL expression string, an
EClass representing the EObject type which the OCL
expression uses as a context, an IEStructuralFeatureValueGetter
to use to get values of EStructuralFeatures
referenced by the OCL expression, and a PruneHandler to consult
for pruning the content tree.
OCLConstraintCondition(
Query oclQuery,
EClass contextEObjectType,
IEStructuralFeatureValueGetter eStructuralFeatureValueGetter,
PruneHandler pruneHandler) Deprecated. Initializes a constraint condition with a compiled OCL query, an
EClass representing the EObject type which the OCL
expression uses as a context, an IEStructuralFeatureValueGetter
to use to get values of StructuralFeatures
referenced by the OCL expression, and a PruneHandler to consult
for pruning the content tree.
OCLConstraintCondition(
Query oclQuery,
EClass contextEObjectType,
PruneHandler pruneHandler) Deprecated.
Initializes a constraint condition with a compiled OCL query, an
EClass representing the EObject type which the OCL
expression uses as a context, an IEStructuralFeatureValueGetter
to use to get values of StructuralFeatures
referenced by the OCL expression, and a PruneHandler to consult
for pruning the content tree.
OCLConstraintCondition(
String oclExpressionString,
EClass contextEObjectType,
IEStructuralFeatureValueGetter eStructuralFeatureValueGetter,
PruneHandler pruneHandler) Deprecated. Initializes a constraint condition with an OCL expression string, an
EClass representing the EObject type which the OCL
expression uses as a context, an IEStructuralFeatureValueGetter
to use to get values of StructuralFeatures
referenced by the OCL expression, and a PruneHandler to consult
for pruning the content tree.