IBM DB2 Information Integrator
Java API Reference
for Developing Wrappers

com.ibm.db2.wrapper
Class RuntimeDataDescList

java.lang.Object
  extended bycom.ibm.db2.wrapper.RuntimeDataDescList

public final class RuntimeDataDescList
extends java.lang.Object

The RuntimeDataDescList class encapsulates a list of RuntimeDataDesc objects that describe a row in a result set or a list of input parameters.

Since:
IBM DB2 Information Integrator Version 8.2

Method Summary
 int getNumberOfValues()
          Retrieve the number of data descriptors in the list.
 RuntimeDataDesc getValue(int position)
          Retrieve the data descriptor at the specified position in the list.
 void setNumberOfValues(int newNumber)
          Set the number of data descriptors in the list.
 void setValue(RuntimeDataDesc runtimeDataDesc, int position)
          Set the data descriptor at the specified position in the list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getNumberOfValues

public int getNumberOfValues()
Retrieve the number of data descriptors in the list.

Returns:
The number of data descriptors.
Since:
IBM DB2 Information Integrator Version 8.2

getValue

public RuntimeDataDesc getValue(int position)
Retrieve the data descriptor at the specified position in the list.

Parameters:
position - The position of the data descriptor to be returned. The first data descriptor is at position zero in the list.
Returns:
The data descriptor.
Since:
IBM DB2 Information Integrator Version 8.2
See Also:
RuntimeDataDesc

setNumberOfValues

public void setNumberOfValues(int newNumber)
                       throws WrapperException
Set the number of data descriptors in the list.

Parameters:
newNumber - The number of data descriptors.
Throws:
WrapperException - if the method fails.
Since:
IBM DB2 Information Integrator Version 8.2

setValue

public void setValue(RuntimeDataDesc runtimeDataDesc,
                     int position)
              throws WrapperException
Set the data descriptor at the specified position in the list.

Parameters:
runtimeDataDesc - The data descriptor that is saved in the list.
position - The position where the data descriptor is placed. The first data descriptor is at position zero in the list.
Throws:
WrapperException - if the method fails.
Since:
IBM DB2 Information Integrator Version 8.2
See Also:
RuntimeDataDesc

IBM DB2 Information Integrator
Java API Reference
for Developing Wrappers

(C)Copyright IBM Corp. 2002. All rights reserved.

Links on this page are made available for your convenience and may take you to non-IBM sites. IBM does not warrant any sample code provided on these sites.