merge the formfield patch from ooo-build
[ooovba.git] / offapi / com / sun / star / sdbcx / Index.idl
blob2bcdeb241262c82e5fdc8f7620ad8df4adc3eb1f
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: Index.idl,v $
10 * $Revision: 1.10 $
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_sdbcx_Index_idl__
31 #define __com_sun_star_sdbcx_Index_idl__
33 #ifndef __com_sun_star_beans_XPropertySet_idl__
34 #include <com/sun/star/beans/XPropertySet.idl>
35 #endif
37 module com { module sun { module star { module sdbcx {
39 published interface XColumnsSupplier;
40 published interface XDataDescriptorFactory;
43 /** is used to specify the index for a database table. It refers to one or
44 more columns of a table.
45 <p>
46 <b>
47 Note:
48 </b>
49 All properties and columns of an index could by modified before they are appended
50 to a table. In that case the service is a data descriptor.
51 </p>
53 published service Index
56 /** optional, could be used to copy an index.
58 [optional] interface XDataDescriptorFactory;
61 /** access to the contained index columns.
63 interface XColumnsSupplier;
65 // gives access to the properties.
66 interface com::sun::star::beans::XPropertySet;
69 /** is the name of the index.
71 [readonly, property] string Name;
74 /** is the name of the index catalog, may be empty.
76 [readonly, property] string Catalog;
79 /** indicates that the index allow only unique values.
81 [readonly, property] boolean IsUnique;
84 /** indicates that the index is used for the primary key.
86 [readonly, property] boolean IsPrimaryKeyIndex;
89 /** indicates that the index is clustered.
91 [readonly, property] boolean IsClustered;
92 };
94 //=============================================================================
96 }; }; }; };
98 /*===========================================================================
99 ===========================================================================*/
100 #endif