public abstract class QueryBasedFeature
extends java.lang.Object
Constructor and Description |
---|
QueryBasedFeature(org.eclipse.emf.ecore.EStructuralFeature feature,
boolean keepCache) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
afterUpdate() |
protected void |
appendNotificationToList(org.eclipse.emf.ecore.impl.ENotificationImpl notification) |
protected abstract void |
beforeUpdate() |
protected AdvancedViatraQueryEngine |
engineForMatcher() |
protected org.eclipse.emf.ecore.EStructuralFeature |
getFeature() |
abstract QueryBasedFeatureKind |
getKind() |
protected ViatraQueryMatcher<IPatternMatch> |
getMatcher() |
protected java.lang.String |
getSourceParamName() |
protected org.eclipse.emf.ecore.InternalEObject |
getSourceValue(IPatternMatch signature) |
protected java.lang.String |
getTargetParamName() |
protected java.lang.Object |
getTargetValue(IPatternMatch signature) |
abstract java.lang.Object |
getValue(java.lang.Object source) |
protected void |
initialize(ViatraQueryMatcher<IPatternMatch> matcher,
java.lang.String sourceParamName,
java.lang.String targetParamName) |
protected boolean |
isCached() |
protected boolean |
isInitialized() |
protected abstract void |
processAppearedMatch(IPatternMatch signature) |
protected abstract void |
processDisappearedMatch(IPatternMatch signature) |
protected void |
setMatcher(ViatraQueryMatcher<IPatternMatch> matcher) |
protected void |
setSourceParamName(java.lang.String sourceParamName) |
protected void |
setTargetParamName(java.lang.String targetParamName) |
protected void |
startMonitoring()
Call this once to start handling callbacks.
|
public QueryBasedFeature(org.eclipse.emf.ecore.EStructuralFeature feature, boolean keepCache)
protected void initialize(ViatraQueryMatcher<IPatternMatch> matcher, java.lang.String sourceParamName, java.lang.String targetParamName)
protected ViatraQueryMatcher<IPatternMatch> getMatcher()
protected void setMatcher(ViatraQueryMatcher<IPatternMatch> matcher)
protected org.eclipse.emf.ecore.EStructuralFeature getFeature()
protected java.lang.String getSourceParamName()
protected void setSourceParamName(java.lang.String sourceParamName)
protected java.lang.String getTargetParamName()
protected void setTargetParamName(java.lang.String targetParamName)
protected boolean isCached()
protected boolean isInitialized()
public abstract QueryBasedFeatureKind getKind()
protected abstract void afterUpdate()
protected abstract void beforeUpdate()
protected void startMonitoring()
protected AdvancedViatraQueryEngine engineForMatcher()
public abstract java.lang.Object getValue(java.lang.Object source)
protected abstract void processAppearedMatch(IPatternMatch signature)
protected org.eclipse.emf.ecore.InternalEObject getSourceValue(IPatternMatch signature)
protected java.lang.Object getTargetValue(IPatternMatch signature)
protected abstract void processDisappearedMatch(IPatternMatch signature)
protected void appendNotificationToList(org.eclipse.emf.ecore.impl.ENotificationImpl notification)