public class SumQueryBasedFeature extends IterationQueryBasedFeature
Modifier | Constructor and Description |
---|---|
protected |
SumQueryBasedFeature(org.eclipse.emf.ecore.EStructuralFeature feature,
QueryBasedFeatureKind kind) |
Modifier and Type | Method and Description |
---|---|
int |
getIntValue(java.lang.Object source) |
QueryBasedFeatureKind |
getKind() |
java.lang.Object |
getValue(java.lang.Object source) |
java.lang.Object |
getValueIteration(java.lang.Object source) |
protected org.eclipse.emf.ecore.impl.ENotificationImpl |
lostMatchIteration(IPatternMatch signature)
Called each time when a match is lost for Iteration kind
|
protected org.eclipse.emf.ecore.impl.ENotificationImpl |
newMatchIteration(IPatternMatch signature)
Called each time when a new match is found for Iteration kind
|
afterUpdate, beforeUpdate, processAppearedMatch, processDisappearedMatch
appendNotificationToList, engineForMatcher, getFeature, getMatcher, getSourceParamName, getSourceValue, getTargetParamName, getTargetValue, initialize, isCached, isInitialized, setMatcher, setSourceParamName, setTargetParamName, startMonitoring
protected SumQueryBasedFeature(org.eclipse.emf.ecore.EStructuralFeature feature, QueryBasedFeatureKind kind)
feature
- kind
- keepCache
- protected org.eclipse.emf.ecore.impl.ENotificationImpl newMatchIteration(IPatternMatch signature)
IterationQueryBasedFeature
newMatchIteration
in class IterationQueryBasedFeature
protected org.eclipse.emf.ecore.impl.ENotificationImpl lostMatchIteration(IPatternMatch signature)
IterationQueryBasedFeature
lostMatchIteration
in class IterationQueryBasedFeature
public java.lang.Object getValueIteration(java.lang.Object source)
getValueIteration
in class IterationQueryBasedFeature
public int getIntValue(java.lang.Object source)
public QueryBasedFeatureKind getKind()
getKind
in class QueryBasedFeature
public java.lang.Object getValue(java.lang.Object source)
getValue
in class IterationQueryBasedFeature