org.pentaho.reporting.libraries.formula.function.logical
Class IfFunction

java.lang.Object
  extended by org.pentaho.reporting.libraries.formula.function.logical.IfFunction
All Implemented Interfaces:
Serializable, Function

public class IfFunction
extends Object
implements Function

Creation-Date: 04.11.2006, 18:28:15

Author:
Thomas Morgner
See Also:
Serialized Form

Constructor Summary
IfFunction()
           
 
Method Summary
 TypeValuePair evaluate(FormulaContext context, ParameterCallback parameters)
           
 String getCanonicalName()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IfFunction

public IfFunction()
Method Detail

getCanonicalName

public String getCanonicalName()
Specified by:
getCanonicalName in interface Function

evaluate

public TypeValuePair evaluate(FormulaContext context,
                              ParameterCallback parameters)
                       throws EvaluationException
Specified by:
evaluate in interface Function
Throws:
EvaluationException