net.esper.client.soda
Class StaticMethodExpression

java.lang.Object
  extended by net.esper.client.soda.ExpressionBase
      extended by net.esper.client.soda.StaticMethodExpression
All Implemented Interfaces:
Serializable, Expression

public class StaticMethodExpression
extends ExpressionBase

Static method call consists of a class name and method name.

See Also:
Serialized Form

Constructor Summary
StaticMethodExpression(String className, String method)
          Ctor.
StaticMethodExpression(String className, String method, Object[] parameters)
          Ctor.
 
Method Summary
 String getClassName()
          Returns the class name.
 String getMethod()
          Returns the method name.
 void setClassName(String className)
          Sets the class name.
 void setMethod(String method)
          Sets the method name.
 void toEQL(StringWriter writer)
          Renders the expressions and all it's child expression, in full tree depth, as a string in language syntax.
 
Methods inherited from class net.esper.client.soda.ExpressionBase
addChild, getChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticMethodExpression

public StaticMethodExpression(String className,
                              String method,
                              Object[] parameters)
Ctor.

Parameters:
className - class name providing the static method
method - method name
parameters - an optiona array of parameters

StaticMethodExpression

public StaticMethodExpression(String className,
                              String method)
Ctor.

Parameters:
className - class name providing the static method
method - method name
Method Detail

toEQL

public void toEQL(StringWriter writer)
Description copied from interface: Expression
Renders the expressions and all it's child expression, in full tree depth, as a string in language syntax.

Parameters:
writer - is the output to use

getClassName

public String getClassName()
Returns the class name.

Returns:
class name

setClassName

public void setClassName(String className)
Sets the class name.

Parameters:
className - class name

getMethod

public String getMethod()
Returns the method name.

Returns:
method name

setMethod

public void setMethod(String method)
Sets the method name.

Parameters:
method - method name

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