Class AttrFunctionDescription
- java.lang.Object
-
- org.pentaho.reporting.libraries.formula.function.AbstractFunctionDescription
-
- org.jfree.report.expressions.formula.sys.AttrFunctionDescription
-
- All Implemented Interfaces:
java.io.Serializable,org.pentaho.reporting.libraries.formula.function.FunctionDescription
public class AttrFunctionDescription extends org.pentaho.reporting.libraries.formula.function.AbstractFunctionDescriptionCreation-Date: 29.11.2006, 18:04:18- Author:
- Thomas Morgner
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AttrFunctionDescription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.pentaho.reporting.libraries.formula.function.FunctionCategorygetCategory()java.lang.ObjectgetDefaultValue(int position)Returns the default value for an optional parameter.intgetParameterCount()org.pentaho.reporting.libraries.formula.typing.TypegetParameterType(int position)org.pentaho.reporting.libraries.formula.typing.TypegetValueType()booleanisInfiniteParameterCount()booleanisParameterMandatory(int position)Defines, whether the parameter at the given position is mandatory.
-
-
-
Method Detail
-
getParameterCount
public int getParameterCount()
-
isInfiniteParameterCount
public boolean isInfiniteParameterCount()
- Specified by:
isInfiniteParameterCountin interfaceorg.pentaho.reporting.libraries.formula.function.FunctionDescription- Overrides:
isInfiniteParameterCountin classorg.pentaho.reporting.libraries.formula.function.AbstractFunctionDescription
-
getParameterType
public org.pentaho.reporting.libraries.formula.typing.Type getParameterType(int position)
-
getValueType
public org.pentaho.reporting.libraries.formula.typing.Type getValueType()
-
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:
-
getDefaultValue
public java.lang.Object getDefaultValue(int position)
Returns the default value for an optional parameter. If the value returned here is null, then this either means, that the parameter is mandatory or that the default value is computed by the expression itself.- Specified by:
getDefaultValuein interfaceorg.pentaho.reporting.libraries.formula.function.FunctionDescription- Overrides:
getDefaultValuein classorg.pentaho.reporting.libraries.formula.function.AbstractFunctionDescription- Parameters:
position-- Returns:
-
getCategory
public org.pentaho.reporting.libraries.formula.function.FunctionCategory getCategory()
-
-