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 package com.sun.star.uno;
25 
26 /**
27  * The <code>IMemberDescription</code> is the base interface
28  * for for the special subset of typedescriptions, which describe
29  * members of IDL structs or interfeces.
30  *
31  * @deprecated This interface does not cover all the features supported by the
32  * corresponding (unpublished) implementation.  But no client code should need
33  * to access this functionality, anyway.
34  */
35 public interface IMemberDescription {
36 	/**
37 	 * Gives the name of this member.
38 	 * <p>
39 	 * @return  the name
40 	 */
getName()41 	String getName();
42 
43 	/**
44 	 * Indicates if this member is unsigned. (Not useful for IMethodDescription).
45 	 * <p>
46 	 * @return  the unsigned state
47 	 */
isUnsigned()48 	boolean isUnsigned();
49 
50 	/**
51 	 * Indicates if this member is an any.
52 	 * <p>
53 	 * @return  the any state
54 	 */
isAny()55 	boolean isAny();
56 
57 	/**
58 	 * Indicates if this member is an interface.
59 	 * <p>
60 	 * @return  the interface state
61 	 */
isInterface()62 	boolean isInterface();
63 
64 	/**
65 	 * Gives the relative index of this member in the declaring
66 	 * interface or struct (including superclasses).
67 	 * <p>
68 	 * @return  the relative index of this member
69 	 */
getIndex()70 	int getIndex();
71 }
72