Class SelectQueryImpl

java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.handly.model.impl.support.Element
org.eclipse.handly.model.impl.support.SourceConstruct
com._1c.g5.v8.dt.core.handle.impl.V8SourceConstruct
com._1c.g5.v8.dt.internal.ql.core.SelectQueryImpl
All Implemented Interfaces:
IV8Element, IQlConstruct, ISelectQuery, org.eclipse.core.runtime.IAdaptable, org.eclipse.handly.model.IElement, org.eclipse.handly.model.IElementExtension, org.eclipse.handly.model.impl.IElementImpl, org.eclipse.handly.model.impl.IElementImplExtension, org.eclipse.handly.model.impl.ISourceConstructImpl, org.eclipse.handly.model.impl.ISourceConstructImplExtension, org.eclipse.handly.model.impl.ISourceElementImpl, org.eclipse.handly.model.impl.support.IElementImplSupport, org.eclipse.handly.model.impl.support.IModelManager.Provider, org.eclipse.handly.model.impl.support.ISourceConstructImplSupport, org.eclipse.handly.model.impl.support.ISourceElementImplSupport, org.eclipse.handly.model.ISourceConstruct, org.eclipse.handly.model.ISourceElement

public class SelectQueryImpl extends V8SourceConstruct implements ISelectQuery
ISelectQuery implementation
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.eclipse.handly.model.impl.IElementImplExtension

    org.eclipse.handly.model.impl.IElementImplExtension.CloseHint
  • Field Summary

    Fields inherited from interface org.eclipse.handly.model.impl.IElementImplExtension

    CLOSE_HINT, FORCE_OPEN

    Fields inherited from interface org.eclipse.handly.model.impl.support.IElementImplSupport

    NEW_ELEMENTS, NO_BODY
  • Constructor Summary

    Constructors
    Constructor
    Description
    SelectQueryImpl(org.eclipse.handly.model.impl.support.Element parent, String name, boolean isPlacementTable, boolean isAddTable, boolean isNestedQuery)
    Constructor of item for outline structure for QuerySchemaSelectQuery
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    default org.eclipse.handly.model.impl.support.IModelManager
     
    Gets text presentation of the element
    int
     
    boolean
    This option of select query maybe will be used for special icons in LabelProvider for this type query
    boolean
    This option of select query maybe will be used for special icons in LabelProvider for this type query
    boolean
    This option of select query maybe will be used for special icons in LabelProvider for this type query

    Methods inherited from class org.eclipse.handly.model.impl.support.SourceConstruct

    getOccurrenceCount_, setOccurrenceCount_

    Methods inherited from class org.eclipse.handly.model.impl.support.Element

    getName_, getParent_, toString

    Methods inherited from class org.eclipse.core.runtime.PlatformObject

    getAdapter

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.eclipse.handly.model.IElementExtension

    exists, getAncestor, getChildren, getChildren, getLocationUri, getName, getResource

    Methods inherited from interface org.eclipse.handly.model.impl.IElementImpl

    equalsAndSameParentChain_, fetchChildren_, fetchChildrenOfType_, getChildrenOfType_, getHandleMemento_, getLocationUri_, getName_, getRoot_, toDisplayString_

    Methods inherited from interface org.eclipse.handly.model.impl.IElementImplExtension

    close_, getBody_, getBody_, getChildren_

    Methods inherited from interface org.eclipse.handly.model.impl.support.IElementImplSupport

    canEqual_, close_, findBody_, getChildrenFromBody_, getElementManager_, getModel_, newDoesNotExistException_, open_, openParent_, peekAtBody_, remove_, removing_, toString_, toStringAncestors_, toStringBody_, toStringChildren_

    Methods inherited from interface org.eclipse.handly.model.impl.ISourceConstructImpl

    getParent_, getResource_

    Methods inherited from interface org.eclipse.handly.model.impl.support.ISourceConstructImplSupport

    buildStructure_, defaultEquals_, defaultHashCode_, exists_, isOpenable_, toStringName_, validateExistence_

    Methods inherited from interface org.eclipse.handly.model.impl.support.ISourceElementImplSupport

    getSourceElementAt_, getSourceElementAt_, getSourceElementInfo_

    Methods inherited from interface com._1c.g5.v8.dt.core.handle.IV8Element

    getParent, getRoot
  • Constructor Details

    • SelectQueryImpl

      public SelectQueryImpl(org.eclipse.handly.model.impl.support.Element parent, String name, boolean isPlacementTable, boolean isAddTable, boolean isNestedQuery)
      Constructor of item for outline structure for QuerySchemaSelectQuery
      Parameters:
      parent - parent item, cannot be null
      name - name of the element in outline structure, cannot be null
      isPlacementTable - true if QuerySchemaSelectQuery has placement table
      isAddTable - true if QuerySchemaSelectQuery has add placement table
      isNestedQuery - true if QuerySchemaSelectQuery is nested query
  • Method Details

    • isPlacementTable

      public boolean isPlacementTable()
      Description copied from interface: ISelectQuery
      This option of select query maybe will be used for special icons in LabelProvider for this type query
      Specified by:
      isPlacementTable in interface ISelectQuery
      Returns:
      true, if section "INTO" was found in select query
    • isNestedQuery

      public boolean isNestedQuery()
      Description copied from interface: ISelectQuery
      This option of select query maybe will be used for special icons in LabelProvider for this type query
      Specified by:
      isNestedQuery in interface ISelectQuery
      Returns:
      true, if this is nested query
    • isAddTable

      public boolean isAddTable()
      Description copied from interface: ISelectQuery
      This option of select query maybe will be used for special icons in LabelProvider for this type query
      Specified by:
      isAddTable in interface ISelectQuery
      Returns:
      true, if section "ADD" was found in select query
    • getPresentation

      public String getPresentation()
      Description copied from interface: ISelectQuery
      Gets text presentation of the element
      Specified by:
      getPresentation in interface ISelectQuery
      Returns:
      text presentation of the element, never null
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface org.eclipse.handly.model.IElement
      Overrides:
      hashCode in class org.eclipse.handly.model.impl.support.Element
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface org.eclipse.handly.model.IElement
      Overrides:
      equals in class org.eclipse.handly.model.impl.support.Element
    • getModelManager_

      default org.eclipse.handly.model.impl.support.IModelManager getModelManager_()
      Specified by:
      getModelManager_ in interface org.eclipse.handly.model.impl.support.IModelManager.Provider