1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23#ifndef __com_sun_star_sdbc_Deferrability_idl__ 24#define __com_sun_star_sdbc_Deferrability_idl__ 25 26 module com { module sun { module star { module sdbc { 27 28 29/** indicates the Deferrability of key constraints. 30 */ 31published constants Deferrability 32{ 33 34 /** A possible value for the column <code>DEFERRABILITY</code> 35 in the 36 <code>XResultSet</code> objects returned by the methods 37 <code>getImportedKeys</code>, <code>getExportedKeys</code>, 38 and <code>getCrossReference</code>. 39 <P>Indicates deferrability. See SQL-92 for a definition. 40 41<!-- JRH: This and next two comments are identical. Is something missing? 42 INITIALLY_DEFERRED, INITIALLY_IMMEDIATE, and NONE? --> 43*/ 44 const long INITIALLY_DEFERRED = 5; 45 //------------------------------------------------------------------------- 46 47 /** A possible value for the column <code>DEFERRABILITY</code> 48 in the 49 <code>XResultSet</code> objects returned by the methods 50 <code>getImportedKeys</code>, <code>getExportedKeys</code>, 51 and <code>getCrossReference</code>. 52 <P>Indicates deferrability. See SQL-92 for a definition. 53 */ 54 const long INITIALLY_IMMEDIATE = 6; 55 //------------------------------------------------------------------------- 56 57 /** A possible value for the column <code>DEFERRABILITY</code> 58 in the 59 <code>XResultSet</code> objects returned by the methods 60 <code>getImportedKeys</code>, <code>getExportedKeys</code>, 61 and <code>getCrossReference</code>. 62 <P>Indicates deferrability. See SQL-92 for a definition. 63 */ 64 const long NONE = 7; 65}; 66 67//============================================================================= 68 69}; }; }; }; 70 71/*=========================================================================== 72===========================================================================*/ 73#endif 74