net.esper.client.soda
Class PatternExprBase
java.lang.Object
net.esper.client.soda.PatternExprBase
- All Implemented Interfaces:
- Serializable, PatternExpr
- Direct Known Subclasses:
- PatternAndExpr, PatternEveryExpr, PatternFilterExpr, PatternFollowedByExpr, PatternNotExpr, PatternOrExpr
public abstract class PatternExprBase
- extends Object
- implements PatternExpr
Abstract base class for all pattern expressions.
- See Also:
- Serialized Form
Method Summary |
protected void |
addChild(PatternExpr expression)
Adds a sub-expression to the pattern expression. |
List<PatternExpr> |
getChildren()
Returns the list of pattern sub-expressions (child expressions) to the current pattern expression node. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PatternExprBase
protected PatternExprBase()
- Ctor.
getChildren
public List<PatternExpr> getChildren()
- Description copied from interface:
PatternExpr
- Returns the list of pattern sub-expressions (child expressions) to the current pattern expression node.
- Specified by:
getChildren
in interface PatternExpr
- Returns:
- pattern child expressions or empty list if there are no child expressions
addChild
protected void addChild(PatternExpr expression)
- Adds a sub-expression to the pattern expression.
- Parameters:
expression
- to add