Class BuiltinFunctionProvider
- java.lang.Object
-
- com._1c.g5.v8.dt.dcs.expressions.functions.BuiltinFunctionProvider
-
- All Implemented Interfaces:
IFunctionProvider
public class BuiltinFunctionProvider extends Object implements IFunctionProvider
SpecialIFunctionProvider
collects items corresponding to the builtin methods for Expression language in DCS
-
-
Constructor Summary
Constructors Constructor Description BuiltinFunctionProvider(Collection<IExpressionsFunctionsItem> items)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpressionsFunctionsFunction
getFunctionByName(String name)
GetsExpressionsFunctionsFunction
by nameCollection<IExpressionsFunctionsItem>
getItems()
GetsIExpressionsFunctionsItem
s corresponding to the available elements in the Expression language in DCSboolean
hasItems()
Checks that there are items in provider
-
-
-
Constructor Detail
-
BuiltinFunctionProvider
public BuiltinFunctionProvider(Collection<IExpressionsFunctionsItem> items)
Constructor- Parameters:
items
- items collecting in the provider, cannot benull
-
-
Method Detail
-
getItems
public Collection<IExpressionsFunctionsItem> 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
public ExpressionsFunctionsFunction getFunctionByName(String name)
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
-
-