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 _Relation 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(00000089-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 | 0x00000089, (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 | * @param pbstr |
32 | * <code>IDL: [in] BSTR</code> |
33 | */ |
34 | public void setName( |
35 | /*[in]*/ String pbstr); |
36 | |
37 | /** |
38 | * <code>IDL: [ helpstring("") ]</code> |
39 | * |
40 | * @return |
41 | * <code>IDL: [out] [retval] BSTR*</code> |
42 | */ |
43 | public String getTable(); |
44 | |
45 | /** |
46 | * <code>IDL: [ helpstring("") ]</code> |
47 | * |
48 | * @param pbstr |
49 | * <code>IDL: [in] BSTR</code> |
50 | */ |
51 | public void setTable( |
52 | /*[in]*/ String pbstr); |
53 | |
54 | /** |
55 | * <code>IDL: [ helpstring("") ]</code> |
56 | * |
57 | * @return |
58 | * <code>IDL: [out] [retval] BSTR*</code> |
59 | */ |
60 | public String getForeignTable(); |
61 | |
62 | /** |
63 | * <code>IDL: [ helpstring("") ]</code> |
64 | * |
65 | * @param pbstr |
66 | * <code>IDL: [in] BSTR</code> |
67 | */ |
68 | public void setForeignTable( |
69 | /*[in]*/ String pbstr); |
70 | |
71 | /** |
72 | * <code>IDL: [ helpstring("") ]</code> |
73 | * |
74 | * @return |
75 | * <code>IDL: [out] [retval] LONG*</code> |
76 | */ |
77 | public int getAttributes(); |
78 | |
79 | /** |
80 | * <code>IDL: [ helpstring("") ]</code> |
81 | * |
82 | * @param pl |
83 | * <code>IDL: [in] LONG</code> |
84 | */ |
85 | public void setAttributes( |
86 | /*[in]*/ int pl); |
87 | |
88 | /** |
89 | * <code>IDL: [ helpstring("") ]</code> |
90 | * |
91 | * @return |
92 | * <code>IDL: [out] [retval] Fields**</code> |
93 | */ |
94 | public com.moesol.bindings.microsoft.dao.Fields getFields(); |
95 | |
96 | /** |
97 | * <code>IDL: [ helpstring("") ]</code> |
98 | * |
99 | * @param Name |
100 | * <code>IDL: [in] [optional] VARIANT</code> |
101 | * @param Type |
102 | * <code>IDL: [in] [optional] VARIANT</code> |
103 | * @param Size |
104 | * <code>IDL: [in] [optional] VARIANT</code> |
105 | * @return |
106 | * <code>IDL: [out] [retval] Field**</code> |
107 | */ |
108 | public com.moesol.bindings.microsoft.dao.Field CreateField( |
109 | /*[in]*/ Object Name, |
110 | /*[in]*/ Object Type, |
111 | /*[in]*/ Object Size); |
112 | |
113 | /** [optional=1] */ |
114 | public com.moesol.bindings.microsoft.dao.Field CreateField( |
115 | /*[in]*/ Object Name, |
116 | /*[in]*/ Object Type); |
117 | |
118 | /** [optional=2] */ |
119 | public com.moesol.bindings.microsoft.dao.Field CreateField( |
120 | /*[in]*/ Object Name); |
121 | |
122 | /** [optional=3] */ |
123 | public com.moesol.bindings.microsoft.dao.Field CreateField(); |
124 | |
125 | /** |
126 | * <code>IDL: [ helpstring("") ]</code> |
127 | * |
128 | * @return |
129 | * <code>IDL: [out] [retval] VARIANT_BOOL*</code> |
130 | */ |
131 | public boolean getPartialReplica(); |
132 | |
133 | /** |
134 | * <code>IDL: [ helpstring("") ]</code> |
135 | * |
136 | * @param pfPartialReplica |
137 | * <code>IDL: [in] VARIANT_BOOL</code> |
138 | */ |
139 | public void setPartialReplica( |
140 | /*[in]*/ boolean pfPartialReplica); |
141 | |
142 | |
143 | /** <em>Implementation</em>, <small>Java to COM</small>. */ |
144 | public static class Jni extends com.moesol.bindings.microsoft.dao._DAO.Jni implements _Relation { |
145 | |
146 | protected Jni () { |
147 | } |
148 | protected void internalOnSetInterface() { |
149 | MoeSolInternal.recordApartment(this); |
150 | } |
151 | |
152 | |
153 | private native String jni_getName(); |
154 | public String getName() { |
155 | |
156 | MoeSolInternal.checkApartment(this); |
157 | return jni_getName(); |
158 | } |
159 | |
160 | private native void jni_setName( |
161 | /*[in]*/ String p0); |
162 | public void setName( |
163 | /*[in]*/ String p0) { |
164 | |
165 | MoeSolInternal.checkApartment(this); |
166 | jni_setName(p0); |
167 | } |
168 | |
169 | private native String jni_getTable(); |
170 | public String getTable() { |
171 | |
172 | MoeSolInternal.checkApartment(this); |
173 | return jni_getTable(); |
174 | } |
175 | |
176 | private native void jni_setTable( |
177 | /*[in]*/ String p0); |
178 | public void setTable( |
179 | /*[in]*/ String p0) { |
180 | |
181 | MoeSolInternal.checkApartment(this); |
182 | jni_setTable(p0); |
183 | } |
184 | |
185 | private native String jni_getForeignTable(); |
186 | public String getForeignTable() { |
187 | |
188 | MoeSolInternal.checkApartment(this); |
189 | return jni_getForeignTable(); |
190 | } |
191 | |
192 | private native void jni_setForeignTable( |
193 | /*[in]*/ String p0); |
194 | public void setForeignTable( |
195 | /*[in]*/ String p0) { |
196 | |
197 | MoeSolInternal.checkApartment(this); |
198 | jni_setForeignTable(p0); |
199 | } |
200 | |
201 | private native int jni_getAttributes(); |
202 | public int getAttributes() { |
203 | |
204 | MoeSolInternal.checkApartment(this); |
205 | return jni_getAttributes(); |
206 | } |
207 | |
208 | private native void jni_setAttributes( |
209 | /*[in]*/ int p0); |
210 | public void setAttributes( |
211 | /*[in]*/ int p0) { |
212 | |
213 | MoeSolInternal.checkApartment(this); |
214 | jni_setAttributes(p0); |
215 | } |
216 | |
217 | private native com.moesol.bindings.microsoft.dao.Fields jni_getFields(); |
218 | public com.moesol.bindings.microsoft.dao.Fields getFields() { |
219 | |
220 | MoeSolInternal.checkApartment(this); |
221 | return jni_getFields(); |
222 | } |
223 | |
224 | private native com.moesol.bindings.microsoft.dao.Field jni_CreateField( |
225 | /*[in]*/ Object p0, |
226 | /*[in]*/ Object p1, |
227 | /*[in]*/ Object p2); |
228 | public com.moesol.bindings.microsoft.dao.Field CreateField( |
229 | /*[in]*/ Object p0, |
230 | /*[in]*/ Object p1, |
231 | /*[in]*/ Object p2) { |
232 | |
233 | MoeSolInternal.checkApartment(this); |
234 | return jni_CreateField(p0, p1, p2); |
235 | } |
236 | |
237 | /** [optional=1] */ |
238 | public com.moesol.bindings.microsoft.dao.Field CreateField( |
239 | /*[in]*/ Object p0, |
240 | /*[in]*/ Object p1) { |
241 | |
242 | return CreateField(p0, p1, null); |
243 | } |
244 | /** [optional=2] */ |
245 | public com.moesol.bindings.microsoft.dao.Field CreateField( |
246 | /*[in]*/ Object p0) { |
247 | |
248 | return CreateField(p0, null, null); |
249 | } |
250 | /** [optional=3] */ |
251 | public com.moesol.bindings.microsoft.dao.Field CreateField() { |
252 | |
253 | return CreateField(null, null, null); |
254 | } |
255 | private native boolean jni_getPartialReplica(); |
256 | public boolean getPartialReplica() { |
257 | |
258 | MoeSolInternal.checkApartment(this); |
259 | return jni_getPartialReplica(); |
260 | } |
261 | |
262 | private native void jni_setPartialReplica( |
263 | /*[in]*/ boolean p0); |
264 | public void setPartialReplica( |
265 | /*[in]*/ boolean p0) { |
266 | |
267 | MoeSolInternal.checkApartment(this); |
268 | jni_setPartialReplica(p0); |
269 | } |
270 | |
271 | } |
272 | |
273 | /** <em>Implementation</em>, <small>COM to Java</small>. */ |
274 | public static class Disp extends com.moesol.bindings.microsoft.dao._DAO.Disp { |
275 | public static com.moesol.bindings.platform_sdk.component_services.IUnknown.Disp instance() { |
276 | return s_instance; |
277 | } |
278 | |
279 | private static Disp s_instance = new Disp(); |
280 | |
281 | protected Disp() { |
282 | addEntry(1610809344, (short)2, "getName", "()Ljava/lang/String;"); |
283 | addEntry(1610809344, (short)4, "setName", "(Ljava/lang/String;)V"); |
284 | addEntry(1610809346, (short)2, "getTable", "()Ljava/lang/String;"); |
285 | addEntry(1610809346, (short)4, "setTable", "(Ljava/lang/String;)V"); |
286 | addEntry(1610809348, (short)2, "getForeignTable", "()Ljava/lang/String;"); |
287 | addEntry(1610809348, (short)4, "setForeignTable", "(Ljava/lang/String;)V"); |
288 | addEntry(1610809350, (short)2, "getAttributes", "()I"); |
289 | addEntry(1610809350, (short)4, "setAttributes", "(I)V"); |
290 | addEntry(0, (short)2, "getFields", "()Lcom/moesol/bindings/microsoft/dao/Fields;"); |
291 | addEntry(1610809353, (short)1, "CreateField", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/moesol/bindings/microsoft/dao/Field;"); |
292 | addEntry(1610809354, (short)2, "getPartialReplica", "()Z"); |
293 | addEntry(1610809354, (short)4, "setPartialReplica", "(Z)V"); |
294 | } |
295 | } |
296 | } |