Class BuiltinFunctionProvider
java.lang.Object
com._1c.g5.v8.dt.dcs.expressions.functions.BuiltinFunctionProvider
- All Implemented Interfaces:
IFunctionProvider
Special
IFunctionProvider collects items corresponding to the builtin methods for Expression language in DCS-
Constructor Summary
ConstructorsConstructorDescriptionConstructor -
Method Summary
Modifier and TypeMethodDescriptiongetFunctionByName(String name) GetsExpressionsFunctionsFunctionby namegetItems()GetsIExpressionsFunctionsItems corresponding to the available elements in the Expression language in DCSbooleanhasItems()Checks that there are items in provider
-
Constructor Details
-
BuiltinFunctionProvider
Constructor- Parameters:
items- items collecting in the provider, cannot benull
-
-
Method Details
-
getItems
Description copied from interface:IFunctionProviderGetsIExpressionsFunctionsItems corresponding to the available elements in the Expression language in DCS- Specified by:
getItemsin interfaceIFunctionProvider- Returns:
- collection of
IExpressionsFunctionsItemcorresponding to the available elements in the Expression language in DCS, nevernull
-
getFunctionByName
Description copied from interface:IFunctionProviderGetsExpressionsFunctionsFunctionby name- Specified by:
getFunctionByNamein interfaceIFunctionProvider- Parameters:
name- name of theExpressionsFunctionsFunction, cannot benull- Returns:
ExpressionsFunctionsFunctionornullif there is no items withname
-
hasItems
public boolean hasItems()Description copied from interface:IFunctionProviderChecks that there are items in provider- Specified by:
hasItemsin interfaceIFunctionProvider- Returns:
trueif there are items in provider,falseotherwise
-