Class MultiValueQueryBasedFeature
- java.lang.Object
-
- org.eclipse.viatra.addon.querybasedfeatures.runtime.QueryBasedFeature
-
- org.eclipse.viatra.addon.querybasedfeatures.runtime.handler.MultiValueQueryBasedFeature
-
public class MultiValueQueryBasedFeature extends QueryBasedFeature
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MultiValueQueryBasedFeature(org.eclipse.emf.ecore.EStructuralFeature feature, boolean keepCache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
afterUpdate()
protected void
beforeUpdate()
QueryBasedFeatureKind
getKind()
java.util.List<?>
getManyReferenceValue(java.lang.Object source)
org.eclipse.emf.common.util.EList
getManyReferenceValueAsEList(java.lang.Object source)
java.lang.Object
getValue(java.lang.Object source)
protected void
processAppearedMatch(IPatternMatch signature)
protected void
processDisappearedMatch(IPatternMatch signature)
-
Methods inherited from class org.eclipse.viatra.addon.querybasedfeatures.runtime.QueryBasedFeature
appendNotificationToList, engineForMatcher, getFeature, getMatcher, getSourceParamName, getSourceValue, getTargetParamName, getTargetValue, initialize, isCached, isInitialized, setMatcher, setSourceParamName, setTargetParamName, startMonitoring
-
-
-
-
Method Detail
-
getManyReferenceValue
public java.util.List<?> getManyReferenceValue(java.lang.Object source)
-
processAppearedMatch
protected void processAppearedMatch(IPatternMatch signature)
- Specified by:
processAppearedMatch
in classQueryBasedFeature
-
processDisappearedMatch
protected void processDisappearedMatch(IPatternMatch signature)
- Specified by:
processDisappearedMatch
in classQueryBasedFeature
-
getManyReferenceValueAsEList
public org.eclipse.emf.common.util.EList getManyReferenceValueAsEList(java.lang.Object source)
-
getKind
public QueryBasedFeatureKind getKind()
- Specified by:
getKind
in classQueryBasedFeature
-
afterUpdate
protected void afterUpdate()
- Specified by:
afterUpdate
in classQueryBasedFeature
-
beforeUpdate
protected void beforeUpdate()
- Specified by:
beforeUpdate
in classQueryBasedFeature
-
getValue
public java.lang.Object getValue(java.lang.Object source)
- Specified by:
getValue
in classQueryBasedFeature
-
-