1 | // tlb2java |
2 | package com.moesol.bindings.platform_sdk.data_services; |
3 | |
4 | |
5 | /** |
6 | * <code>IDL: [ helpstring(""), dual, nonextensible, oleautomation, dispatchable ] interface</code> |
7 | */ |
8 | public interface _Command extends com.moesol.bindings.platform_sdk.data_services.Command25 { |
9 | public static final Class TYPELIB = TYPELIB_2A75196C_D9EB_4129_B803_931327F72D5C.class; |
10 | /** |
11 | * <code>IDL: [uuid(B08400BD-F9D1-4D02-B856-71D5DBA123E9)]</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 | 0xb08400bd, (short)0xf9d1, (short)0x4d02, |
15 | new byte[] { |
16 | (byte)0xb8, (byte)0x56, |
17 | (byte)0x71, (byte)0xd5, (byte)0xdb, (byte)0xa1, (byte)0x23, (byte)0xe9 |
18 | } ); |
19 | |
20 | /** |
21 | * <code>IDL: [ helpstring("") ]</code> |
22 | * |
23 | * @param pvStream |
24 | * <code>IDL: [in] IUnknown*</code> |
25 | */ |
26 | public void setrefCommandStream( |
27 | /*[in]*/ com.moesol.bindings.platform_sdk.component_services.IUnknown pvStream); |
28 | |
29 | /** |
30 | * <code>IDL: [ helpstring("") ]</code> |
31 | * |
32 | * @return |
33 | * <code>IDL: [out] [retval] VARIANT*</code> |
34 | */ |
35 | public Object getCommandStream(); |
36 | |
37 | /** |
38 | * <code>IDL: [ helpstring("") ]</code> |
39 | * |
40 | * @param pbstrDialect |
41 | * <code>IDL: [in] BSTR</code> |
42 | */ |
43 | public void setDialect( |
44 | /*[in]*/ String pbstrDialect); |
45 | |
46 | /** |
47 | * <code>IDL: [ helpstring("") ]</code> |
48 | * |
49 | * @return |
50 | * <code>IDL: [out] [retval] BSTR*</code> |
51 | */ |
52 | public String getDialect(); |
53 | |
54 | /** |
55 | * <code>IDL: [ helpstring("") ]</code> |
56 | * |
57 | * @param pfNamedParameters |
58 | * <code>IDL: [in] VARIANT_BOOL</code> |
59 | */ |
60 | public void setNamedParameters( |
61 | /*[in]*/ boolean pfNamedParameters); |
62 | |
63 | /** |
64 | * <code>IDL: [ helpstring("") ]</code> |
65 | * |
66 | * @return |
67 | * <code>IDL: [out] [retval] VARIANT_BOOL*</code> |
68 | */ |
69 | public boolean getNamedParameters(); |
70 | |
71 | |
72 | /** <em>Implementation</em>, <small>Java to COM</small>. */ |
73 | public static class Jni extends com.moesol.bindings.platform_sdk.data_services.Command25.Jni implements _Command { |
74 | |
75 | protected Jni () { |
76 | } |
77 | |
78 | |
79 | private native void jni_setrefCommandStream( |
80 | /*[in]*/ com.moesol.bindings.platform_sdk.component_services.IUnknown p0); |
81 | public void setrefCommandStream( |
82 | /*[in]*/ com.moesol.bindings.platform_sdk.component_services.IUnknown p0) { |
83 | |
84 | jni_setrefCommandStream(p0); |
85 | } |
86 | |
87 | private native Object jni_getCommandStream(); |
88 | public Object getCommandStream() { |
89 | |
90 | return jni_getCommandStream(); |
91 | } |
92 | |
93 | private native void jni_setDialect( |
94 | /*[in]*/ String p0); |
95 | public void setDialect( |
96 | /*[in]*/ String p0) { |
97 | |
98 | jni_setDialect(p0); |
99 | } |
100 | |
101 | private native String jni_getDialect(); |
102 | public String getDialect() { |
103 | |
104 | return jni_getDialect(); |
105 | } |
106 | |
107 | private native void jni_setNamedParameters( |
108 | /*[in]*/ boolean p0); |
109 | public void setNamedParameters( |
110 | /*[in]*/ boolean p0) { |
111 | |
112 | jni_setNamedParameters(p0); |
113 | } |
114 | |
115 | private native boolean jni_getNamedParameters(); |
116 | public boolean getNamedParameters() { |
117 | |
118 | return jni_getNamedParameters(); |
119 | } |
120 | |
121 | } |
122 | |
123 | /** <em>Implementation</em>, <small>COM to Java</small>. */ |
124 | public static class Disp extends com.moesol.bindings.platform_sdk.data_services.Command25.Disp { |
125 | public static com.moesol.bindings.platform_sdk.component_services.IUnknown.Disp instance() { |
126 | return s_instance; |
127 | } |
128 | |
129 | private static Disp s_instance = new Disp(); |
130 | |
131 | protected Disp() { |
132 | addEntry(11, (short)8, "setrefCommandStream", "(Lcom/moesol/bindings/platform_sdk/component_services/IUnknown;)V"); |
133 | addEntry(11, (short)2, "getCommandStream", "()Ljava/lang/Object;"); |
134 | addEntry(12, (short)4, "setDialect", "(Ljava/lang/String;)V"); |
135 | addEntry(12, (short)2, "getDialect", "()Ljava/lang/String;"); |
136 | addEntry(13, (short)4, "setNamedParameters", "(Z)V"); |
137 | addEntry(13, (short)2, "getNamedParameters", "()Z"); |
138 | } |
139 | } |
140 | } |