org.jfree.formula.function.math

Class SumFunctionDescription

Implemented Interfaces:
FunctionDescription

public class SumFunctionDescription
extends AbstractFunctionDescription

Creation-Date: 31.10.2006, 17:41:12
Author:
Thomas Morgner

Constructor Summary

SumFunctionDescription()

Method Summary

FunctionCategory
getCategory()
int
getParameterCount()
Type
getParameterType(int position)
Returns the parameter type at the given position using the function metadata.
Type
getValueType()
boolean
isInfiniteParameterCount()
boolean
isParameterMandatory(int position)
Defines, whether the parameter at the given position is mandatory.

Methods inherited from class org.jfree.formula.function.AbstractFunctionDescription

getBundle, getDefaultValue, getDescription, getDisplayName, getParameterDescription, getParameterDisplayName, isInfiniteParameterCount, isVolatile

Constructor Details

SumFunctionDescription

public SumFunctionDescription()

Method Details

getCategory

public FunctionCategory getCategory()
Specified by:
getCategory in interface FunctionDescription

getParameterCount

public int getParameterCount()
Specified by:
getParameterCount in interface FunctionDescription

getParameterType

public Type getParameterType(int position)
Returns the parameter type at the given position using the function metadata. The first parameter is at the position 0;
Specified by:
getParameterType in interface FunctionDescription
Parameters:
position - The parameter index.
Returns:
The parameter type.

getValueType

public Type getValueType()
Specified by:
getValueType in interface FunctionDescription

isInfiniteParameterCount

public boolean isInfiniteParameterCount()
Specified by:
isInfiniteParameterCount in interface FunctionDescription
Overrides:
isInfiniteParameterCount in interface AbstractFunctionDescription

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.
Specified by:
isParameterMandatory in interface FunctionDescription
Returns: