Class QlDcsValidator
- java.lang.Object
-
- org.eclipse.xtext.validation.AbstractInjectableValidator
-
- org.eclipse.xtext.validation.AbstractDeclarativeValidator
-
- com._1c.g5.v8.dt.ql.validation.AbstractQlValidator
-
- com._1c.g5.v8.dt.ql.validation.QlValidator
-
- com._1c.g5.v8.dt.ql.dcs.validation.AbstractQlDcsValidator
-
- com._1c.g5.v8.dt.ql.dcs.validation.QlDcsValidator
-
- All Implemented Interfaces:
org.eclipse.emf.ecore.EValidator
,org.eclipse.xtext.validation.ValidationMessageAcceptor
public class QlDcsValidator extends AbstractQlDcsValidator
Custom validation rules. see http://www.eclipse.org/Xtext/documentation.html#validation
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.xtext.validation.AbstractDeclarativeValidator
org.eclipse.xtext.validation.AbstractDeclarativeValidator.MethodWrapper, org.eclipse.xtext.validation.AbstractDeclarativeValidator.State, org.eclipse.xtext.validation.AbstractDeclarativeValidator.StateAccess
-
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.EValidator
org.eclipse.emf.ecore.EValidator.Descriptor, org.eclipse.emf.ecore.EValidator.PatternMatcher, org.eclipse.emf.ecore.EValidator.Registry, org.eclipse.emf.ecore.EValidator.SubstitutionLabelProvider, org.eclipse.emf.ecore.EValidator.ValidationDelegate
-
-
Constructor Summary
Constructors Constructor Description QlDcsValidator()
-
Method Summary
-
Methods inherited from class com._1c.g5.v8.dt.ql.dcs.validation.AbstractQlDcsValidator
getEPackages
-
Methods inherited from class com._1c.g5.v8.dt.ql.validation.QlValidator
checkAlias, checkAllowedDbView, checkALotSemicolons, checkAmbiguousField, checkBinaryOperationForNullLiteral, checkCompoundExpression, checkDropQuery, checkDuplicateAlias, checkDuplicateAlias, checkEmptyTable, checkExistenceAliasInSource, checkForDuplicates, checkForDuplicates, checkForEmptyTable, checkForUpdateTables, checkGroupByFieldForNotFix, checkGroupByForNestedQueryAndInExpression, checkGroupByForNestedTable, checkGroupByInQueryWithHaving, checkGroupingSets, checkIndexesWithInto, checkIndexFieldsInSelectFields, checkIntoLocated, checkIntoTableName, checkLogicalExpression, checkLogicalExpressionInCase, checkLogicalExpressionInJoin, checkMultiPartCommonExpression, checkNestedTableForFieldsFronAnotherNestedTable, checkNestedTableInTotals, checkNestedTableVirtualFieldsInTotalsPoint, checkNestedTableWithDistinct, checkNumberFieldsInUnions, checkNumberLiteralExpression, checkOrderByForConstNumber, checkParameters, checkPeriodsTotalsControlPoint, checkResolveSourceTable, checkSelectFieldsForTable, checkSortingTheSameField, checkStarExpression, checkTableWithParametersForVirtual, checkTempTableQuery, checkUnaryOperationForNullLiteral, checkUnionOrderFieldsInSelectFields, checkUnionSimpleAndTableField, checkUsingHierarchyOrderWithTotals, checkUsingIntoInNestedQuery, checkUsingOrderInNestedQuery, checkUsingTotalsInNestedQuery, exprInAliasSelectFields, findTableInSource, findTableInSourceWithAlias, inEmptyTable, processingCheckResult
-
Methods inherited from class org.eclipse.xtext.validation.AbstractDeclarativeValidator
acceptError, acceptError, acceptInfo, acceptInfo, acceptWarning, acceptWarning, addIssue, addIssue, addIssue, addIssue, addIssue, addIssueToState, checkDone, checkIsFromCurrentlyCheckedResource, createDiagnostic, createDiagnostic, createMethodWrapper, error, error, error, error, error, error, error, error, getCancelIndicator, getChain, getCheckMode, getContext, getCurrentMethod, getCurrentObject, getIssueSeverities, getMessageAcceptor, guard, handleExceptionDuringValidation, info, info, info, info, info, info, info, info, internalValidate, isIgnored, newInstance, setInjector, setMessageAcceptor, toDiagnosticSeverity, warning, warning, warning, warning, warning, warning, warning, warning
-
-
-
-
Method Detail
-
checkSelectDcsInUnionSelect
public void checkSelectDcsInUnionSelect(QuerySchemaSelectQuery query)
-
checkTotals
public void checkTotals(QuerySchemaSelectQuery query)
-
checkSelectDcsForExpression
public void checkSelectDcsForExpression(SelectFieldsCompositionDataQuerySchema selectDcs)
-
checkSelectDcsNestedExpressionFieldsForResolve
public void checkSelectDcsNestedExpressionFieldsForResolve(SelectFieldsCompositionDataQuerySchema selectDcs)
-
checkAliasSelectDcs
public void checkAliasSelectDcs(SelectFieldsCompositionDataQuerySchema selectDcs)
-
checkFieldNameSelectDcs
public void checkFieldNameSelectDcs(QuerySchemaSelectQuery query)
-
checkExpressionWithStarByAlias
public void checkExpressionWithStarByAlias(QuerySchemaExpression expression)
- Overrides:
checkExpressionWithStarByAlias
in classQlValidator
-
checkQSExpression
public void checkQSExpression(QuerySchemaExpression qsExpr)
- Overrides:
checkQSExpression
in classQlValidator
-
checkTypesInCharacteristic
public void checkTypesInCharacteristic(CharacteristicCompositionDataQuerySchema characteristic)
-
checkResolvingTablesInCharacteristic
public void checkResolvingTablesInCharacteristic(CharacteristicTypesAndValues typesValues, org.eclipse.emf.ecore.EStructuralFeature feature)
-
checkAliasInFiltersDcs
public void checkAliasInFiltersDcs(FilterCompositionDataQuerySchema filter)
-
checkAliasInTableParameterssDcs
public void checkAliasInTableParameterssDcs(QuerySchemaTableParameter parameters)
-
checkCurlyBracketsInDcsExtension
public void checkCurlyBracketsInDcsExtension(DcsExtensionPart dcsExtension)
-
exprInAliasSelectFields
protected int exprInAliasSelectFields(QuerySchemaExpression expr, QuerySchemaSelectQuery query)
- Overrides:
exprInAliasSelectFields
in classQlValidator
-
getAbstractSource
protected ArrayList<AbstractQuerySchemaSource> getAbstractSource(ArrayList<AbstractQuerySchemaSource> seed, QuerySchemaSource expr)
- Overrides:
getAbstractSource
in classQlValidator
-
findTableInSource
protected AbstractQuerySchemaSource findTableInSource(List<AbstractQuerySchemaQuerySourceJoin> joins, String tableName, boolean checkForAlias)
- Overrides:
findTableInSource
in classQlValidator
-
findTableInSourceWithAlias
protected String findTableInSourceWithAlias(List<AbstractQuerySchemaQuerySourceJoin> joins, String tableName)
- Overrides:
findTableInSourceWithAlias
in classQlValidator
-
checkEachDbView
protected void checkEachDbView(org.eclipse.emf.ecore.EObject object, QuerySchemaSelectQuery query)
- Overrides:
checkEachDbView
in classQlValidator
-
-