|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.reporting.libraries.formula.function.DefaultFunctionDescription
public class DefaultFunctionDescription
Creation-Date: 05.11.2006, 15:13:03
Constructor Summary | |
---|---|
DefaultFunctionDescription(String name)
|
Method Summary | |
---|---|
String |
getCanonicalName()
|
FunctionCategory |
getCategory()
|
Object |
getDefaultValue(int position)
Returns the default value for an optional parameter. |
String |
getDescription(Locale locale)
|
String |
getDisplayName(Locale locale)
|
int |
getParameterCount()
|
String |
getParameterDescription(int position,
Locale locale)
|
String |
getParameterDisplayName(int position,
Locale locale)
|
Type |
getParameterType(int position)
Returns the parameter type at the given position using the function metadata. |
Type |
getValueType()
|
boolean |
isDeprecated()
|
boolean |
isExperimental()
|
boolean |
isInfiniteParameterCount()
|
boolean |
isParameterMandatory(int position)
Defines, whether the parameter at the given position is mandatory. |
boolean |
isVolatile()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultFunctionDescription(String name)
Method Detail |
---|
public String getCanonicalName()
getCanonicalName
in interface FunctionDescription
public Type getValueType()
getValueType
in interface FunctionDescription
public FunctionCategory getCategory()
getCategory
in interface FunctionDescription
public int getParameterCount()
getParameterCount
in interface FunctionDescription
public Type getParameterType(int position)
FunctionDescription
getParameterType
in interface FunctionDescription
position
- The parameter index.
public boolean isParameterMandatory(int position)
isParameterMandatory
in interface FunctionDescription
public String getDisplayName(Locale locale)
getDisplayName
in interface FunctionDescription
public String getDescription(Locale locale)
getDescription
in interface FunctionDescription
public boolean isVolatile()
isVolatile
in interface FunctionDescription
public boolean isInfiniteParameterCount()
isInfiniteParameterCount
in interface FunctionDescription
public String getParameterDisplayName(int position, Locale locale)
getParameterDisplayName
in interface FunctionDescription
public String getParameterDescription(int position, Locale locale)
getParameterDescription
in interface FunctionDescription
public Object getDefaultValue(int position)
getDefaultValue
in interface FunctionDescription
position
-
public boolean isDeprecated()
isDeprecated
in interface FunctionDescription
public boolean isExperimental()
isExperimental
in interface FunctionDescription
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |