Package org.drools.model.patterns
Class AccumulatePatternImpl<T>
- java.lang.Object
-
- org.drools.model.patterns.AbstractSinglePattern
-
- org.drools.model.patterns.AccumulatePatternImpl<T>
-
- All Implemented Interfaces:
AccumulatePattern<T>,Condition,ModelComponent,Pattern<T>
- Direct Known Subclasses:
GroupByPatternImpl
public class AccumulatePatternImpl<T> extends AbstractSinglePattern implements AccumulatePattern<T>, ModelComponent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.drools.model.Condition
Condition.Type
-
-
Constructor Summary
Constructors Constructor Description AccumulatePatternImpl(Condition condition, Variable var, AccumulateFunction... accumulateFunctions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccumulateFunction[]getAccumulateFunctions()Collection<Binding>getBindings()Variable<?>[]getBoundVariables()ConditiongetCondition()ConstraintgetConstraint()Variable[]getInputVariables()PatterngetPattern()Variable<T>getPatternVariable()Condition.TypegetType()String[]getWatchedProps()booleanisCompositePatterns()booleanisEqualTo(ModelComponent o)booleanisPassive()booleanisQuerySource()StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.drools.model.Condition
cloneCondition, getSubConditions
-
Methods inherited from interface org.drools.model.Pattern
getPatternClassMetadata
-
-
-
-
Constructor Detail
-
AccumulatePatternImpl
public AccumulatePatternImpl(Condition condition, Variable var, AccumulateFunction... accumulateFunctions)
-
-
Method Detail
-
getAccumulateFunctions
public AccumulateFunction[] getAccumulateFunctions()
- Specified by:
getAccumulateFunctionsin interfaceAccumulatePattern<T>
-
isCompositePatterns
public boolean isCompositePatterns()
- Specified by:
isCompositePatternsin interfaceAccumulatePattern<T>
-
isQuerySource
public boolean isQuerySource()
- Specified by:
isQuerySourcein interfaceAccumulatePattern<T>
-
getCondition
public Condition getCondition()
- Specified by:
getConditionin interfaceAccumulatePattern<T>
-
getPattern
public Pattern getPattern()
- Specified by:
getPatternin interfaceAccumulatePattern<T>
-
getInputVariables
public Variable[] getInputVariables()
- Specified by:
getInputVariablesin interfacePattern<T>
-
getPatternVariable
public Variable<T> getPatternVariable()
- Specified by:
getPatternVariablein interfacePattern<T>
-
getBindings
public Collection<Binding> getBindings()
- Specified by:
getBindingsin interfacePattern<T>
-
getWatchedProps
public String[] getWatchedProps()
- Specified by:
getWatchedPropsin interfacePattern<T>
-
getBoundVariables
public Variable<?>[] getBoundVariables()
- Specified by:
getBoundVariablesin interfaceCondition
-
getConstraint
public Constraint getConstraint()
- Specified by:
getConstraintin interfacePattern<T>
-
getType
public Condition.Type getType()
- Specified by:
getTypein interfaceCondition- Overrides:
getTypein classAbstractSinglePattern
-
isEqualTo
public boolean isEqualTo(ModelComponent o)
- Specified by:
isEqualToin interfaceModelComponent
-
-