Package com._1c.g5.v8.dt.dcs.expressions
Class ExpressionsUtil
java.lang.Object
com._1c.g5.v8.dt.dcs.expressions.ExpressionsUtil
- All Implemented Interfaces:
IDcsExpressionsUtil
Expressions util class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetResultType
(DataCompositionSchema schema, DcsAvailableSettingsSourceForSchema source, DcsAvailableSettingsSourceForSchema.FieldUse use, String nestedSchemaName, IV8Project v8project, String exprText) Get result type of expressionboolean
haveGroup
(DataCompositionSchema schema, DcsAvailableSettingsSourceForSchema source, DcsAvailableSettingsSourceForSchema.FieldUse use, String nestedSchemaName, IV8Project v8project, String exprText) Check whether expression contains group expression
-
Constructor Details
-
ExpressionsUtil
public ExpressionsUtil()
-
-
Method Details
-
getResultType
public TypeDescription getResultType(DataCompositionSchema schema, DcsAvailableSettingsSourceForSchema source, DcsAvailableSettingsSourceForSchema.FieldUse use, String nestedSchemaName, IV8Project v8project, String exprText) Description copied from interface:IDcsExpressionsUtil
Get result type of expression- Specified by:
getResultType
in interfaceIDcsExpressionsUtil
- Parameters:
schema
- schema object, can't be nullsource
- available fields source, can't be nulluse
- fields use variant, can't be nullv8project
- the V8 project, can't be nullexprText
- expression text, can't be null- Returns:
- type of expression, never null
-
haveGroup
public boolean haveGroup(DataCompositionSchema schema, DcsAvailableSettingsSourceForSchema source, DcsAvailableSettingsSourceForSchema.FieldUse use, String nestedSchemaName, IV8Project v8project, String exprText) Description copied from interface:IDcsExpressionsUtil
Check whether expression contains group expression- Specified by:
haveGroup
in interfaceIDcsExpressionsUtil
- Parameters:
schema
- schema object, can't be nullsource
- available fields source, can't be nulluse
- fields use variant, can't be nullv8project
- the V8 project, can't be nullexprText
- expression text, can't be null- Returns:
- whether expression contains group expression
-