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_beans_PropertyConcept_idl__ 24#define __com_sun_star_beans_PropertyConcept_idl__ 25 26 27//============================================================================= 28 29module com { module sun { module star { module beans { 30 31//============================================================================= 32/** These constants are used to specify concepts of the 33 introspection which apply to properties and to the 34 methods which represent attributes. 35 36 <p>This list is not necessarily complete; new constants 37 may be added.</p> 38 39 @see Introspection 40 @see XIntrospection 41 @see XIntrospectionAccess 42 */ 43published constants PropertyConcept 44{ 45 //------------------------------------------------------------------------- 46 /** This value is used to query for all properties. 47 48 See 49 <member>XIntrospectionAccess::getProperty()</member> and 50 <member>XIntrospectionAccess::getProperties()</member> 51 */ 52 const long ALL = -1; 53 54 //------------------------------------------------------------------------- 55 /** specifies that the change or retrieval of this 56 property directly by the user can result in an unstable 57 state (deadlock, application crash, security hole, etc.) 58 */ 59 const long DANGEROUS = 1; 60 61 //------------------------------------------------------------------------- 62 /** specifies all properties which are reachable by 63 <type>XPropertySet</type>, <type>XFastPropertySet</type> or 64 <type>XMultiPropertySet</type>. 65 */ 66 const long PROPERTYSET = 2; 67 68 //------------------------------------------------------------------------- 69 70 /** specifies all properties which are actually attributes of interfaces. 71 */ 72 const long ATTRIBUTES = 4; 73 74 //------------------------------------------------------------------------- 75 76 /** specifies all properties which are represented by getter or setter methods. 77 78 <p>These methods have the signature <code>type get...()</code>, 79 <code>void set...()</code> or <code>boolean is...()</code>.</p> 80 */ 81 const long METHODS = 8; 82 83}; 84 85//============================================================================= 86 87}; }; }; }; 88 89#endif 90