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 Property extends com.moesol.bindings.platform_sdk.component_services.IDispatch { |
9 | public static final Class TYPELIB = TYPELIB_2A75196C_D9EB_4129_B803_931327F72D5C.class; |
10 | /** |
11 | * <code>IDL: [uuid(00000503-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 | 0x00000503, (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] VARIANT*</code> |
25 | */ |
26 | public Object getValue(); |
27 | |
28 | /** |
29 | * <code>IDL: [ helpstring("") ]</code> |
30 | * |
31 | * @param pval |
32 | * <code>IDL: [in] VARIANT</code> |
33 | */ |
34 | public void setValue( |
35 | /*[in]*/ Object pval); |
36 | |
37 | /** |
38 | * <code>IDL: [ helpstring("") ]</code> |
39 | * |
40 | * @return |
41 | * <code>IDL: [out] [retval] BSTR*</code> |
42 | */ |
43 | public String getName(); |
44 | |
45 | /** |
46 | * <code>IDL: [ helpstring("") ]</code> |
47 | * |
48 | * @return |
49 | * <code>IDL: [out] [retval] DataTypeEnum*</code> |
50 | */ |
51 | public int getType(); |
52 | |
53 | /** |
54 | * <code>IDL: [ helpstring("") ]</code> |
55 | * |
56 | * @return |
57 | * <code>IDL: [out] [retval] LONG*</code> |
58 | */ |
59 | public int getAttributes(); |
60 | |
61 | /** |
62 | * <code>IDL: [ helpstring("") ]</code> |
63 | * |
64 | * @param plAttributes |
65 | * <code>IDL: [in] LONG</code> |
66 | */ |
67 | public void setAttributes( |
68 | /*[in]*/ int plAttributes); |
69 | |
70 | |
71 | /** <em>Implementation</em>, <small>Java to COM</small>. */ |
72 | public static class Jni extends com.moesol.bindings.platform_sdk.component_services.IDispatch.Jni implements Property { |
73 | |
74 | protected Jni () { |
75 | } |
76 | |
77 | |
78 | private native Object jni_getValue(); |
79 | public Object getValue() { |
80 | |
81 | return jni_getValue(); |
82 | } |
83 | |
84 | private native void jni_setValue( |
85 | /*[in]*/ Object p0); |
86 | public void setValue( |
87 | /*[in]*/ Object p0) { |
88 | |
89 | jni_setValue(p0); |
90 | } |
91 | |
92 | private native String jni_getName(); |
93 | public String getName() { |
94 | |
95 | return jni_getName(); |
96 | } |
97 | |
98 | private native int jni_getType(); |
99 | public int getType() { |
100 | |
101 | return jni_getType(); |
102 | } |
103 | |
104 | private native int jni_getAttributes(); |
105 | public int getAttributes() { |
106 | |
107 | return jni_getAttributes(); |
108 | } |
109 | |
110 | private native void jni_setAttributes( |
111 | /*[in]*/ int p0); |
112 | public void setAttributes( |
113 | /*[in]*/ int p0) { |
114 | |
115 | jni_setAttributes(p0); |
116 | } |
117 | |
118 | } |
119 | |
120 | /** <em>Implementation</em>, <small>COM to Java</small>. */ |
121 | public static class Disp extends com.moesol.bindings.platform_sdk.component_services.IDispatch.Disp { |
122 | public static com.moesol.bindings.platform_sdk.component_services.IUnknown.Disp instance() { |
123 | return s_instance; |
124 | } |
125 | |
126 | private static Disp s_instance = new Disp(); |
127 | |
128 | protected Disp() { |
129 | addEntry(0, (short)2, "getValue", "()Ljava/lang/Object;"); |
130 | addEntry(0, (short)4, "setValue", "(Ljava/lang/Object;)V"); |
131 | addEntry(1610743810, (short)2, "getName", "()Ljava/lang/String;"); |
132 | addEntry(1610743811, (short)2, "getType", "()I"); |
133 | addEntry(1610743812, (short)2, "getAttributes", "()I"); |
134 | addEntry(1610743812, (short)4, "setAttributes", "(I)V"); |
135 | } |
136 | } |
137 | } |