1 | // tlb2java |
2 | package com.moesol.bindings.microsoft.dao; |
3 | |
4 | |
5 | /** |
6 | * <code>IDL: [ helpstring(""), dual, nonextensible, oleautomation, dispatchable ] interface</code> |
7 | */ |
8 | public interface Parameter extends com.moesol.bindings.microsoft.dao._DAO { |
9 | public static final Class TYPELIB = TYPELIB_00025E01_0000_0000_C000_000000000046.class; |
10 | /** |
11 | * <code>IDL: [uuid(00000081-0000-0010-8000-00AA006D2EA4)]</code> |
12 | */ |
13 | public static final com.moesol.bindings.platform_sdk.component_services.GUID IID = new com.moesol.bindings.platform_sdk.component_services.GUID( |
14 | 0x00000081, (short)0x0000, (short)0x0010, |
15 | new byte[] { |
16 | (byte)0x80, (byte)0x00, |
17 | (byte)0x00, (byte)0xaa, (byte)0x00, (byte)0x6d, (byte)0x2e, (byte)0xa4 |
18 | } ); |
19 | |
20 | /** |
21 | * <code>IDL: [ helpstring("") ]</code> |
22 | * |
23 | * @return |
24 | * <code>IDL: [out] [retval] BSTR*</code> |
25 | */ |
26 | public String getName(); |
27 | |
28 | /** |
29 | * <code>IDL: [ helpstring("") ]</code> |
30 | * |
31 | * @return |
32 | * <code>IDL: [out] [retval] VARIANT*</code> |
33 | */ |
34 | public Object getValue(); |
35 | |
36 | /** |
37 | * <code>IDL: [ helpstring("") ]</code> |
38 | * |
39 | * @param pvar |
40 | * <code>IDL: [in] VARIANT</code> |
41 | */ |
42 | public void setValue( |
43 | /*[in]*/ Object pvar); |
44 | |
45 | /** |
46 | * <code>IDL: [ helpstring("") ]</code> |
47 | * |
48 | * @return |
49 | * <code>IDL: [out] [retval] SHORT*</code> |
50 | */ |
51 | public short getType(); |
52 | |
53 | /** |
54 | * <code>IDL: [ helpstring("") ]</code> |
55 | * |
56 | * @param ps |
57 | * <code>IDL: [in] SHORT</code> |
58 | */ |
59 | public void setType( |
60 | /*[in]*/ short ps); |
61 | |
62 | /** |
63 | * <code>IDL: [ helpstring("") ]</code> |
64 | * |
65 | * @return |
66 | * <code>IDL: [out] [retval] SHORT*</code> |
67 | */ |
68 | public short getDirection(); |
69 | |
70 | /** |
71 | * <code>IDL: [ helpstring("") ]</code> |
72 | * |
73 | * @param pOption |
74 | * <code>IDL: [in] SHORT</code> |
75 | */ |
76 | public void setDirection( |
77 | /*[in]*/ short pOption); |
78 | |
79 | |
80 | /** <em>Implementation</em>, <small>Java to COM</small>. */ |
81 | public static class Jni extends com.moesol.bindings.microsoft.dao._DAO.Jni implements Parameter { |
82 | |
83 | protected Jni () { |
84 | } |
85 | protected void internalOnSetInterface() { |
86 | MoeSolInternal.recordApartment(this); |
87 | } |
88 | |
89 | |
90 | private native String jni_getName(); |
91 | public String getName() { |
92 | |
93 | MoeSolInternal.checkApartment(this); |
94 | return jni_getName(); |
95 | } |
96 | |
97 | private native Object jni_getValue(); |
98 | public Object getValue() { |
99 | |
100 | MoeSolInternal.checkApartment(this); |
101 | return jni_getValue(); |
102 | } |
103 | |
104 | private native void jni_setValue( |
105 | /*[in]*/ Object p0); |
106 | public void setValue( |
107 | /*[in]*/ Object p0) { |
108 | |
109 | MoeSolInternal.checkApartment(this); |
110 | jni_setValue(p0); |
111 | } |
112 | |
113 | private native short jni_getType(); |
114 | public short getType() { |
115 | |
116 | MoeSolInternal.checkApartment(this); |
117 | return jni_getType(); |
118 | } |
119 | |
120 | private native void jni_setType( |
121 | /*[in]*/ short p0); |
122 | public void setType( |
123 | /*[in]*/ short p0) { |
124 | |
125 | MoeSolInternal.checkApartment(this); |
126 | jni_setType(p0); |
127 | } |
128 | |
129 | private native short jni_getDirection(); |
130 | public short getDirection() { |
131 | |
132 | MoeSolInternal.checkApartment(this); |
133 | return jni_getDirection(); |
134 | } |
135 | |
136 | private native void jni_setDirection( |
137 | /*[in]*/ short p0); |
138 | public void setDirection( |
139 | /*[in]*/ short p0) { |
140 | |
141 | MoeSolInternal.checkApartment(this); |
142 | jni_setDirection(p0); |
143 | } |
144 | |
145 | } |
146 | |
147 | /** <em>Implementation</em>, <small>COM to Java</small>. */ |
148 | public static class Disp extends com.moesol.bindings.microsoft.dao._DAO.Disp { |
149 | public static com.moesol.bindings.platform_sdk.component_services.IUnknown.Disp instance() { |
150 | return s_instance; |
151 | } |
152 | |
153 | private static Disp s_instance = new Disp(); |
154 | |
155 | protected Disp() { |
156 | addEntry(1610809344, (short)2, "getName", "()Ljava/lang/String;"); |
157 | addEntry(0, (short)2, "getValue", "()Ljava/lang/Object;"); |
158 | addEntry(0, (short)4, "setValue", "(Ljava/lang/Object;)V"); |
159 | addEntry(1610809347, (short)2, "getType", "()S"); |
160 | addEntry(1610809347, (short)4, "setType", "(S)V"); |
161 | addEntry(1610809349, (short)2, "getDirection", "()S"); |
162 | addEntry(1610809349, (short)4, "setDirection", "(S)V"); |
163 | } |
164 | } |
165 | } |