1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: ResultColumn.idl,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_sdb_ResultColumn_idl__
31 #define __com_sun_star_sdb_ResultColumn_idl__
33 #ifndef __com_sun_star_sdbcx_Column_idl__
34 #include
<com
/sun
/star
/sdbcx
/Column.idl
>
37 #ifndef __com_sun_star_sdb_ColumnSettings_idl__
38 #include
<com
/sun
/star
/sdb
/ColumnSettings.idl
>
41 module com
{ module sun
{ module star
{ module sdb
{
44 /** describes a column of a result set.
46 published service ResultColumn
48 service com
::sun
::star
::sdbcx
::Column
;
51 /** [optional], access to layout settings for a column.
53 service com
::sun
::star
::sdb
::ColumnSettings
;
56 /** indicates whether the column can be used in a Where clause.
58 [readonly, property
] boolean IsSearchable
;
61 /** indicates whether values in the column are signed numbers.
63 [readonly, property
] boolean IsSigned
;
66 /** indicates that a column is case sensitive.
68 [readonly, property
] boolean IsCaseSensitive
;
71 /** indicates the column's normal max width in chars..
73 [readonly, property
] long DisplaySize
;
76 /** gets the suggested column title for use in printouts and
79 [readonly, property
] string Label
;
82 /** indicates whether a column is definitely, not writable.
84 [readonly, property
] boolean IsReadOnly
;
87 /** indicates whether it is possible for a write on the column to succeed.
89 [readonly, property
] boolean IsWritable
;
92 /** indicates whether a write on the column will definitely succeed.
94 [readonly, property
] boolean IsDefinitelyWritable
;
97 /** returns the fully-qualified name of the service whose instances
98 are manufactured if the method
99 <method scope="com::sun::star::sdbc">XRow::getObject)=</method>
100 is called to retrieve a value from the column.
102 [readonly, property
] string ServiceName
;
105 /** gets a column's table name.
107 [readonly, property
] string TableName
;
110 /** gets a column's schema name.
112 [readonly, property
] string SchemaName
;
115 /** gets a column's table's catalog name.
117 [readonly, property
] string CatalogName
;
120 //=============================================================================
124 /*===========================================================================
125 ===========================================================================*/