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 |
isDeprecated() |
boolean |
isExperimental() |
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 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
Copyright © 2017 Hitachi Vantara. All rights reserved.