diff options
Diffstat (limited to 'offapi/com/sun/star/sdbcx/Key.idl')
-rw-r--r-- | offapi/com/sun/star/sdbcx/Key.idl | 92 |
1 files changed, 46 insertions, 46 deletions
diff --git a/offapi/com/sun/star/sdbcx/Key.idl b/offapi/com/sun/star/sdbcx/Key.idl index f28a05933639..dde227738b2d 100644 --- a/offapi/com/sun/star/sdbcx/Key.idl +++ b/offapi/com/sun/star/sdbcx/Key.idl @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -24,70 +24,70 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ -#ifndef __com_sun_star_sdbcx_Key_idl__ -#define __com_sun_star_sdbcx_Key_idl__ - -#ifndef __com_sun_star_beans_XPropertySet_idl__ -#include <com/sun/star/beans/XPropertySet.idl> -#endif - - module com { module sun { module star { module sdbcx { - - published interface XColumnsSupplier; - published interface XDataDescriptorFactory; - - +#ifndef __com_sun_star_sdbcx_Key_idl__ +#define __com_sun_star_sdbcx_Key_idl__ + +#ifndef __com_sun_star_beans_XPropertySet_idl__ +#include <com/sun/star/beans/XPropertySet.idl> +#endif + + module com { module sun { module star { module sdbcx { + + published interface XColumnsSupplier; + published interface XDataDescriptorFactory; + + /** is used to define a new key for a table. */ published service Key -{ - +{ + /** optional, could be used to copy a key. */ - [optional] interface XDataDescriptorFactory; - - + [optional] interface XDataDescriptorFactory; + + /** access to the contained key columns. */ - interface XColumnsSupplier; - + interface XColumnsSupplier; + // gives access to the properties. - interface com::sun::star::beans::XPropertySet; - - + interface com::sun::star::beans::XPropertySet; + + /** is the name of the key */ - [readonly, property] string Name; - - + [readonly, property] string Name; + + /** indicates the type of the key. @see com::sun::star::sdbcx::KeyType */ - [readonly, property] long Type; - - + [readonly, property] long Type; + + /** is the name of the referenced table, only used for foreign keys. */ - [readonly, property] string ReferencedTable; - - + [readonly, property] string ReferencedTable; + + /** is the rule which is applied for updates; only used for foreign keys. @see com::sun::star::sdbc::KeyRule */ - [readonly, property] long UpdateRule; - - + [readonly, property] long UpdateRule; + + /** is the rule which is applied for deletions; only used for foreign keys. @see com::sun::star::sdbc::KeyRule */ - [readonly, property] long DeleteRule; -}; - -//============================================================================= - -}; }; }; }; - -/*=========================================================================== -===========================================================================*/ -#endif + [readonly, property] long DeleteRule; +}; + +//============================================================================= + +}; }; }; }; + +/*=========================================================================== +===========================================================================*/ +#endif |