org.pm4j.core.pm.impl.expr
Interface Expression

All Known Subinterfaces:
OptionalExpression
All Known Implementing Classes:
AttributeExpr, ExprBase, MethodCallExpr, PathExpressionChain, PmVariableExpr, PmVariableOrAttributeExpr, ScalarExpr.BooleanExpr, ScalarExpr.NullExpr, ScalarExpr.NumberExpr, ScalarExpr.StringExpr, ThisExpr

public interface Expression

Interface for an algorithm that evaluates an expression.

Author:
olaf boede

Method Summary
 java.lang.Object exec(ExprExecCtxt ctxt)
           
 void execAssign(ExprExecCtxt ctxt, java.lang.Object value)
          Value assignment operation.
 

Method Detail

exec

java.lang.Object exec(ExprExecCtxt ctxt)

execAssign

void execAssign(ExprExecCtxt ctxt,
                java.lang.Object value)
Value assignment operation. Is supported by path expressions that reference attributes that provide public modification access (setter or public non-final declaration).

Parameters:
ctxt - Run time context data for the expression evaluation.
value - The value to set to the field, addressed by the path.