Example #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]);
 }
Example #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]);
 }
Example #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]);
 }
Example #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]);
 }
Example #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();
 }
Example #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();
 }
Example #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();
 }
Example #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();
 }
Example #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();
 }
Example #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();
 }
Example #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();
 }
Example #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;
 }