/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ module com { module sun { module star { module container { interface XNameAccess; }; module lang { interface XComponent; }; };};}; module com { module sun { module star { module sdb { interface XSingleSelectQueryComposer; module tools { interface XTableName; interface XObjectNames; interface XDataSourceMetaData; /** encapsulates various useful functionality around a com::sun::star::sdb::Connection
Most of the functionality provided here is meaningful only relative to a given database connection. For instance, for quoting table names, you need the meta data instance of the connection. Thus, the entry point for obtaining a XConnectionTools instance is the com::sun::star::sdb::Connection service.
Note that nearly all functionality provided by this interface is also available by other means, it's only provided here for convenience purposes.
@since OOo 2.0.4 */ interface XConnectionTools { /** creates an instance supporting the XTableName interface, which can be used to manipulate table names for various purposes.The returned object is guaranteed to not be `NULL`.
*/ XTableName createTableName(); /** returns an instance supporting the XObjectNames interface, which provides access to functionality around table and query names.The returned object is guaranteed to not be `NULL`.
*/ XObjectNames getObjectNames(); /** provides access to the application-level data source meta data */ XDataSourceMetaData getDataSourceMetaData(); /** get fields for a result set given by a "command descriptor"A command descriptor here means: