2 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
4 * This file is part of the LibreOffice project.
6 * This Source Code Form is subject to the terms of the Mozilla Public
7 * License, v. 2.0. If a copy of the MPL was not distributed with this
8 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 * This file incorporates work covered by the following license notice:
12 * Licensed to the Apache Software Foundation (ASF) under one or more
13 * contributor license agreements. See the NOTICE file distributed
14 * with this work for additional information regarding copyright
15 * ownership. The ASF licenses this file to you under the Apache
16 * License, Version 2.0 (the "License"); you may not use this file
17 * except in compliance with the License. You may obtain a copy of
18 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
21 #include "columndef.hxx"
22 #include <com/sun/star/sdbc/DataType.hpp>
26 using namespace css::sdbc
;
28 ColumnDefinition::ColumnDefinition(const OUString
& sName
, sal_Int32 eType
,
29 const std::vector
<sal_Int32
>& aParams
, bool bPrimary
,
30 sal_Int32 nAutoIncr
, bool bNullable
, bool bCaseInsensitive
,
31 const OUString
& sDefault
)
35 , m_bPrimaryKey(bPrimary
)
36 , m_nAutoIncrement(nAutoIncr
)
37 , m_bNullable(bNullable
)
38 , m_bCaseInsensitive(bCaseInsensitive
)
39 , m_sDefaultValue(sDefault
)
44 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */