1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
12 #include <TConnection.hxx>
14 using namespace connectivity
;
15 using namespace connectivity::firebird
;
16 using namespace connectivity::sdbcx
;
19 : OColumn( true ) // case sensitive
24 void Column::construct()
26 m_sAutoIncrement
= "GENERATED BY DEFAULT AS IDENTITY";
27 registerProperty(OMetaConnection::getPropMap().getNameByIndex(
28 PROPERTY_ID_AUTOINCREMENTCREATION
),
29 PROPERTY_ID_AUTOINCREMENTCREATION
,
32 cppu::UnoType
<decltype(m_sAutoIncrement
)>::get()
36 ::cppu::IPropertyArrayHelper
* Column::createArrayHelper( sal_Int32
/*_nId*/ ) const
38 return doCreateArrayHelper();
41 ::cppu::IPropertyArrayHelper
& SAL_CALL
Column::getInfoHelper()
43 return *Column_PROP::getArrayHelper(isNew() ? 1 : 0);
46 css::uno::Sequence
< OUString
> SAL_CALL
Column::getSupportedServiceNames( )
48 return { u
"com.sun.star.sdbc.Firebird"_ustr
};
51 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */