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
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
ConstructorsConstructorDescriptionSelectQueryImpl
(org.eclipse.handly.model.impl.support.Element parent, String name, boolean isPlacementTable, boolean isAddTable, boolean isNestedQuery) Constructor of item for outline structure forQuerySchemaSelectQuery
-
Method Summary
Modifier and TypeMethodDescriptionboolean
default org.eclipse.handly.model.impl.support.IModelManager
Gets text presentation of the elementint
hashCode()
boolean
This option of select query maybe will be used for special icons in LabelProvider for this type queryboolean
This option of select query maybe will be used for special icons in LabelProvider for this type queryboolean
This option of select query maybe will be used for special icons in LabelProvider for this type queryMethods 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 forQuerySchemaSelectQuery
- Parameters:
parent
- parent item, cannot benull
name
- name of the element in outline structure, cannot benull
isPlacementTable
-true
ifQuerySchemaSelectQuery
has placement tableisAddTable
-true
ifQuerySchemaSelectQuery
has add placement tableisNestedQuery
-true
ifQuerySchemaSelectQuery
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 interfaceISelectQuery
- 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 interfaceISelectQuery
- 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 interfaceISelectQuery
- Returns:
- true, if section "ADD" was found in select query
-
getPresentation
Description copied from interface:ISelectQuery
Gets text presentation of the element- Specified by:
getPresentation
in interfaceISelectQuery
- Returns:
- text presentation of the element, never
null
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceorg.eclipse.handly.model.IElement
- Overrides:
hashCode
in classorg.eclipse.handly.model.impl.support.Element
-
equals
- Specified by:
equals
in interfaceorg.eclipse.handly.model.IElement
- Overrides:
equals
in classorg.eclipse.handly.model.impl.support.Element
-
getModelManager_
default org.eclipse.handly.model.impl.support.IModelManager getModelManager_()- Specified by:
getModelManager_
in interfaceorg.eclipse.handly.model.impl.support.IModelManager.Provider
-