diff options
author | Ocke Janssen <oj@openoffice.org> | 2000-10-17 07:47:14 +0000 |
---|---|---|
committer | Ocke Janssen <oj@openoffice.org> | 2000-10-17 07:47:14 +0000 |
commit | 01438ad520d5e6da63dc9efd0ee02e87fbf7874d (patch) | |
tree | 52cc44e89c56f437c5e9587ce88cf556bd1a07fe /connectivity | |
parent | 8b44468d158aa90a27198cdeeea111a18d296264 (diff) |
getName impl
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/adabas/BTable.cxx | 10 | ||||
-rw-r--r-- | connectivity/source/drivers/ado/ATable.cxx | 6 | ||||
-rw-r--r-- | connectivity/source/inc/adabas/BTable.hxx | 6 | ||||
-rw-r--r-- | connectivity/source/inc/ado/ATable.hxx | 20 |
4 files changed, 24 insertions, 18 deletions
diff --git a/connectivity/source/drivers/adabas/BTable.cxx b/connectivity/source/drivers/adabas/BTable.cxx index 880e08da8119..56169503a264 100644 --- a/connectivity/source/drivers/adabas/BTable.cxx +++ b/connectivity/source/drivers/adabas/BTable.cxx @@ -2,9 +2,9 @@ * * $RCSfile: BTable.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: oj $ $Date: 2000-10-09 11:31:05 $ + * last change: $Author: oj $ $Date: 2000-10-17 08:46:45 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -585,6 +585,12 @@ void SAL_CALL OAdabasTable::alterColumnByIndex( sal_Int32 index, const Reference return ::comphelper::concatSequences(aTypes.getTypes(),OTable_TYPEDEF::getTypes()); } +// ------------------------------------------------------------------------- +::rtl::OUString SAL_CALL OAdabasTable::getName() throw(::com::sun::star::uno::RuntimeException) +{ + return m_SchemaName + '.' + m_Name; +} + diff --git a/connectivity/source/drivers/ado/ATable.cxx b/connectivity/source/drivers/ado/ATable.cxx index 3762b6652ba5..e308952a7045 100644 --- a/connectivity/source/drivers/ado/ATable.cxx +++ b/connectivity/source/drivers/ado/ATable.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ATable.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: oj $ $Date: 2000-10-09 11:23:39 $ + * last change: $Author: oj $ $Date: 2000-10-17 08:47:14 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -440,5 +440,3 @@ void OAdoTable::getFastPropertyValue(Any& rValue,sal_Int32 nHandle) const return sRetStr; } - - diff --git a/connectivity/source/inc/adabas/BTable.hxx b/connectivity/source/inc/adabas/BTable.hxx index 8f87c7fe5ad3..47bebe7a78ea 100644 --- a/connectivity/source/inc/adabas/BTable.hxx +++ b/connectivity/source/inc/adabas/BTable.hxx @@ -2,9 +2,9 @@ * * $RCSfile: BTable.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: oj $ $Date: 2000-10-09 11:44:40 $ + * last change: $Author: oj $ $Date: 2000-10-17 08:43:08 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -126,6 +126,8 @@ namespace connectivity // XAlterTable virtual void SAL_CALL alterColumnByName( const ::rtl::OUString& colName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL alterColumnByIndex( sal_Int32 index, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException); + // XNamed + virtual ::rtl::OUString SAL_CALL getName() throw(::com::sun::star::uno::RuntimeException); // sal_Bool create() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); }; diff --git a/connectivity/source/inc/ado/ATable.hxx b/connectivity/source/inc/ado/ATable.hxx index 97083aaeb5c8..1bd457c40522 100644 --- a/connectivity/source/inc/ado/ATable.hxx +++ b/connectivity/source/inc/ado/ATable.hxx @@ -2,9 +2,9 @@ * * $RCSfile: ATable.hxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 16:14:25 $ + * last change: $Author: oj $ $Date: 2000-10-17 08:43:56 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -102,24 +102,24 @@ namespace connectivity const ::rtl::OUString& _CatalogName = ::rtl::OUString()); // XINterface - ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException); + ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException); //XTypeProvider - virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw(::com::sun::star::uno::RuntimeException); + virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw(::com::sun::star::uno::RuntimeException); const ::rtl::OUString& getName() const { return m_Name; } const ::rtl::OUString& getSchema() const { return m_SchemaName; } // com::sun::star::lang::XUnoTunnel - virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException); - static ::com::sun::star::uno::Sequence< sal_Int8 > getUnoTunnelImplementationId(); + virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException); + static ::com::sun::star::uno::Sequence< sal_Int8 > getUnoTunnelImplementationId(); // XRename - virtual void SAL_CALL rename( const ::rtl::OUString& newName ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::container::ElementExistException, ::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL rename( const ::rtl::OUString& newName ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::container::ElementExistException, ::com::sun::star::uno::RuntimeException); // XAlterTable - virtual void SAL_CALL alterColumnByName( const ::rtl::OUString& colName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException); - virtual void SAL_CALL alterColumnByIndex( sal_Int32 index, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL alterColumnByName( const ::rtl::OUString& colName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL alterColumnByIndex( sal_Int32 index, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& descriptor ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException); // - sal_Bool create() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); + sal_Bool create() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); WpADOTable getImpl() const { return m_aTable;} }; |