Class NowFunctionDescription
java.lang.Object
org.pentaho.reporting.libraries.formula.function.AbstractFunctionDescription
org.pentaho.reporting.libraries.formula.function.datetime.NowFunctionDescription
- All Implemented Interfaces:
Serializable, FunctionDescription
Creation-Date: 04.11.2006, 18:59:11
- 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.booleanisParameterMandatory(int position) Defines, whether the parameter at the given position is mandatory.booleanMethods inherited from class AbstractFunctionDescription
getCanonicalName, getDefaultValue, getDescription, getDisplayName, getParameterDescription, getParameterDisplayName, isInfiniteParameterCount
-
Constructor Details
-
NowFunctionDescription
public NowFunctionDescription()
-
-
Method Details
-
getValueType
-
isVolatile
public boolean isVolatile()- Specified by:
isVolatilein interfaceFunctionDescription- Overrides:
isVolatilein classAbstractFunctionDescription
-
getParameterCount
public int getParameterCount() -
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
-