LibreOffice: com/sun/star/sdbcx/ColumnDescriptor.idl Source File

LibreOffice LibreOffice 25.2 SDK API Reference

Loading...
Searching...
No Matches
ColumnDescriptor.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20 module com { module sun { module star { module sdbcx {
21
22
28published service ColumnDescriptor
29{
30 service com::sun::star::sdbcx::Descriptor;
31
32
37 [property] long Type;
38
39
44 [property] string TypeName;
45
46
49 [property] long Precision;
50
51
54 [property] long Scale;
55
56
60 [property] long IsNullable;
61
62
66 [property] boolean IsAutoIncrement;
67
68
72 [optional, property] boolean IsRowVersion;
73
74
77 [optional, property] string Description;
78
79
82 [optional, property] string DefaultValue;
83
86 [optional, property] string AutoIncrementCreation;
87};
88
89
90}; }; }; };
91
92/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com
Definition Ambiguous.idl:20
com::sun::star::sdbcx::ColumnDescriptor
describes the common properties of a database column.
Definition ColumnDescriptor.idl:29
com::sun::star::sdbcx::ColumnDescriptor::Type
long Type
is the com::sun::star::sdbc::DataType of the column.
Definition ColumnDescriptor.idl:37
com::sun::star::sdbcx::ColumnDescriptor::Precision
long Precision
gets a column's number of decimal digits.
Definition ColumnDescriptor.idl:49
com::sun::star::sdbcx::ColumnDescriptor::Description
string Description
keeps a description of the object.
Definition ColumnDescriptor.idl:77
com::sun::star::sdbcx::ColumnDescriptor::TypeName
string TypeName
is the type name used by the database.
Definition ColumnDescriptor.idl:44
com::sun::star::sdbcx::ColumnDescriptor::Scale
long Scale
gets a column's number of digits to right of the decimal point.
Definition ColumnDescriptor.idl:54
com::sun::star::sdbcx::ColumnDescriptor::IsAutoIncrement
boolean IsAutoIncrement
indicates whether the column is automatically numbered, thus read-only.
Definition ColumnDescriptor.idl:66
com::sun::star::sdbcx::ColumnDescriptor::DefaultValue
string DefaultValue
keeps a default value for a column, is provided as string.
Definition ColumnDescriptor.idl:82
com::sun::star::sdbcx::ColumnDescriptor::IsRowVersion
boolean IsRowVersion
indicates that the column contains some kind of time or date stamp used to track updates.
Definition ColumnDescriptor.idl:72
com::sun::star::sdbcx::ColumnDescriptor::AutoIncrementCreation
string AutoIncrementCreation
specifies how to create an auto-increment column.
Definition ColumnDescriptor.idl:86
com::sun::star::sdbcx::ColumnDescriptor::IsNullable
long IsNullable
indicates the nullability of values in the designated column.
Definition ColumnDescriptor.idl:60
com::sun::star::sdbcx::Descriptor
is used to create a new object within a database.
Definition Descriptor.idl:37