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 Property 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(00000027-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 | 0x00000027, (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 | * @param pbstr |
49 | * <code>IDL: [in] BSTR</code> |
50 | */ |
51 | public void setName( |
52 | /*[in]*/ String pbstr); |
53 | |
54 | /** |
55 | * <code>IDL: [ helpstring("") ]</code> |
56 | * |
57 | * @return |
58 | * <code>IDL: [out] [retval] SHORT*</code> |
59 | */ |
60 | public short getType(); |
61 | |
62 | /** |
63 | * <code>IDL: [ helpstring("") ]</code> |
64 | * |
65 | * @param ptype |
66 | * <code>IDL: [in] SHORT</code> |
67 | */ |
68 | public void setType( |
69 | /*[in]*/ short ptype); |
70 | |
71 | /** |
72 | * <code>IDL: [ helpstring("") ]</code> |
73 | * |
74 | * @return |
75 | * <code>IDL: [out] [retval] VARIANT_BOOL*</code> |
76 | */ |
77 | public boolean getInherited(); |
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 Property { |
82 | |
83 | protected Jni () { |
84 | } |
85 | protected void internalOnSetInterface() { |
86 | MoeSolInternal.recordApartment(this); |
87 | } |
88 | |
89 | |
90 | private native Object jni_getValue(); |
91 | public Object getValue() { |
92 | |
93 | MoeSolInternal.checkApartment(this); |
94 | return jni_getValue(); |
95 | } |
96 | |
97 | private native void jni_setValue( |
98 | /*[in]*/ Object p0); |
99 | public void setValue( |
100 | /*[in]*/ Object p0) { |
101 | |
102 | MoeSolInternal.checkApartment(this); |
103 | jni_setValue(p0); |
104 | } |
105 | |
106 | private native String jni_getName(); |
107 | public String getName() { |
108 | |
109 | MoeSolInternal.checkApartment(this); |
110 | return jni_getName(); |
111 | } |
112 | |
113 | private native void jni_setName( |
114 | /*[in]*/ String p0); |
115 | public void setName( |
116 | /*[in]*/ String p0) { |
117 | |
118 | MoeSolInternal.checkApartment(this); |
119 | jni_setName(p0); |
120 | } |
121 | |
122 | private native short jni_getType(); |
123 | public short getType() { |
124 | |
125 | MoeSolInternal.checkApartment(this); |
126 | return jni_getType(); |
127 | } |
128 | |
129 | private native void jni_setType( |
130 | /*[in]*/ short p0); |
131 | public void setType( |
132 | /*[in]*/ short p0) { |
133 | |
134 | MoeSolInternal.checkApartment(this); |
135 | jni_setType(p0); |
136 | } |
137 | |
138 | private native boolean jni_getInherited(); |
139 | public boolean getInherited() { |
140 | |
141 | MoeSolInternal.checkApartment(this); |
142 | return jni_getInherited(); |
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(0, (short)2, "getValue", "()Ljava/lang/Object;"); |
157 | addEntry(0, (short)4, "setValue", "(Ljava/lang/Object;)V"); |
158 | addEntry(1610809346, (short)2, "getName", "()Ljava/lang/String;"); |
159 | addEntry(1610809346, (short)4, "setName", "(Ljava/lang/String;)V"); |
160 | addEntry(1610809348, (short)2, "getType", "()S"); |
161 | addEntry(1610809348, (short)4, "setType", "(S)V"); |
162 | addEntry(1610809350, (short)2, "getInherited", "()Z"); |
163 | } |
164 | } |
165 | } |