com.espertech.esper.client.soda
Class PatternExprBase

java.lang.Object
  extended by com.espertech.esper.client.soda.PatternExprBase
All Implemented Interfaces:
PatternExpr, Serializable
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

Constructor Summary
protected PatternExprBase()
          Ctor.
 
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
 
Methods inherited from interface com.espertech.esper.client.soda.PatternExpr
toEPL
 

Constructor Detail

PatternExprBase

protected PatternExprBase()
Ctor.

Method Detail

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

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com