org.jfree.formula.function.userdefined

Class MappedFunctionDescription

public class MappedFunctionDescription extends Object implements FunctionDescription

Creation-Date: 05.11.2006, 14:01:22

Author: Thomas Morgner

Constructor Summary
MappedFunctionDescription()
Method Summary
FunctionCategorygetCategory()
ObjectgetDefaultValue(int position)
Returns the default value for an optional parameter.
StringgetDescription(Locale locale)
StringgetDisplayName(Locale locale)
intgetParameterCount()
StringgetParameterDescription(int position, Locale locale)
StringgetParameterDisplayName(int position, Locale locale)
TypegetParameterType(int position)
TypegetValueType()
booleanisInfiniteParameterCount()
booleanisParameterMandatory(int position)
Defines, whether the parameter at the given position is mandatory.
booleanisVolatile()

Constructor Detail

MappedFunctionDescription

public MappedFunctionDescription()

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:

getDescription

public String getDescription(Locale locale)

getDisplayName

public String getDisplayName(Locale locale)

getParameterCount

public int getParameterCount()

getParameterDescription

public String getParameterDescription(int position, Locale locale)

getParameterDisplayName

public String getParameterDisplayName(int position, Locale locale)

getParameterType

public Type getParameterType(int position)

getValueType

public Type getValueType()

isInfiniteParameterCount

public boolean isInfiniteParameterCount()

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:

isVolatile

public boolean isVolatile()