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