/** * Returns the value as <code>JIArray</code> at the index from the result list. * * @param index 0 based index * @return */ public JIArray getResultAsArrayAt(int index) { checkIfCalled(); return ((JIArray) outparams[index]); }
/** * Returns the value as <code>JIPointer</code> at the index from the result list. * * @param index 0 based index * @return */ public JIPointer getResultAsPointerAt(int index) { checkIfCalled(); return ((JIPointer) outparams[index]); }
/** * Returns the value as <code>JIStruct</code> at the index from the result list. * * @param index 0 based index * @return */ public JIStruct getResultAsStructAt(int index) { checkIfCalled(); return ((JIStruct) outparams[index]); }
/** * Returns the value as <code>JIVariant</code> at the index from the result list. * * @param index 0 based index * @return */ public JIVariant getResultAsVariantAt(int index) { checkIfCalled(); return ((JIVariant) outparams[index]); }
/** * Returns the value as <code>String representation of the UUID</code> at the index from the * result list. * * @param index 0 based index * @return */ public String getResultAsUUIDStrAt(int index) { checkIfCalled(); return ((UUID) outparams[index]).toString(); }
/** * Returns the value as <code>double</code> at the index from the result list. * * @param index 0 based index * @return */ public double getResultAsDoubleAt(int index) { checkIfCalled(); return ((Double) outparams[index]).doubleValue(); }
/** * Returns the value as <code>char</code> at the index from the result list. * * @param index 0 based index * @return */ public char getResultAsCharacterAt(int index) { checkIfCalled(); return ((Character) outparams[index]).charValue(); }
/** * Returns the value as <code>short</code> at the index from the result list. * * @param index 0 based index * @return */ public short getResultAsShortAt(int index) { checkIfCalled(); return ((Short) outparams[index]).shortValue(); }
/** * Returns the value as <code>boolean</code> at the index from the result list. * * @param index 0 based index * @return */ public boolean getResultAsBooleanAt(int index) { checkIfCalled(); return ((Boolean) outparams[index]).booleanValue(); }
/** * Returns the value as <code>float</code> at the index from the result list. * * @param index 0 based index * @return */ public float getResultAsFloatAt(int index) { checkIfCalled(); return ((Float) outparams[index]).floatValue(); }
/** * Returns the value as <code>int</code> at the index from the result list. * * @param index 0 based index * @return */ public int getResultAsIntAt(int index) { checkIfCalled(); return ((Integer) outparams[index]).intValue(); }
/** * Returns true incase the Call resulted in an exception, use getHRESULT to get the error code. * * @return */ public boolean isError() { checkIfCalled(); return hresult != 0; }