net.esper.eql.spec
Class OnTriggerSetAssignment

java.lang.Object
  extended by net.esper.eql.spec.OnTriggerSetAssignment
All Implemented Interfaces:
Serializable, MetaDefItem

public class OnTriggerSetAssignment
extends Object
implements MetaDefItem

Descriptor for an on-set assignment.

See Also:
Serialized Form

Constructor Summary
OnTriggerSetAssignment(String variableName, ExprNode expression)
          Ctor.
 
Method Summary
 ExprNode getExpression()
          Returns the expression providing the new variable value, or null if none
 String getVariableName()
          Returns the variable name
 void setExpression(ExprNode expression)
          Sets the expression providing the new variable value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OnTriggerSetAssignment

public OnTriggerSetAssignment(String variableName,
                              ExprNode expression)
Ctor.

Parameters:
variableName - variable name
expression - expression providing new variable value
Method Detail

getVariableName

public String getVariableName()
Returns the variable name

Returns:
variable name

getExpression

public ExprNode getExpression()
Returns the expression providing the new variable value, or null if none

Returns:
assignment expression

setExpression

public void setExpression(ExprNode expression)
Sets the expression providing the new variable value

Parameters:
expression - assignment expression, or null if none

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