| 1 | // tlb2java |
| 2 | package com.moesol.bindings.platform_sdk.data_services; |
| 3 | |
| 4 | |
| 5 | /** |
| 6 | * <code>IDL: [ helpstring(""), hidden, dual, nonextensible, oleautomation, dispatchable ] interface</code> |
| 7 | */ |
| 8 | public interface Field15 extends com.moesol.bindings.platform_sdk.data_services._ADO { |
| 9 | public static final Class TYPELIB = TYPELIB_2A75196C_D9EB_4129_B803_931327F72D5C.class; |
| 10 | /** |
| 11 | * <code>IDL: [uuid(00000505-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 | 0x00000505, (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] LONG*</code> |
| 25 | */ |
| 26 | public int getActualSize(); |
| 27 | |
| 28 | /** |
| 29 | * <code>IDL: [ helpstring("") ]</code> |
| 30 | * |
| 31 | * @return |
| 32 | * <code>IDL: [out] [retval] LONG*</code> |
| 33 | */ |
| 34 | public int getAttributes(); |
| 35 | |
| 36 | /** |
| 37 | * <code>IDL: [ helpstring("") ]</code> |
| 38 | * |
| 39 | * @return |
| 40 | * <code>IDL: [out] [retval] LONG*</code> |
| 41 | */ |
| 42 | public int getDefinedSize(); |
| 43 | |
| 44 | /** |
| 45 | * <code>IDL: [ helpstring("") ]</code> |
| 46 | * |
| 47 | * @return |
| 48 | * <code>IDL: [out] [retval] BSTR*</code> |
| 49 | */ |
| 50 | public String getName(); |
| 51 | |
| 52 | /** |
| 53 | * <code>IDL: [ helpstring("") ]</code> |
| 54 | * |
| 55 | * @return |
| 56 | * <code>IDL: [out] [retval] DataTypeEnum*</code> |
| 57 | */ |
| 58 | public int getType(); |
| 59 | |
| 60 | /** |
| 61 | * <code>IDL: [ helpstring("") ]</code> |
| 62 | * |
| 63 | * @return |
| 64 | * <code>IDL: [out] [retval] VARIANT*</code> |
| 65 | */ |
| 66 | public Object getValue(); |
| 67 | |
| 68 | /** |
| 69 | * <code>IDL: [ helpstring("") ]</code> |
| 70 | * |
| 71 | * @param pvar |
| 72 | * <code>IDL: [in] VARIANT</code> |
| 73 | */ |
| 74 | public void setValue( |
| 75 | /*[in]*/ Object pvar); |
| 76 | |
| 77 | /** |
| 78 | * <code>IDL: [ helpstring("") ]</code> |
| 79 | * |
| 80 | * @return |
| 81 | * <code>IDL: [out] [retval] BYTE*</code> |
| 82 | */ |
| 83 | public short getPrecision(); |
| 84 | |
| 85 | /** |
| 86 | * <code>IDL: [ helpstring("") ]</code> |
| 87 | * |
| 88 | * @return |
| 89 | * <code>IDL: [out] [retval] BYTE*</code> |
| 90 | */ |
| 91 | public short getNumericScale(); |
| 92 | |
| 93 | /** |
| 94 | * <code>IDL: [ helpstring("") ]</code> |
| 95 | * |
| 96 | * @param Data |
| 97 | * <code>IDL: [in] VARIANT</code> |
| 98 | */ |
| 99 | public void AppendChunk( |
| 100 | /*[in]*/ Object Data); |
| 101 | |
| 102 | /** |
| 103 | * <code>IDL: [ helpstring("") ]</code> |
| 104 | * |
| 105 | * @param Length |
| 106 | * <code>IDL: [in] LONG</code> |
| 107 | * @return |
| 108 | * <code>IDL: [out] [retval] VARIANT*</code> |
| 109 | */ |
| 110 | public Object GetChunk( |
| 111 | /*[in]*/ int Length); |
| 112 | |
| 113 | /** |
| 114 | * <code>IDL: [ helpstring("") ]</code> |
| 115 | * |
| 116 | * @return |
| 117 | * <code>IDL: [out] [retval] VARIANT*</code> |
| 118 | */ |
| 119 | public Object getOriginalValue(); |
| 120 | |
| 121 | /** |
| 122 | * <code>IDL: [ helpstring("") ]</code> |
| 123 | * |
| 124 | * @return |
| 125 | * <code>IDL: [out] [retval] VARIANT*</code> |
| 126 | */ |
| 127 | public Object getUnderlyingValue(); |
| 128 | |
| 129 | |
| 130 | /** <em>Implementation</em>, <small>Java to COM</small>. */ |
| 131 | public static class Jni extends com.moesol.bindings.platform_sdk.data_services._ADO.Jni implements Field15 { |
| 132 | |
| 133 | protected Jni () { |
| 134 | } |
| 135 | |
| 136 | |
| 137 | private native int jni_getActualSize(); |
| 138 | public int getActualSize() { |
| 139 | |
| 140 | return jni_getActualSize(); |
| 141 | } |
| 142 | |
| 143 | private native int jni_getAttributes(); |
| 144 | public int getAttributes() { |
| 145 | |
| 146 | return jni_getAttributes(); |
| 147 | } |
| 148 | |
| 149 | private native int jni_getDefinedSize(); |
| 150 | public int getDefinedSize() { |
| 151 | |
| 152 | return jni_getDefinedSize(); |
| 153 | } |
| 154 | |
| 155 | private native String jni_getName(); |
| 156 | public String getName() { |
| 157 | |
| 158 | return jni_getName(); |
| 159 | } |
| 160 | |
| 161 | private native int jni_getType(); |
| 162 | public int getType() { |
| 163 | |
| 164 | return jni_getType(); |
| 165 | } |
| 166 | |
| 167 | private native Object jni_getValue(); |
| 168 | public Object getValue() { |
| 169 | |
| 170 | return jni_getValue(); |
| 171 | } |
| 172 | |
| 173 | private native void jni_setValue( |
| 174 | /*[in]*/ Object p0); |
| 175 | public void setValue( |
| 176 | /*[in]*/ Object p0) { |
| 177 | |
| 178 | jni_setValue(p0); |
| 179 | } |
| 180 | |
| 181 | private native short jni_getPrecision(); |
| 182 | public short getPrecision() { |
| 183 | |
| 184 | return jni_getPrecision(); |
| 185 | } |
| 186 | |
| 187 | private native short jni_getNumericScale(); |
| 188 | public short getNumericScale() { |
| 189 | |
| 190 | return jni_getNumericScale(); |
| 191 | } |
| 192 | |
| 193 | private native void jni_AppendChunk( |
| 194 | /*[in]*/ Object p0); |
| 195 | public void AppendChunk( |
| 196 | /*[in]*/ Object p0) { |
| 197 | |
| 198 | jni_AppendChunk(p0); |
| 199 | } |
| 200 | |
| 201 | private native Object jni_GetChunk( |
| 202 | /*[in]*/ int p0); |
| 203 | public Object GetChunk( |
| 204 | /*[in]*/ int p0) { |
| 205 | |
| 206 | return jni_GetChunk(p0); |
| 207 | } |
| 208 | |
| 209 | private native Object jni_getOriginalValue(); |
| 210 | public Object getOriginalValue() { |
| 211 | |
| 212 | return jni_getOriginalValue(); |
| 213 | } |
| 214 | |
| 215 | private native Object jni_getUnderlyingValue(); |
| 216 | public Object getUnderlyingValue() { |
| 217 | |
| 218 | return jni_getUnderlyingValue(); |
| 219 | } |
| 220 | |
| 221 | } |
| 222 | |
| 223 | /** <em>Implementation</em>, <small>COM to Java</small>. */ |
| 224 | public static class Disp extends com.moesol.bindings.platform_sdk.data_services._ADO.Disp { |
| 225 | public static com.moesol.bindings.platform_sdk.component_services.IUnknown.Disp instance() { |
| 226 | return s_instance; |
| 227 | } |
| 228 | |
| 229 | private static Disp s_instance = new Disp(); |
| 230 | |
| 231 | protected Disp() { |
| 232 | addEntry(1109, (short)2, "getActualSize", "()I"); |
| 233 | addEntry(1114, (short)2, "getAttributes", "()I"); |
| 234 | addEntry(1103, (short)2, "getDefinedSize", "()I"); |
| 235 | addEntry(1100, (short)2, "getName", "()Ljava/lang/String;"); |
| 236 | addEntry(1102, (short)2, "getType", "()I"); |
| 237 | addEntry(0, (short)2, "getValue", "()Ljava/lang/Object;"); |
| 238 | addEntry(0, (short)4, "setValue", "(Ljava/lang/Object;)V"); |
| 239 | addEntry(1112, (short)2, "getPrecision", "()S"); |
| 240 | addEntry(1113, (short)2, "getNumericScale", "()S"); |
| 241 | addEntry(1107, (short)1, "AppendChunk", "(Ljava/lang/Object;)V"); |
| 242 | addEntry(1108, (short)1, "GetChunk", "(I)Ljava/lang/Object;"); |
| 243 | addEntry(1104, (short)2, "getOriginalValue", "()Ljava/lang/Object;"); |
| 244 | addEntry(1105, (short)2, "getUnderlyingValue", "()Ljava/lang/Object;"); |
| 245 | } |
| 246 | } |
| 247 | } |