KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com4j > tlbimp > def > IDispInterfaceDecl


1 package com4j.tlbimp.def;
2
3 import com4j.GUID;
4 import com4j.IID;
5 import com4j.VTID;
6
7 /**
8  * @author Kohsuke Kawaguchi (kk@kohsuke.org)
9  */

10 @IID("{3BDCCFBF-B493-4d54-B1D0-4DE2FB1AFC78}")
11 public interface IDispInterfaceDecl extends ITypeDecl, IInterface {
12     @VTID(7)
13     GUID getGUID();
14
15     @VTID(8)
16     int countMethods();
17
18     @VTID(9)
19     IMethod getMethod(int idx);
20
21     /**
22      * return true if this interface is a dual interface
23      */

24     @VTID(10)
25     boolean isDual();
26
27     /**
28      * get the vtable interface of this dispatch interface. Works only when this is a dual interface.
29      */

30     @VTID(11)
31     IInterfaceDecl getVtblInterface();
32 }
33
Popular Tags