public class QueryBasedFeatureSettingDelegate
extends org.eclipse.emf.ecore.util.BasicSettingDelegate.Stateless
Constructor and Description |
---|
QueryBasedFeatureSettingDelegate(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature,
QueryBasedFeatureSettingDelegateFactory factory,
IQuerySpecification<Matcher> querySpecification,
boolean dynamicEMFMode)
Constructs a new
QueryBasedFeatureSettingDelegate instance based on the given parameters. |
QueryBasedFeatureSettingDelegate(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature,
QueryBasedFeatureSettingDelegateFactory factory,
IQuerySpecification<Matcher> querySpecification,
boolean isResourceScope,
boolean dynamicEMFMode)
Constructs a new
QueryBasedFeatureSettingDelegate instance based on the given parameters. |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
get(org.eclipse.emf.ecore.InternalEObject owner,
boolean resolve,
boolean coreType) |
void |
initializeSettingDelegate(org.eclipse.emf.common.notify.Notifier rootNotifier)
Initializes the query based feature setting delegate using the given notifier as the root of the query engine
base index.
|
protected boolean |
isSet(org.eclipse.emf.ecore.InternalEObject owner) |
public QueryBasedFeatureSettingDelegate(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, QueryBasedFeatureSettingDelegateFactory factory, IQuerySpecification<Matcher> querySpecification, boolean dynamicEMFMode)
QueryBasedFeatureSettingDelegate
instance based on the given parameters.
The scope of the VIATRA Query engine in this case will be the one provided by QueryBasedFeatureHelper.prepareNotifierForSource({@link InternalEObject})
.eStructuralFeature
- the parent structural feature of the setting delegatefactory
- the factory used to create VIATRA Query engine for the setting delegatequerySpecification
- the query specification used for the evaluation of the setting delegatedynamicEMFMode
- indicates whether the engine should be created in dynamic EMF modepublic QueryBasedFeatureSettingDelegate(org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature, QueryBasedFeatureSettingDelegateFactory factory, IQuerySpecification<Matcher> querySpecification, boolean isResourceScope, boolean dynamicEMFMode)
QueryBasedFeatureSettingDelegate
instance based on the given parameters.eStructuralFeature
- the parent structural feature of the setting delegatefactory
- the factory used to create VIATRA Query engine for the setting delegatequerySpecification
- the query specification used for the evaluation of the setting delegateisResourceScope
- indicates whether the Resource
of the InternalEObject
is enough as a scope during the evaluation of the setting delegatedynamicEMFMode
- indicates whether the engine should be created in dynamic EMF modeprotected java.lang.Object get(org.eclipse.emf.ecore.InternalEObject owner, boolean resolve, boolean coreType)
get
in class org.eclipse.emf.ecore.util.BasicSettingDelegate.Stateless
public void initializeSettingDelegate(org.eclipse.emf.common.notify.Notifier rootNotifier)
ResourceSet
unless you know what you are doing.rootNotifier
- the root of the indexing for the matcher driving the featureprotected boolean isSet(org.eclipse.emf.ecore.InternalEObject owner)
isSet
in class org.eclipse.emf.ecore.util.BasicSettingDelegate.Stateless