public class DefaultFunctionDescription extends Object implements FunctionDescription
| Constructor and Description |
|---|
DefaultFunctionDescription(String name) |
| Modifier and Type | Method and Description |
|---|---|
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 |
isInfiniteParameterCount() |
boolean |
isParameterMandatory(int position)
Defines, whether the parameter at the given position is mandatory.
|
boolean |
isVolatile() |
public DefaultFunctionDescription(String name)
public String getCanonicalName()
getCanonicalName in interface FunctionDescriptionpublic Type getValueType()
getValueType in interface FunctionDescriptionpublic FunctionCategory getCategory()
getCategory in interface FunctionDescriptionpublic int getParameterCount()
getParameterCount in interface FunctionDescriptionpublic Type getParameterType(int position)
FunctionDescriptiongetParameterType in interface FunctionDescriptionposition - The parameter index.public boolean isParameterMandatory(int position)
isParameterMandatory in interface FunctionDescriptionpublic String getDisplayName(Locale locale)
getDisplayName in interface FunctionDescriptionpublic String getDescription(Locale locale)
getDescription in interface FunctionDescriptionpublic boolean isVolatile()
isVolatile in interface FunctionDescriptionpublic boolean isInfiniteParameterCount()
isInfiniteParameterCount in interface FunctionDescriptionpublic String getParameterDisplayName(int position, Locale locale)
getParameterDisplayName in interface FunctionDescriptionpublic String getParameterDescription(int position, Locale locale)
getParameterDescription in interface FunctionDescriptionpublic Object getDefaultValue(int position)
getDefaultValue in interface FunctionDescriptionposition -