org.jbpm.jpdl.el.impl
Class NamedValue

java.lang.Object
  extended by org.jbpm.jpdl.el.impl.Expression
      extended by org.jbpm.jpdl.el.impl.NamedValue

public class NamedValue
extends Expression

Represents a name that can be used as the first element of a value.

Version:
$Change: 181177 $$DateTime: 2001/06/26 08:45:09 $$Author$
Author:
Nathan Abramson - Art Technology Group, Shawn Bayern

Constructor Summary
NamedValue(java.lang.String pName)
          Constructor
 
Method Summary
 java.lang.Object evaluate(VariableResolver pResolver, FunctionMapper functions, Logger pLogger)
          Evaluates by looking up the name in the VariableResolver
 java.lang.String getExpressionString()
          Returns the expression in the expression language syntax
 java.lang.String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamedValue

public NamedValue(java.lang.String pName)
Constructor

Method Detail

getName

public java.lang.String getName()

getExpressionString

public java.lang.String getExpressionString()
Returns the expression in the expression language syntax

Specified by:
getExpressionString in class Expression

evaluate

public java.lang.Object evaluate(VariableResolver pResolver,
                                 FunctionMapper functions,
                                 Logger pLogger)
                          throws ELException
Evaluates by looking up the name in the VariableResolver

Specified by:
evaluate in class Expression
Throws:
ELException