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) GetsExpressionsFunctionsFunction
by namegetItems()
GetsIExpressionsFunctionsItem
s corresponding to the available elements in the Expression language in DCSboolean
hasItems()
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:IFunctionProvider
GetsIExpressionsFunctionsItem
s corresponding to the available elements in the Expression language in DCS- Specified by:
getItems
in interfaceIFunctionProvider
- Returns:
- collection of
IExpressionsFunctionsItem
corresponding to the available elements in the Expression language in DCS, nevernull
-
getFunctionByName
Description copied from interface:IFunctionProvider
GetsExpressionsFunctionsFunction
by name- Specified by:
getFunctionByName
in interfaceIFunctionProvider
- Parameters:
name
- name of theExpressionsFunctionsFunction
, cannot benull
- Returns:
ExpressionsFunctionsFunction
ornull
if there is no items withname
-
hasItems
public boolean hasItems()Description copied from interface:IFunctionProvider
Checks that there are items in provider- Specified by:
hasItems
in interfaceIFunctionProvider
- Returns:
true
if there are items in provider,false
otherwise
-