Package com.adbs.querybuilder
Class DataSource
java.lang.Object
com.adbs.querybuilder.ControlOwner
com.adbs.querybuilder.DataSourceBase
com.adbs.querybuilder.DataSource
- All Implemented Interfaces:
- Disposable,- SyntaxProviderChangedEventListener,- UpdatedEventListener,- ActionListener,- EventListener
- Direct Known Subclasses:
- DataSourceObject,- DataSourceQuery
- 
Field SummaryFields inherited from class com.adbs.querybuilder.DataSourceBaseastFromSource, queryFields inherited from class com.adbs.querybuilder.ControlOwnerchildren, controls, queryBuilder, sqlContext
- 
Constructor SummaryConstructorsConstructorDescriptionDataSource(DatasourceGroup owner, DatasourceGroup updateParent, QueryBuilder queryBuilder) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidcalcFieldRect(SQLQualifiedName field) voidcollectVisibleDataSources(List<DataSource> dataSourceList) protected ComponentcreateControlInternal(int i) voiddispose()protected voidprotected voidgetAlias()intprotected StringvoidgetDatasources(List list) intgetIcon()intgetLeft()intgetTop()intgetWidth()protected booleanbooleanisFieldSelected(MetadataField field) booleanvoidloadLayout(Element unionSubQuery, SQLBuilder sqlBuilder) voidprotected voidrestoreControlParams(int i) protected voidsaveControlParams(int i) voidsaveLayout(Document document, Element unionSubQuery, SQLBuilder sqlBuilder) voidvoidvoidsetHeight(int value) voidsetLeft(int value) voidsetTop(int value) voidsetWidth(int value) voidprotected voidvoidprotected voidupdateContolParams(int i) protected voidvoidupdatedEventOccurred(UpdatedEvent event) Methods inherited from class com.adbs.querybuilder.DataSourceBaseaddLinksFromExpression, containsDatasource, createResultAST, getASTChildren, getDatasourceByClass, getFromSource, getGroup, getJoinKind, getJoinKindClass, getQuery, invalidateLinks, loadJoins, realignLinks, setGroup, setJoinKind, setJoinKindClassMethods inherited from class com.adbs.querybuilder.ControlOwneraddAfterUpdatedEventListener, addDestroyingEventListener, beginUpdate, calcAcOwnerFromOwner, canCreateControls, collectSubqueryProxiesByRootNode, createControls, destroyCachedResultASTs, destroyControls, doCreateControls, doDestroyControls, doSQLUpdated, doUpdateContolParams, editProps, endUpdate, fireAfterUpdatedEvent, fireDestroyingEvent, gatherPrepareAndFixupContext, getASTChildrenForSubtree, getChildrenCount, getControl, getOwner, getQueryBuilder, getResultAST, getResultASTInternal, getResultSQL, getResultSQL, getSQLContext, getSubqueryCountByRootNode, getUpdateParent, getVisibleDataSources, isControlsCreated, isDisposing, isUpdating, loadSubQueries, makeVisible, notifyDatasourceDestroying, notifyDatasourceDestroyingInternal, notifyDatasourceReplaced, notifyDatasourceReplacedInternal, notifySQLUpdated, notifySQLUpdatedRecursive, registerUpdateChild, removeAfterUpdatedEventListener, removeDestroyingEventListener, setDisposing, setOwner, setUpdateParent, showSubQueriesPopup, unregisterUpdateChild
- 
Constructor Details- 
DataSource
 
- 
- 
Method Details- 
disposepublic void dispose()- Specified by:
- disposein interface- Disposable
- Overrides:
- disposein class- DataSourceBase
 
- 
getDatasourceType
- 
getAlias
- 
setAlias
- 
getAliasAST
- 
getCaption
- 
getFields
- 
getDatasourceAST
- 
getMetadataObject
- 
getNameInQuery
- 
getDSControl
- 
getLeftpublic int getLeft()
- 
setLeftpublic void setLeft(int value) 
- 
getToppublic int getTop()
- 
setToppublic void setTop(int value) 
- 
getWidthpublic int getWidth()
- 
setWidthpublic void setWidth(int value) 
- 
getHeightpublic int getHeight()
- 
setHeightpublic void setHeight(int value) 
- 
setBounds
- 
getIcon
- 
syntaxProviderChangedEventOccurred- Specified by:
- syntaxProviderChangedEventOccurredin interface- SyntaxProviderChangedEventListener
- Overrides:
- syntaxProviderChangedEventOccurredin class- DataSourceBase
 
- 
doAfterUpdatedprotected void doAfterUpdated()- Overrides:
- doAfterUpdatedin class- ControlOwner
 
- 
getControlsCountpublic int getControlsCount()- Overrides:
- getControlsCountin class- ControlOwner
 
- 
createControlInternal- Overrides:
- createControlInternalin class- ControlOwner
 
- 
saveControlParamsprotected void saveControlParams(int i) - Overrides:
- saveControlParamsin class- ControlOwner
 
- 
restoreControlParamsprotected void restoreControlParams(int i) - Overrides:
- restoreControlParamsin class- ControlOwner
 
- 
updateContolParamsprotected void updateContolParams(int i) - Overrides:
- updateContolParamsin class- ControlOwner
 
- 
updateDatasourceTypeprotected void updateDatasourceType()
- 
updateCaptionprotected void updateCaption()
- 
getDataSourceName- Overrides:
- getDataSourceNamein class- DataSourceBase
 
- 
saveLayout- Overrides:
- saveLayoutin class- DataSourceBase
 
- 
loadLayout- Overrides:
- loadLayoutin class- DataSourceBase
 
- 
refreshMetadata- Throws:
- QueryBuilderException
 
- 
updateCheckspublic void updateChecks()- Overrides:
- updateChecksin class- DataSourceBase
 
- 
loadFromAST- Overrides:
- loadFromASTin class- DataSourceBase
 
- 
calcFieldRect
- 
getPopupMenu- Overrides:
- getPopupMenuin class- ControlOwner
 
- 
getDatasources- Overrides:
- getDatasourcesin class- DataSourceBase
 
- 
actionPerformed- Specified by:
- actionPerformedin interface- ActionListener
 
- 
updatedEventOccurred- Specified by:
- updatedEventOccurredin interface- UpdatedEventListener
 
- 
doCustomizeDatasourceFieldsListprotected void doCustomizeDatasourceFieldsList()
- 
isFieldSelected
- 
isDeletedFieldsCleanedprotected boolean isDeletedFieldsCleaned()
- 
getObjectNameInQuery
- 
collectVisibleDataSources
- 
getLinkedObjectsMenuItems
 
-