Class ExactFunctionDescription
- java.lang.Object
-
- org.pentaho.reporting.libraries.formula.function.AbstractFunctionDescription
-
- org.pentaho.reporting.libraries.formula.function.text.ExactFunctionDescription
-
- All Implemented Interfaces:
java.io.Serializable,FunctionDescription
public class ExactFunctionDescription extends AbstractFunctionDescription
Describes ExactFunction function.- Author:
- Cedric Pronzato
- See Also:
ExactFunction, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExactFunctionDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FunctionCategorygetCategory()intgetParameterCount()TypegetParameterType(int position)Returns the parameter type at the given position using the function metadata.TypegetValueType()booleanisParameterMandatory(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, isInfiniteParameterCount, isVolatile
-
-
-
-
Method Detail
-
getCategory
public FunctionCategory getCategory()
-
getParameterCount
public int getParameterCount()
-
getParameterType
public Type getParameterType(int position)
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.
-
getValueType
public Type getValueType()
-
isParameterMandatory
public boolean isParameterMandatory(int position)
Description copied from interface:FunctionDescriptionDefines, 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:
-
-