Class ExpressionsFunctionsFunction
java.lang.Object
com._1c.g5.v8.dt.dcs.expressions.functions.ExpressionsFunctionsStatement
com._1c.g5.v8.dt.dcs.expressions.functions.ExpressionsFunctionsFunction
- All Implemented Interfaces:
IExpressionsFunctionsItem
DCS expressions function
-
Constructor Summary
ConstructorsConstructorDescriptionExpressionsFunctionsFunction
(String[] names, TypeDescription retType) Constructor (builtin, without parameters)ExpressionsFunctionsFunction
(String[] names, String parametersTemplate, TypeDescription retType, TypeDescription parameterType) Constructor (builtin, 1 parameter)ExpressionsFunctionsFunction
(String[] names, String parametersTemplate, TypeDescription retType, TypeDescription[] parametersTypes) Constructor (builtin, all parameters)ExpressionsFunctionsFunction
(String[] names, String parametersTemplate, TypeDescription retType, TypeDescription[] parametersTypes, int minParametersSize, int maxParametersSize) Constructor (builtin, variable count of parameters)ExpressionsFunctionsFunction
(String nameEn, String nameRu, TypeDescription retType) Constructor (builtin, without parameters)ExpressionsFunctionsFunction
(String nameEn, String nameRu, String parametersTemplate, TypeDescription retType) Constructor (builtin, 1 parameter, type unknown)ExpressionsFunctionsFunction
(String nameEn, String nameRu, String parametersTemplate, TypeDescription retType, TypeDescription parameterType) Constructor (builtin, 1 parameter)ExpressionsFunctionsFunction
(String nameEn, String nameRu, String parametersTemplate, TypeDescription retType, TypeDescription[] parametersTypes) Constructor (builtin, all parameters)ExpressionsFunctionsFunction
(String nameEn, String nameRu, String parametersTemplate, TypeDescription retType, TypeDescription[] parametersTypes, int minParametersSize, int maxParametersSize) Constructor (builtin, variable count of parameters)ExpressionsFunctionsFunction
(String nameEn, String nameRu, String templateEn, String templateRu, TypeDescription retType, TypeDescription[] parametersTypes, int minParametersSize, int maxParametersSize, boolean builtin, boolean global) Constructor (full) -
Method Summary
Modifier and TypeMethodDescriptionint
Get maximum count of parametersint
Get minimal count of parametersGet types of parametersGet returning typeboolean
Is function builtinboolean
isGlobal()
Is function globalMethods inherited from class com._1c.g5.v8.dt.dcs.expressions.functions.ExpressionsFunctionsStatement
getName, getTemplate
-
Constructor Details
-
ExpressionsFunctionsFunction
public ExpressionsFunctionsFunction(String nameEn, String nameRu, String templateEn, String templateRu, TypeDescription retType, TypeDescription[] parametersTypes, int minParametersSize, int maxParametersSize, boolean builtin, boolean global) Constructor (full)- Parameters:
nameEn
- English name, can't benull
nameRu
- Russian name, can't benull
templateEn
- English template string, can't benull
templateRu
- Russian template string, can't benull
retType
- returning type, can't benull
parametersTypes
- types of parameters, can benull
minParametersSize
- minimal count of parametersmaxParametersSize
- maximum count of parametersbuiltin
- is function builtinglobal
- is function from global module
-
ExpressionsFunctionsFunction
public ExpressionsFunctionsFunction(String nameEn, String nameRu, String parametersTemplate, TypeDescription retType, TypeDescription[] parametersTypes, int minParametersSize, int maxParametersSize) Constructor (builtin, variable count of parameters)- Parameters:
nameEn
- English name, can't benull
nameRu
- Russian name, can't benull
parametersTemplate
- parameters template string, can't benull
retType
- returning type, can't benull
parametersTypes
- types of parameters, can benull
minParametersSize
- minimal count of parametersmaxParametersSize
- maximum count of parameters
-
ExpressionsFunctionsFunction
public ExpressionsFunctionsFunction(String[] names, String parametersTemplate, TypeDescription retType, TypeDescription[] parametersTypes, int minParametersSize, int maxParametersSize) Constructor (builtin, variable count of parameters)- Parameters:
names
- English and Russian names, can't benull
parametersTemplate
- parameters template string, can't benull
retType
- returning type, can't benull
parametersTypes
- types of parameters, can benull
minParametersSize
- minimal count of parametersmaxParametersSize
- maximum count of parameters
-
ExpressionsFunctionsFunction
public ExpressionsFunctionsFunction(String nameEn, String nameRu, String parametersTemplate, TypeDescription retType, TypeDescription[] parametersTypes) Constructor (builtin, all parameters)- Parameters:
nameEn
- English name, can't benull
nameRu
- Russian name, can't benull
parametersTemplate
- parameters template string, can't benull
retType
- returning type, can't benull
parametersTypes
- types of parameters, can benull
-
ExpressionsFunctionsFunction
public ExpressionsFunctionsFunction(String[] names, String parametersTemplate, TypeDescription retType, TypeDescription[] parametersTypes) Constructor (builtin, all parameters)- Parameters:
names
- English and Russian names, can't benull
parametersTemplate
- parameters template string, can't benull
retType
- returning type, can't benull
parametersTypes
- types of parameters, can benull
-
ExpressionsFunctionsFunction
public ExpressionsFunctionsFunction(String nameEn, String nameRu, String parametersTemplate, TypeDescription retType, TypeDescription parameterType) Constructor (builtin, 1 parameter)- Parameters:
nameEn
- English name, can't benull
nameRu
- Russian name, can't benull
parametersTemplate
- parameters template string, can't benull
retType
- returning type, can't benull
parameterType
- types of parameter, can benull
-
ExpressionsFunctionsFunction
public ExpressionsFunctionsFunction(String[] names, String parametersTemplate, TypeDescription retType, TypeDescription parameterType) Constructor (builtin, 1 parameter)- Parameters:
names
- English and Russian names, can't benull
parametersTemplate
- parameters template string, can't benull
retType
- returning type, can't benull
parameterType
- types of parameter, can benull
-
ExpressionsFunctionsFunction
public ExpressionsFunctionsFunction(String nameEn, String nameRu, String parametersTemplate, TypeDescription retType) Constructor (builtin, 1 parameter, type unknown)- Parameters:
nameEn
- English name, can't benull
nameRu
- Russian name, can't benull
parametersTemplate
- parameters template string, can't benull
retType
- returning type, can't benull
-
ExpressionsFunctionsFunction
Constructor (builtin, without parameters)- Parameters:
nameEn
- English name, can't benull
nameRu
- Russian name, can't benull
retType
- returning type, can't benull
-
ExpressionsFunctionsFunction
Constructor (builtin, without parameters)- Parameters:
names
- English and Russian names, can't benull
retType
- returning type, can't benull
-
-
Method Details
-
getRetType
Get returning type- Returns:
- type description, never
null
-
getParametersTypes
Get types of parameters- Returns:
- list of parameter's types,
null
if function has not parameters
-
getMinParametersSize
public int getMinParametersSize()Get minimal count of parameters- Returns:
- minimal count of parameters
-
getMaxParametersSize
public int getMaxParametersSize()Get maximum count of parameters- Returns:
- maximum count of parameters
-
isBuiltin
public boolean isBuiltin()Is function builtin- Returns:
-
isGlobal
public boolean isGlobal()Is function global- Returns:
-