Package com._1c.g5.v8.dt.ql.scoping
Interface IInnerFieldsFromSourceSectionFinder
- All Known Implementing Classes:
DcsInnerFieldsFromSourceSectionFinder,InnerFieldsFromSourceSectionFinder
public interface IInnerFieldsFromSourceSectionFinder
Special finder for inner fields of tables from source section of the query
-
Method Summary
Modifier and TypeMethodDescriptionCollection<org.eclipse.xtext.resource.IEObjectDescription>getInnerFieldsDescription(QuerySchemaOperator operator) Gets descriptions of all inner fields from source section ofoperatorCollection<org.eclipse.xtext.resource.IEObjectDescription>getInnerFieldsDescription(org.eclipse.emf.ecore.EObject context, List<QuerySchemaSource> sources) Gets descriptions of all inner fields from list ofQuerySchemaSourcegetSourceAlias(QuerySchemaOperator operator) Gets all alias fromQuerySchemaOperatorCollection<org.eclipse.xtext.resource.IEObjectDescription>getTableParameterFields(org.eclipse.emf.ecore.EObject context) Gets descriptions of all fields for parameter of source tablebooleanisAmbiguousField(QuerySchemaOperator operator, DbViewElement field) Checks that source section of theoperatorhas another (not equals tofield) field with the same namebooleanisInnerField(QuerySchemaOperator operator, DbViewElement field) Checks that source section of theoperatorhas inner field equals tofield
-
Method Details
-
getInnerFieldsDescription
Collection<org.eclipse.xtext.resource.IEObjectDescription> getInnerFieldsDescription(org.eclipse.emf.ecore.EObject context, List<QuerySchemaSource> sources) Gets descriptions of all inner fields from list ofQuerySchemaSource- Parameters:
context- abstract object containing list ofQuerySchemaSource, cannot benull- Returns:
- collection of the
IEObjectDescriptionof inner fields from source section
-
getInnerFieldsDescription
Collection<org.eclipse.xtext.resource.IEObjectDescription> getInnerFieldsDescription(QuerySchemaOperator operator) Gets descriptions of all inner fields from source section ofoperator- Parameters:
operator-QuerySchemaOperatorwith source section, cannot benull- Returns:
- collection of the
IEObjectDescriptionof inner fields from source section
-
getTableParameterFields
Collection<org.eclipse.xtext.resource.IEObjectDescription> getTableParameterFields(org.eclipse.emf.ecore.EObject context) Gets descriptions of all fields for parameter of source table- Parameters:
context- context object from parameter of source table, each parameter has own set of allowed fields, cannot benull- Returns:
- collection of the
IEObjectDescriptionfields for parameter of source table, nevernull
-
isAmbiguousField
Checks that source section of theoperatorhas another (not equals tofield) field with the same name- Parameters:
operator-QuerySchemaOperatorwith source section, cannot benullfield- checking field, cannot benull- Returns:
trueif source section of theoperatorhas another (not equals tofield) field with the same name,falseotherwise
-
isInnerField
Checks that source section of theoperatorhas inner field equals tofield- Parameters:
operator-QuerySchemaOperatorwith source section, cannot benullfield- checking field, cannot benull- Returns:
truethat source section of theoperatorhas inner field equals tofield,falseotherwise
-
getSourceAlias
Gets all alias fromQuerySchemaOperator- Parameters:
operator-QuerySchemaOperatorfor getting alias, cannot benull- Returns:
- collection of alias from
QuerySchemaOperator, nevernull
-