Class SumFunctionDescription
java.lang.Object
org.pentaho.reporting.libraries.formula.function.AbstractFunctionDescription
org.pentaho.reporting.libraries.formula.function.math.SumFunctionDescription
- All Implemented Interfaces:
Serializable,FunctionDescription
Creation-Date: 31.10.2006, 17:41:12
- Author:
- Thomas Morgner
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetParameterType(int position) Returns the parameter type at the given position using the function metadata.booleanbooleanisParameterMandatory(int position) Defines, whether the parameter at the given position is mandatory.Methods inherited from class org.pentaho.reporting.libraries.formula.function.AbstractFunctionDescription
getCanonicalName, getDefaultValue, getDescription, getDisplayName, getParameterDescription, getParameterDisplayName, isVolatile
-
Constructor Details
-
SumFunctionDescription
public SumFunctionDescription()
-
-
Method Details
-
getValueType
-
getParameterCount
public int getParameterCount() -
isInfiniteParameterCount
public boolean isInfiniteParameterCount()- Specified by:
isInfiniteParameterCountin interfaceFunctionDescription- Overrides:
isInfiniteParameterCountin classAbstractFunctionDescription
-
getParameterType
Description copied from interface:FunctionDescriptionReturns the parameter type at the given position using the function metadata. The first parameter is at the position 0;- Parameters:
position- The parameter index.- Returns:
- The parameter type.
-
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:
-
getCategory
-