All Known Implementing Classes:
public interface IEStructuralFeatureValueGetter
An interface used to allow clients more control over the process of
EObject being evaluated by some
EObjectConditions. It acts as a layer of indirection and EObjectConditions
that make use of it will always be calling this interfaces methods instead of
invoking them directly on the
EObject they are testing.
Clients may provide their own implementation.
- Extract the contained EObjects of the argument eObject. and return them
as a list. It uses an -optional-
EObjectCondition as a
filtering condition of the content list where only those children
EObjects that satisfy the filterCondition will be returned to the caller
eObject - The
EObject to extract children from
filterCondition - The
EObjectCondition to apply on the children
in order to remove out those that don't satisfy it. It could
- List The list of children of the argument eObject.
EStructuralFeature's value getter.
eObject - The context eObject whose
value is to be returned
eFeature - The
EStructuralFeature whose value is to be
resolve - A boolean flag indicating whether to resolve or not when
extracting the value.
- Object the value held by the eFeature argument
- Prepares the argument eObject for being tested by a given
EObjectCondition so that it won't be necessary to use this
getter to call eContents or eGet on it. This function is used whenever
the eObject is being passed by some
some other evaluator that does not know about this interface, and thus,
we must prepare the eObject to have its methods invoked directly. The
EObject that is returned by this function will be
used for evaluation.
eObject - The
EObject to be prepared
- EObject the prepared