org.jfree.report.expressions.formula.sys

Class AttrFunctionDescription


public class AttrFunctionDescription
extends AbstractFunctionDescription

Creation-Date: 29.11.2006, 18:04:18
Author:
Thomas Morgner

Constructor Summary

AttrFunctionDescription()

Method Summary

FunctionCategory
getCategory()
Object
getDefaultValue(int position)
Returns the default value for an optional parameter.
int
getParameterCount()
Type
getParameterType(int position)
Type
getValueType()
boolean
isInfiniteParameterCount()
boolean
isParameterMandatory(int position)
Defines, whether the parameter at the given position is mandatory.

Constructor Details

AttrFunctionDescription

public AttrFunctionDescription()

Method Details

getCategory

public FunctionCategory getCategory()

getDefaultValue

public 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.
Parameters:
position -
Returns:

getParameterCount

public int getParameterCount()

getParameterType

public Type getParameterType(int position)

getValueType

public Type getValueType()

isInfiniteParameterCount

public boolean isInfiniteParameterCount()

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: