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 24#ifndef __com_sun_star_sdb_tools_CompositionRule_idl__ 25#define __com_sun_star_sdb_tools_CompositionRule_idl__ 26 27//============================================================================= 28module com { module sun { module star { module sdb { module tools { 29//============================================================================= 30 31/** specifies which composition should be used when composing a table 32 name. 33 34 @see XTableName 35 36 @since OpenOffice 2.0.4 37*/ 38constants CompositionType 39{ 40 /** specifies composition of a name to be used in table definitions 41 42 @see XDatabaseMetaData::supportsCatalogsInTableDefinitions 43 @see XDatabaseMetaData::supportsSchemasInTableDefinitions 44 */ 45 const long ForTableDefinitions = 0; 46 47 /** specifies composition of a name to be used in index definitions 48 49 @see XDatabaseMetaData::supportsCatalogsInIndexDefinitions 50 @see XDatabaseMetaData::supportsSchemasInIndexDefinitions 51 */ 52 const long ForIndexDefinitions = 1; 53 54 /** specifies composition of a name to be used in data manipulation 55 56 @see XDatabaseMetaData::supportsCatalogsInDataManipulation 57 @see XDatabaseMetaData::supportsSchemasInDataManipulation 58 */ 59 const long ForDataManipulation = 2; 60 61 /** specifies composition of a name to be used in procedure calls 62 63 @see XDatabaseMetaData::supportsCatalogsInProcedureCalls 64 @see XDatabaseMetaData::supportsSchemasInProcedureCalls 65 */ 66 const long ForProcedureCalls = 3; 67 68 /** specifies composition of a name to be used in privilege definitions 69 70 @see XDatabaseMetaData::supportsCatalogsInPrivilegeDefinitions 71 @see XDatabaseMetaData::supportsSchemasInPrivilegeDefinitions 72 */ 73 const long ForPrivilegeDefinitions = 4; 74 75 /** specifies complete composition of a table name, including catalog and schema (if present), 76 disregarding any database support for catalog and schema in any particular statements 77 */ 78 const long Complete = 5; 79}; 80 81//============================================================================= 82}; }; }; }; }; 83//============================================================================= 84 85#endif 86