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_ProcedureResult_idl__ 24#define __com_sun_star_sdbc_ProcedureResult_idl__ 25 26 module com { module sun { module star { module sdbc { 27 28 29/** determines whether a procedure returns a result or not. 30 */ 31published constants ProcedureResult 32{ 33 34 /** A possible value for column 35 <code>PROCEDURE_TYPE</code> 36 in the 37 <type scope="com::sun::star::sdbc">XResultSet</type> 38 object returned by the method 39 <member scope="com::sun::star::sdbc">XDatabaseMetaData::getProcedures()</member> 40 . 41 <p> 42 Indicates that it is not known whether the procedure returns 43 a result. 44 </p> 45 */ 46 const long UNKNOWN = 0; 47 //------------------------------------------------------------------------- 48 49 /** A possible value for column 50 <code>PROCEDURE_TYPE</code> 51 in the 52 <type scope="com::sun::star::sdbc">XResultSet</type> 53 object returned by the method 54 <member scope="com::sun::star::sdbc">XDatabaseMetaData::getProcedures()</member> 55 . 56 <p> 57 Indicates that the procedure does not return 58 a result. 59 </p> 60 */ 61 const long NONE = 1; 62 //------------------------------------------------------------------------- 63 64 /** A possible value for column 65 <code>PROCEDURE_TYPE</code> 66 in the 67 <type scope="com::sun::star::sdbc">XResultSet</type> 68 object returned by the method 69 <member scope="com::sun::star::sdbc">XDatabaseMetaData::getProcedures()</member> 70 . 71 <p> 72 Indicates that the procedure returns 73 a result. 74 </p> 75 */ 76 const long RETURN = 2; 77}; 78 79//============================================================================= 80 81}; }; }; }; 82 83/*=========================================================================== 84===========================================================================*/ 85#endif 86