org.jfree.formula.function.logical

Class IfFunctionDescription

public class IfFunctionDescription extends AbstractFunctionDescription

Creation-Date: 04.11.2006, 18:28:55

Author: Thomas Morgner

Constructor Summary
IfFunctionDescription()
Method Summary
FunctionCategorygetCategory()
ObjectgetDefaultValue(int position)
Returns the default value for an optional parameter.
intgetParameterCount()
TypegetParameterType(int position)
TypegetValueType()
booleanisParameterMandatory(int position)
Defines, whether the parameter at the given position is mandatory.

Constructor Detail

IfFunctionDescription

public IfFunctionDescription()

Method Detail

getCategory

public FunctionCategory getCategory()

getDefaultValue

public Object getDefaultValue(int position)
Returns the default value for an optional parameter. If the value returned here is null, then this either means, that the parameter is mandatory or that the default value is computed by the expression itself.

Parameters: position

Returns:

getParameterCount

public int getParameterCount()

getParameterType

public Type getParameterType(int position)

getValueType

public Type getValueType()

isParameterMandatory

public boolean isParameterMandatory(int position)
Defines, whether the parameter at the given position is mandatory. A mandatory parameter must be filled in, while optional parameters need not to be filled in.

Returns: