Exemplo n.º 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]);
 }
Exemplo n.º 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]);
 }
Exemplo n.º 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]);
 }
Exemplo n.º 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]);
 }
Exemplo n.º 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();
 }
Exemplo n.º 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();
 }
Exemplo n.º 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();
 }
Exemplo n.º 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();
 }
Exemplo n.º 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();
 }
Exemplo n.º 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();
 }
Exemplo n.º 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();
 }
Exemplo n.º 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;
 }