org.jfree.formula.function.information
Class HasChangedFunctionDescription
java.lang.Object
org.jfree.formula.function.AbstractFunctionDescription
org.jfree.formula.function.information.HasChangedFunctionDescription
- All Implemented Interfaces:
- FunctionDescription
public class HasChangedFunctionDescription
- extends AbstractFunctionDescription
Creation-Date: 31.10.2006, 17:41:12
- Author:
- Thomas Morgner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HasChangedFunctionDescription
public HasChangedFunctionDescription()
getValueType
public Type getValueType()
getParameterCount
public int getParameterCount()
isInfiniteParameterCount
public boolean isInfiniteParameterCount()
- Specified by:
isInfiniteParameterCount
in interface FunctionDescription
- Overrides:
isInfiniteParameterCount
in class AbstractFunctionDescription
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)
- 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:
- false
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:
getDefaultValue
in interface FunctionDescription
- Overrides:
getDefaultValue
in class AbstractFunctionDescription
- Parameters:
position
-
- Returns:
- null.
isVolatile
public boolean isVolatile()
- Specified by:
isVolatile
in interface FunctionDescription
- Overrides:
isVolatile
in class AbstractFunctionDescription
getCategory
public FunctionCategory getCategory()