Bump for 3.6-28
[LibreOffice.git] / offapi / com / sun / star / sdbcx / Column.idl
blob6bc0acf39df23d2f1a2f7f638f54594d15c73d0c
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
28 #ifndef __com_sun_star_sdbcx_Column_idl__
29 #define __com_sun_star_sdbcx_Column_idl__
31 #include <com/sun/star/beans/XPropertySet.idl>
33 module com { module sun { module star { module sdbcx {
35 published interface XDataDescriptorFactory;
38 /** describes the common properties of a database column.
40 published service Column
43 /** optional, could be used to copy a database column.
45 [optional] interface XDataDescriptorFactory;
47 // gives access to the properties.
48 interface com::sun::star::beans::XPropertySet;
51 /** is the name of the column.
53 [readonly, property] string Name;
56 /** is the
57 <type scope="com::sun::star::sdbc">DataType</type>
58 of the column.
60 [readonly, property] long Type;
63 /** is the type name used by the database. If the column type is
64 a user-defined type, then a fully-qualified type name is returned.
65 <b>
66 Note:
67 </b>
68 May be empty.
70 [readonly, property] string TypeName;
73 /** gets a column's number of decimal digits.
75 [readonly, property] long Precision;
78 /** gets a column's number of digits to right of the decimal point.
80 [readonly, property] long Scale;
83 /** indicates the nullability of values in the designated column.
84 @see com::sun::star::sdbc::ColumnValue
86 [readonly, property] long IsNullable;
89 /** indicates whether the column is automatically numbered, thus read-only.
90 @see com::sun::star::sdbc::ColumnValue
92 [readonly, property] boolean IsAutoIncrement;
95 /** indicates whether the column is a cash value.
97 [readonly, property] boolean IsCurrency;
101 /** indicates that the column contains some kind of time or date stamp
102 used to track updates.
104 [optional, readonly, property] boolean IsRowVersion;
107 /** keeps a description of the object.
109 [optional, readonly, property] string Description;
112 /** keeps a default value for a column, is provided as string.
114 [optional, readonly, property] string DefaultValue;
118 //=============================================================================
120 }; }; }; };
122 /*===========================================================================
123 ===========================================================================*/
124 #endif
126 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */