Bump for 3.6-28
[LibreOffice.git] / offapi / com / sun / star / sdbcx / Key.idl
bloba04d0955a5e1e978c81eb2bff0487e6a386377c5
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_Key_idl__
29 #define __com_sun_star_sdbcx_Key_idl__
31 #include <com/sun/star/beans/XPropertySet.idl>
33 module com { module sun { module star { module sdbcx {
35 published interface XColumnsSupplier;
36 published interface XDataDescriptorFactory;
39 /** is used to define a new key for a table.
41 published service Key
44 /** optional, could be used to copy a key.
46 [optional] interface XDataDescriptorFactory;
49 /** access to the contained key columns.
51 interface XColumnsSupplier;
53 // gives access to the properties.
54 interface com::sun::star::beans::XPropertySet;
57 /** is the name of the key
59 [readonly, property] string Name;
62 /** indicates the type of the key.
63 @see com::sun::star::sdbcx::KeyType
65 [readonly, property] long Type;
68 /** is the name of the referenced table, only used for foreign
69 keys.
71 [readonly, property] string ReferencedTable;
74 /** is the rule which is applied for updates; only used for foreign keys.
75 @see com::sun::star::sdbc::KeyRule
77 [readonly, property] long UpdateRule;
80 /** is the rule which is applied for deletions; only used for foreign keys.
81 @see com::sun::star::sdbc::KeyRule
83 [readonly, property] long DeleteRule;
86 //=============================================================================
88 }; }; }; };
90 /*===========================================================================
91 ===========================================================================*/
92 #endif
94 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */