Class CommonModuleFunctionProvider
java.lang.Object
com._1c.g5.v8.dt.dcs.expressions.functions.CommonModuleFunctionProvider
- All Implemented Interfaces:
IFunctionProvider
Special
IFunctionProvider
collects items corresponding to the methods from CommonModule
for Expression language in DCS-
Constructor Summary
ConstructorsConstructorDescriptionCommonModuleFunctionProvider
(String moduleName, org.eclipse.emf.common.util.URI uri, boolean isGlobal, IBmObject contextObject, ExportMethodTypeProvider exportMethodTypeProvider, INamingService namingService, IBmModelManager modelManager) Constructor -
Method Summary
Modifier and TypeMethodDescriptiongetFunctionByName
(String name) GetsExpressionsFunctionsFunction
by nameCollection<? extends IExpressionsFunctionsItem>
getItems()
GetsIExpressionsFunctionsItem
s corresponding to the available elements in the Expression language in DCSboolean
hasItems()
Checks that there are items in provider
-
Constructor Details
-
CommonModuleFunctionProvider
public CommonModuleFunctionProvider(String moduleName, org.eclipse.emf.common.util.URI uri, boolean isGlobal, IBmObject contextObject, ExportMethodTypeProvider exportMethodTypeProvider, INamingService namingService, IBmModelManager modelManager) Constructor- Parameters:
moduleName
- name of theCommonModule
, cannot benull
uri
-URI
of theCommonModule
, cannot benull
isGlobal
-true
ifCommonModule
is global,false
otherwisecontextObject
- context object for resolving elements, cannot benull
exportMethodTypeProvider
-ExportMethodTypeProvider
for getting types of the method elements, cannot benull
namingService
-INamingService
for converting URIs and FQNs, cannot benull
modelManager
-IBmModelManager
for executing BM tasks, 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
-