org.jfree.report.expressions.formula.sys

Class AttrFunctionDescription

public class AttrFunctionDescription extends AbstractFunctionDescription

Creation-Date: 29.11.2006, 18:04:18

Author: Thomas Morgner

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

Constructor Detail

AttrFunctionDescription

public AttrFunctionDescription()

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()

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: