20#ifndef INCLUDED_CONNECTIVITY_SDBCX_VTABLE_HXX
21#define INCLUDED_CONNECTIVITY_SDBCX_VTABLE_HXX
23#include <com/sun/star/sdbcx/XDataDescriptorFactory.hpp>
24#include <com/sun/star/sdbcx/XIndexesSupplier.hpp>
25#include <com/sun/star/sdbcx/XRename.hpp>
26#include <com/sun/star/sdbcx/XAlterTable.hpp>
27#include <com/sun/star/sdbcx/XColumnsSupplier.hpp>
28#include <com/sun/star/sdbcx/XKeysSupplier.hpp>
29#include <com/sun/star/lang/XServiceInfo.hpp>
34#include <com/sun/star/container/XNamed.hpp>
48 typedef ::cppu::WeakComponentImplHelper< css::sdbcx::XColumnsSupplier,
49 css::sdbcx::XKeysSupplier,
50 css::container::XNamed,
54 css::sdbcx::XIndexesSupplier,
58 typedef ::comphelper::OIdPropertyArrayUsageHelper<OTable>
OTable_PROP;
81 using OTableDescriptor_BASE::rBHelper;
84 virtual ::cppu::IPropertyArrayHelper* createArrayHelper(sal_Int32 _nId )
const override;
86 virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper()
override;
94 OUString Description = OUString(),
95 OUString SchemaName = OUString(),
96 OUString CatalogName = OUString());
102 virtual void SAL_CALL acquire() noexcept override;
103 virtual
void SAL_CALL release() noexcept override;
104 virtual css::
uno::Any SAL_CALL queryInterface( const css::
uno::
Type & rType ) override;
106 virtual css::
uno::Sequence< css::
uno::
Type > SAL_CALL getTypes( ) override;
109 virtual
void construct() override;
110 virtual
void refreshColumns() override;
111 virtual
void refreshKeys();
112 virtual
void refreshIndexes();
114 virtual
void SAL_CALL disposing() override;
116 virtual css::
uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override;
118 virtual css::
uno::Reference< css::container::XNameAccess > SAL_CALL getColumns( ) override;
120 virtual css::
uno::Reference< css::container::XIndexAccess > SAL_CALL getKeys( ) override;
122 virtual OUString SAL_CALL getName() override;
123 virtual
void SAL_CALL setName( const OUString& aName ) override;
125 virtual css::
uno::Reference< css::beans::XPropertySet > SAL_CALL createDataDescriptor() override;
127 virtual css::
uno::Reference< css::container::XNameAccess > SAL_CALL getIndexes( ) override;
129 virtual
void SAL_CALL rename( const OUString& newName ) override;
131 virtual
void SAL_CALL alterColumnByName( const OUString& colName, const css::
uno::Reference< css::beans::XPropertySet >& descriptor ) override;
132 virtual
void SAL_CALL alterColumnByIndex( sal_Int32 index, const css::
uno::Reference< css::beans::XPropertySet >& descriptor ) override;
135 virtual css::
uno::Reference< css::sdbc::XDatabaseMetaData> getMetaData() const;
std::unique_ptr< OCollection > m_xIndexes
std::unique_ptr< OCollection > m_xKeys
std::unique_ptr< OCollection > m_xColumns
OTable(OCollection *_pTables, bool _bCase, const OUString &Name, OUString Type, OUString Description=OUString(), OUString SchemaName=OUString(), OUString CatalogName=OUString())
::comphelper::OIdPropertyArrayUsageHelper< OTable > OTable_PROP
::cppu::WeakComponentImplHelper< css::sdbcx::XColumnsSupplier, css::sdbcx::XKeysSupplier, css::container::XNamed, css::lang::XServiceInfo > OTableDescriptor_BASE
::cppu::ImplHelper4< css::sdbcx::XDataDescriptorFactory, css::sdbcx::XIndexesSupplier, css::sdbcx::XRename, css::sdbcx::XAlterTable > OTable_BASE