org.pentaho.reporting.libraries.formula.function.datetime
Class HourFunctionDescription
java.lang.Object
org.pentaho.reporting.libraries.formula.function.AbstractFunctionDescription
org.pentaho.reporting.libraries.formula.function.datetime.HourFunctionDescription
- All Implemented Interfaces:
- Serializable, FunctionDescription
public class HourFunctionDescription
- extends AbstractFunctionDescription
Describes HourFunction function.
- Author:
- Cedric Pronzato
- See Also:
HourFunction
,
Serialized Form
HourFunctionDescription
public HourFunctionDescription()
getValueType
public Type getValueType()
getParameterCount
public int getParameterCount()
getParameterType
public Type getParameterType(int position)
- Description copied from interface:
FunctionDescription
- Returns 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)
- Description copied from interface:
FunctionDescription
- 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
public FunctionCategory getCategory()