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 TypeMethodDescriptionintGet maximum count of parametersintGet minimal count of parametersGet types of parametersGet returning typebooleanIs function builtinbooleanisGlobal()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 benullnameRu- Russian name, can't benulltemplateEn- English template string, can't benulltemplateRu- Russian template string, can't benullretType- returning type, can't benullparametersTypes- types of parameters, can benullminParametersSize- 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 benullnameRu- Russian name, can't benullparametersTemplate- parameters template string, can't benullretType- returning type, can't benullparametersTypes- types of parameters, can benullminParametersSize- 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 benullparametersTemplate- parameters template string, can't benullretType- returning type, can't benullparametersTypes- types of parameters, can benullminParametersSize- 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 benullnameRu- Russian name, can't benullparametersTemplate- parameters template string, can't benullretType- returning type, can't benullparametersTypes- 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 benullparametersTemplate- parameters template string, can't benullretType- returning type, can't benullparametersTypes- 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 benullnameRu- Russian name, can't benullparametersTemplate- parameters template string, can't benullretType- returning type, can't benullparameterType- 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 benullparametersTemplate- parameters template string, can't benullretType- returning type, can't benullparameterType- 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 benullnameRu- Russian name, can't benullparametersTemplate- parameters template string, can't benullretType- returning type, can't benull
-
ExpressionsFunctionsFunction
Constructor (builtin, without parameters)- Parameters:
nameEn- English name, can't benullnameRu- Russian name, can't benullretType- returning type, can't benull
-
ExpressionsFunctionsFunction
Constructor (builtin, without parameters)- Parameters:
names- English and Russian names, can't benullretType- 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,
nullif 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:
-