22#include <com/sun/star/sdbc/XConnection.hpp>
35 class OContainerMediator;
36 typedef ::comphelper::OIdPropertyArrayUsageHelper< ODBTable >
ODBTable_PROP;
55 virtual ::cppu::IPropertyArrayHelper*
createArrayHelper( sal_Int32 _nId)
const override;
56 virtual ::cppu::IPropertyArrayHelper & SAL_CALL
getInfoHelper()
override;
61 virtual void columnAppended(
const css::uno::Reference< css::beans::XPropertySet >& _rxSourceDescriptor )
override;
68 virtual ::connectivity::sdbcx::OCollection*
createColumns(const ::std::vector< OUString>& _rNames)
override;
74 virtual ::connectivity::sdbcx::OCollection*
createKeys(const ::std::vector< OUString>& _rNames)
override;
80 virtual ::connectivity::sdbcx::OCollection*
createIndexes(const ::std::vector< OUString>& _rNames)
override;
83 virtual void SAL_CALL
disposing()
override;
96 ,
const css::uno::Reference< css::sdbc::XConnection >& _rxConn
97 ,
const OUString& _rCatalog
98 ,
const OUString& _rSchema
99 ,
const OUString& _rName
100 ,
const OUString& _rType
101 ,
const OUString& _rDesc
102 ,
const css::uno::Reference< css::container::XNameAccess >& _rxColumnDefinitions);
106 ,
const css::uno::Reference< css::sdbc::XConnection >& _rxConn);
113 virtual css::uno::Any SAL_CALL
queryInterface(
const css::uno::Type& aType )
override;
115 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes( )
override;
122 virtual void SAL_CALL
getFastPropertyValue(css::uno::Any& rValue, sal_Int32 nHandle)
const override;
125 virtual void SAL_CALL
rename(
const OUString& _rNewName )
override;
128 virtual void SAL_CALL
alterColumnByName(
const OUString& _rName,
const css::uno::Reference< css::beans::XPropertySet >& _rxDescriptor )
override;
132 using OTable_Base::getFastPropertyValue;
virtual ::cppu::IPropertyArrayHelper * createArrayHelper(sal_Int32 _nId) const override
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual void SAL_CALL rename(const OUString &_rNewName) override
virtual ::connectivity::sdbcx::OCollection * createColumns(const ::std::vector< OUString > &_rNames) override
creates the column collection for the table
virtual void columnAppended(const css::uno::Reference< css::beans::XPropertySet > &_rxSourceDescriptor) override
notifies that a column, created from a column descriptor, has been appended
virtual css::uno::Reference< css::beans::XPropertySet > createColumnDescriptor() override
creates a column descriptor object.
virtual void SAL_CALL getFastPropertyValue(css::uno::Any &rValue, sal_Int32 nHandle) const override
ODBTable(connectivity::sdbcx::OCollection *_pTables, const css::uno::Reference< css::sdbc::XConnection > &_rxConn)
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &aType) override
virtual ::connectivity::sdbcx::OCollection * createIndexes(const ::std::vector< OUString > &_rNames) override
creates the index collection for the table
virtual ~ODBTable() override
virtual ::connectivity::sdbcx::OCollection * createKeys(const ::std::vector< OUString > &_rNames) override
creates the key collection for the table
virtual void SAL_CALL disposing() override
ODBTable(connectivity::sdbcx::OCollection *_pTables, const css::uno::Reference< css::sdbc::XConnection > &_rxConn, const OUString &_rCatalog, const OUString &_rSchema, const OUString &_rName, const OUString &_rType, const OUString &_rDesc, const css::uno::Reference< css::container::XNameAccess > &_rxColumnDefinitions)
constructs a wrapper supporting the com.sun.star.sdb.Table service.
css::uno::Reference< css::container::XNameAccess > m_xDriverColumns
virtual void construct() override
::rtl::Reference< OContainerMediator > m_pColumnMediator
virtual rtl::Reference< OColumn > createColumn(const OUString &_rName) const override
creates an OColumn object which should represent the column with a given name
virtual void SAL_CALL alterColumnByName(const OUString &_rName, const css::uno::Reference< css::beans::XPropertySet > &_rxDescriptor) override
virtual void columnDropped(const OUString &_sName) override
notifies that a column with a given name has been dropped
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper() override
virtual ::cppu::IPropertyArrayHelper * createArrayHelper(sal_Int32 _nId) const override
css::uno::Reference< css::container::XNameAccess > m_xColumnDefinitions
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
::comphelper::OIdPropertyArrayUsageHelper< ODBTable > ODBTable_PROP
::connectivity::OTableHelper OTable_Base