Beispiel #1
0
 /**
  * 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]);
 }
Beispiel #2
0
 /**
  * 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]);
 }
Beispiel #3
0
 /**
  * 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]);
 }
Beispiel #4
0
 /**
  * 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]);
 }
Beispiel #5
0
 /**
  * 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();
 }
Beispiel #6
0
 /**
  * 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();
 }
Beispiel #7
0
 /**
  * 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();
 }
Beispiel #8
0
 /**
  * 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();
 }
Beispiel #9
0
 /**
  * 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();
 }
Beispiel #10
0
 /**
  * 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();
 }
Beispiel #11
0
 /**
  * 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();
 }
Beispiel #12
0
 /**
  * Returns true incase the Call resulted in an exception, use getHRESULT to get the error code.
  *
  * @return
  */
 public boolean isError() {
   checkIfCalled();
   return hresult != 0;
 }