com.sapportals.connector.execution.structures

Interface IAbstractRecord

All Superinterfaces:
ISOAPSerializable
All Known Subinterfaces:
IRecord, IRecordSet

public interface IAbstractRecord
extends ISOAPSerializable

The abstract interface for Record. A record signifies one row of data in the RecordSet. The IAbstractRecord interface provides getXXX methods for retrieving column values from the record. Values can be retrieved using either the index number of the column or the name of the column. In general, using the column index will be more efficient. When a getXXX method is called with a column name and several columns have the same name, the value of the first matching column will be returned. For maximum portability, record columns within each row should be read in left-to-right order, and each column should be read only once.

The IAbstractRecord interface provides setXXX methods for setting column values to the record. Values can be set using either the index number of the column or the name of the column. The number, types and properties of a IRecordSet object's columns are provided by the RecordMetaData object returned by the IRecordSet.retrieveMetaData method


Method Summary
 void close()
          closes the record object
 BigDecimal getBigDecimal(int columnIndex)
          Gets the value of the designated column in the current row of this IRecordSet object as a BigDecimal in the Java programming language.
 BigDecimal getBigDecimal(String columnName)
          Gets the value of the designated column in the current row of this IRecordSet object as a BigDecimal in the Java programming language.
 boolean getBoolean(int columnIndex)
          Gets the value of the designated column in the current row of this IRecordSet object as a boolean in the Java programming language.
 boolean getBoolean(String columnName)
          Gets the value of the designated column in the current row of this IRecordSet object as a boolean in the Java programming language.
 byte getByte(int columnIndex)
          Gets the value of the designated column in the current row of this IRecordSet object as a byte in the Java programming language.
 byte getByte(String columnName)
          Gets the value of the designated column in the current row of this IRecordSet object as a byte in the Java programming language.
 byte[] getBytes(int columnIndex)
          Gets the value of the designated column in the current row of this IRecordSet object as a byte[] in the Java programming language.
 byte[] getBytes(String columnName)
          Gets the value of the designated column in the current row of this IRecordSet object as a byte[] in the Java programming language.
 Character getChar(int columnIndex)
          Gets the value of the designated column in the current row of this IRecordSet object as an Character in the Java programming language.
 Character getChar(String columnName)
          Gets the value of the designated column in the current row of this IRecordSet object as an Character in the Java programming language.
 int getColumnIndex(String columnName)
          Retrieve the column index of the given column name.
 String getColumnName(int columnIndex)
          Retrieve the column name of the given column index.
 Date getDate(int columnIndex)
          Gets the value of the designated column in the current row of this IRecordSet object as a Date in the Java programming language.
 Date getDate(String columnName)
          Gets the value of the designated column in the current row of this IRecordSet object as a Date in the Java programming language.
 Calendar getDateTime(int columnIndex)
          Gets the value of the designated column in the current row of this IRecordSet object as a Calendar in the Java programming language.
 Calendar getDateTime(String columnName)
          Gets the value of the designated column in the current row of this IRecordSet object as a Calendar in the Java programming language.
 double getDouble(int columnIndex)
          Gets the value of the designated column in the current row of this IRecordSet object as a double in the Java programming language.
 double getDouble(String columnName)
          Gets the value of the designated column in the current row of this IRecordSet object as a double in the Java programming language.
 Enumeration getEnumeration(int columnIndex)
          Gets the value of the designated column in the current row of this IRecordSet object as an Enumeration in the Java programming language.
 Enumeration getEnumeration(String columnName)
          Gets the value of the designated column in the current row of this IRecordSet object as an Enumeration in the Java programming language.
 float getFloat(int columnIndex)
          Gets the value of the designated column in the current row of this IRecordSet object as a float in the Java programming language.
 float getFloat(String columnName)
          Gets the value of the designated column in the current row of this IRecordSet object as a float in the Java programming language.
 int getInt(int columnIndex)
          Gets the value of the designated column in the current row of this IRecordSet object as an int in the Java programming language.
 int getInt(String columnName)
          Gets the value of the designated column in the current row of this IRecordSet object as an int in the Java programming language.
 long getLong(int columnIndex)
          Gets the value of the designated column in the current row of this IRecordSet object as a long in the Java programming language.
 long getLong(String columnName)
          Gets the value of the designated column in the current row of this IRecordSet object as a long in the Java programming language.
 Number getNumber(int columnIndex)
          Gets the value of the designated column in the current row of this IRecordSet object as a Number in the Java programming language.
 Number getNumber(String columnName)
          Gets the value of the designated column in the current row of this IRecordSet object as a Number in the Java programming language.
 Object getObject(int columnIndex)
          Gets the value of the designated column in the current row of this IRecordSet object as an Object in the Java programming language.
 Object getObject(String columnName)
          Gets the value of the designated column in the current row of this IRecordSet object as an Object in the Java programming language.
 short getShort(int columnIndex)
          Gets the value of the designated column in the current row of this IRecordSet object as a short in the Java programming language.
 short getShort(String columnName)
          Gets the value of the designated column in the current row of this IRecordSet object as a short in the Java programming language.
 String getString(int columnIndex)
          Gets the value of the designated column in the current row of this IRecordSet object as a String in the Java programming language.
 String getString(String columnName)
          Gets the value of the designated column in the current row of this IRecordSet object as a String in the Java programming language.
 Date getTime(int columnIndex)
          Gets the value of the designated column in the current row of this IRecordSet object as an Date in the Java programming language.
 Date getTime(String columnName)
          Gets the value of the designated column in the current row of this IRecordSet object as an Date in the Java programming language.
 IRecordMetaData retrieveMetaData()
          Retrieves the IRecordMetaData interface which describes the number, types and properties of this Record object's columns.
 void setBigDecimal(int columnIndex, BigDecimal bigDec)
          Sets the designated column with an BigDecimal value.
 void setBigDecimal(String columnName, BigDecimal bigDec)
          Sets the designated column with an BigDecimal value.
 void setBoolean(int columnIndex, boolean b)
          Sets the designated column with an boolean value.
 void setBoolean(String columnName, boolean b)
          Sets the designated column with an boolean value.
 void setByte(int columnIndex, byte b)
          Sets the designated column with an byte value.
 void setByte(String columnName, byte x)
          Sets the designated column with an byte value.
 void setBytes(int columnIndex, byte[] b)
          Sets the designated column with an byte[] value.
 void setBytes(String columnName, byte[] b)
          Sets the designated column with an byte[] value.
 void setChar(int columnIndex, Character c)
          Sets the designated column with an Character value.
 void setChar(String columnName, Character c)
          Sets the designated column with an Character value.
 void setDate(int columnIndex, Date date)
          Sets the designated column with an Date value.
 void setDate(String columnName, Date date)
          Sets the designated column with an Date value.
 void setDateTime(int columnIndex, Calendar dateTime)
          Sets the designated column with an Calendar value.
 void setDateTime(String columnName, Calendar dateTime)
          Sets the designated column with an Calendar value.
 void setDouble(int columnIndex, double d)
          Sets the designated column with an double value.
 void setDouble(String columnName, double d)
          Sets the designated column with an double value.
 void setEnumeration(int columnIndex, Enumeration enum1)
          Sets the designated column with an Enumeration value.
 void setEnumeration(String columnName, Enumeration enum1)
          Sets the designated column with an Enumeration value.
 void setFloat(int columnIndex, float f)
          Sets the designated column with an float value.
 void setFloat(String columnName, float f)
          Sets the designated column with an float value.
 void setInt(int columnIndex, int i)
          Sets the designated column with an int value.
 void setInt(String columnName, int i)
          Sets the designated column with an int value.
 void setLong(int columnIndex, long l)
          Sets the designated column with an long value.
 void setLong(String columnName, long l)
          Sets the designated column with an long value.
 void setNull(int columnIndex)
          Sets the designated column with an null value.
 void setNull(String columnName)
          Sets the designated column with an null value.
 void setNumber(int columnIndex, Number num)
          Sets the designated column with an Number value.
 void setNumber(String columnName, Number num)
          Sets the designated column with an Number value.
 void setObject(int columnIndex, Object obj)
          Sets the designated column with an Object value.
 void setObject(String columnName, Object obj)
          Sets the designated column with an Object value.
 void setShort(int columnIndex, short s)
          Sets the designated column with an short value.
 void setShort(String columnName, short s)
          Sets the designated column with an short value.
 void setString(int columnIndex, String Str)
          Sets the designated column with an String value.
 void setString(String columnName, String Str)
          Sets the designated column with an String value.
 void setTime(int columnIndex, Date date)
          Sets the designated column with an Date value containing only time.
 void setTime(String columnName, Date date)
          Sets the designated column with an Date value containing only time.
 

Method Detail

getColumnIndex

int getColumnIndex(String columnName)
                   throws ConnectorException
Retrieve the column index of the given column name.

Parameters:
columnName - the name of the column to retrieve the index for
Returns:
int the column index
Throws:
ConnectorException

getColumnName

String getColumnName(int columnIndex)
                     throws ConnectorException
Retrieve the column name of the given column index.

Parameters:
columnIndex - the index of the column to retrieve the name for
Returns:
int the column name
Throws:
ConnectorException

setNull

void setNull(int columnIndex)
             throws ConnectorException
Sets the designated column with an null value. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
Throws:
ConnectorException

setNull

void setNull(String columnName)
             throws ConnectorException
Sets the designated column with an null value. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnName - the name of the column to set value for
Throws:
ConnectorException

getObject

Object getObject(int columnIndex)
                 throws ConnectorException
Gets the value of the designated column in the current row of this IRecordSet object as an Object in the Java programming language.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
Returns:
Object holding the column value.
Throws:
ConnectorException

getObject

Object getObject(String columnName)
                 throws ConnectorException
Gets the value of the designated column in the current row of this IRecordSet object as an Object in the Java programming language.

Parameters:
columnName - the name of the column to set value for
Returns:
Object holding the column value
Throws:
ConnectorException

setObject

void setObject(int columnIndex,
               Object obj)
               throws ConnectorException
Sets the designated column with an Object value. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
obj - the new column value
Throws:
ConnectorException

setObject

void setObject(String columnName,
               Object obj)
               throws ConnectorException
Sets the designated column with an Object value. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnName - the name of the column to set value for
obj - the new column value
Throws:
ConnectorException

getString

String getString(int columnIndex)
                 throws ConnectorException
Gets the value of the designated column in the current row of this IRecordSet object as a String in the Java programming language.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
Returns:
String holding the column value
Throws:
ConnectorException

getString

String getString(String columnName)
                 throws ConnectorException
Gets the value of the designated column in the current row of this IRecordSet object as a String in the Java programming language.

Parameters:
columnName - the name of the column to set value for
Returns:
String holding the column value
Throws:
ConnectorException

setString

void setString(int columnIndex,
               String Str)
               throws ConnectorException
Sets the designated column with an String value. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
Str - the new column value
Throws:
ConnectorException

setString

void setString(String columnName,
               String Str)
               throws ConnectorException
Sets the designated column with an String value. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnName - the name of the column to set value for
Str - the new column value
Throws:
ConnectorException

getBoolean

boolean getBoolean(int columnIndex)
                   throws ConnectorException
Gets the value of the designated column in the current row of this IRecordSet object as a boolean in the Java programming language.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
Returns:
boolean holding the column value
Throws:
ConnectorException

getBoolean

boolean getBoolean(String columnName)
                   throws ConnectorException
Gets the value of the designated column in the current row of this IRecordSet object as a boolean in the Java programming language.

Parameters:
columnName - the name of the column to set value for
Returns:
boolean holding the column value
Throws:
ConnectorException

setBoolean

void setBoolean(int columnIndex,
                boolean b)
                throws ConnectorException
Sets the designated column with an boolean value. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
b - the new column value
Throws:
ConnectorException

setBoolean

void setBoolean(String columnName,
                boolean b)
                throws ConnectorException
Sets the designated column with an boolean value. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnName - the name of the column to set value for
b - the new column value
Throws:
ConnectorException

getByte

byte getByte(int columnIndex)
             throws ConnectorException
Gets the value of the designated column in the current row of this IRecordSet object as a byte in the Java programming language.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
Returns:
byte holding the column value
Throws:
ConnectorException

getByte

byte getByte(String columnName)
             throws ConnectorException
Gets the value of the designated column in the current row of this IRecordSet object as a byte in the Java programming language.

Parameters:
columnName - the name of the column to set value for
Returns:
byte holding the column value
Throws:
ConnectorException

setByte

void setByte(int columnIndex,
             byte b)
             throws ConnectorException
Sets the designated column with an byte value. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
b - the new column value
Throws:
ConnectorException

setByte

void setByte(String columnName,
             byte x)
             throws ConnectorException
Sets the designated column with an byte value. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnName - the name of the column to set value for
x - the new column value
Throws:
ConnectorException

getShort

short getShort(int columnIndex)
               throws ConnectorException
Gets the value of the designated column in the current row of this IRecordSet object as a short in the Java programming language.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
Returns:
short holding the column value
Throws:
ConnectorException

getShort

short getShort(String columnName)
               throws ConnectorException
Gets the value of the designated column in the current row of this IRecordSet object as a short in the Java programming language.

Parameters:
columnName - the name of the column to set value for
Returns:
short holding the column value
Throws:
ConnectorException

setShort

void setShort(int columnIndex,
              short s)
              throws ConnectorException
Sets the designated column with an short value. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
s - the new column value
Throws:
ConnectorException

setShort

void setShort(String columnName,
              short s)
              throws ConnectorException
Sets the designated column with an short value. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnName - the name of the column to set value for
s - the new column value
Throws:
ConnectorException

getInt

int getInt(int columnIndex)
           throws ConnectorException
Gets the value of the designated column in the current row of this IRecordSet object as an int in the Java programming language.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
Returns:
int holding the column value
Throws:
ConnectorException

getInt

int getInt(String columnName)
           throws ConnectorException
Gets the value of the designated column in the current row of this IRecordSet object as an int in the Java programming language.

Parameters:
columnName - the name of the column to set value for
Returns:
int holding the column value
Throws:
ConnectorException

setInt

void setInt(int columnIndex,
            int i)
            throws ConnectorException
Sets the designated column with an int value. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
i - the new column value
Throws:
ConnectorException

setInt

void setInt(String columnName,
            int i)
            throws ConnectorException
Sets the designated column with an int value. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnName - the name of the column to set value for
i - the new column value
Throws:
ConnectorException

getLong

long getLong(int columnIndex)
             throws ConnectorException
Gets the value of the designated column in the current row of this IRecordSet object as a long in the Java programming language.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
Returns:
long holding the column value.
Throws:
ConnectorException

getLong

long getLong(String columnName)
             throws ConnectorException
Gets the value of the designated column in the current row of this IRecordSet object as a long in the Java programming language.

Parameters:
columnName - the name of the column to set value for
Returns:
long holding the column value
Throws:
ConnectorException

setLong

void setLong(int columnIndex,
             long l)
             throws ConnectorException
Sets the designated column with an long value. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
l - the new column value
Throws:
ConnectorException

setLong

void setLong(String columnName,
             long l)
             throws ConnectorException
Sets the designated column with an long value. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnName - the name of the column to set value for
l - the new column value
Throws:
ConnectorException

getFloat

float getFloat(int columnIndex)
               throws ConnectorException
Gets the value of the designated column in the current row of this IRecordSet object as a float in the Java programming language.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
Returns:
float holding the column value
Throws:
ConnectorException

getFloat

float getFloat(String columnName)
               throws ConnectorException
Gets the value of the designated column in the current row of this IRecordSet object as a float in the Java programming language.

Parameters:
columnName - the name of the column to set value for
Returns:
float holding the column value
Throws:
ConnectorException

setFloat

void setFloat(int columnIndex,
              float f)
              throws ConnectorException
Sets the designated column with an float value. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
f - the new column value
Throws:
ConnectorException

setFloat

void setFloat(String columnName,
              float f)
              throws ConnectorException
Sets the designated column with an float value. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnName - the name of the column to set value for
f - the new column value
Throws:
ConnectorException

getDouble

double getDouble(int columnIndex)
                 throws ConnectorException
Gets the value of the designated column in the current row of this IRecordSet object as a double in the Java programming language.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
Returns:
double holding the column value
Throws:
ConnectorException

getDouble

double getDouble(String columnName)
                 throws ConnectorException
Gets the value of the designated column in the current row of this IRecordSet object as a double in the Java programming language.

Parameters:
columnName - the name of the column to set value for
Returns:
double holding the column value
Throws:
ConnectorException

setDouble

void setDouble(int columnIndex,
               double d)
               throws ConnectorException
Sets the designated column with an double value. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
d - the new column value
Throws:
ConnectorException

setDouble

void setDouble(String columnName,
               double d)
               throws ConnectorException
Sets the designated column with an double value. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnName - the name of the column to set value for
d - the new column value
Throws:
ConnectorException

getBytes

byte[] getBytes(int columnIndex)
                throws ConnectorException
Gets the value of the designated column in the current row of this IRecordSet object as a byte[] in the Java programming language.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
Returns:
byte[] holding the column value
Throws:
ConnectorException

getBytes

byte[] getBytes(String columnName)
                throws ConnectorException
Gets the value of the designated column in the current row of this IRecordSet object as a byte[] in the Java programming language.

Parameters:
columnName - the name of the column to set value for
Returns:
byte[] holding the column value
Throws:
ConnectorException

setBytes

void setBytes(int columnIndex,
              byte[] b)
              throws ConnectorException
Sets the designated column with an byte[] value. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
b - the new column value
Throws:
ConnectorException

setBytes

void setBytes(String columnName,
              byte[] b)
              throws ConnectorException
Sets the designated column with an byte[] value. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnName - the name of the column to set value for
b - the new column value
Throws:
ConnectorException

getDate

Date getDate(int columnIndex)
             throws ConnectorException
Gets the value of the designated column in the current row of this IRecordSet object as a Date in the Java programming language.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
Returns:
Date holding the column value
Throws:
ConnectorException

getDate

Date getDate(String columnName)
             throws ConnectorException
Gets the value of the designated column in the current row of this IRecordSet object as a Date in the Java programming language.

Parameters:
columnName - the name of the column to set value for
Returns:
Date holding the column value
Throws:
ConnectorException

setDate

void setDate(int columnIndex,
             Date date)
             throws ConnectorException
Sets the designated column with an Date value. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
date - the new column value
Throws:
ConnectorException

setDate

void setDate(String columnName,
             Date date)
             throws ConnectorException
Sets the designated column with an Date value. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnName - the name of the column to set value for
date - the new column value
Throws:
ConnectorException

getDateTime

Calendar getDateTime(int columnIndex)
                     throws ConnectorException
Gets the value of the designated column in the current row of this IRecordSet object as a Calendar in the Java programming language.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
Returns:
Calendar holding the column value
Throws:
ConnectorException

getDateTime

Calendar getDateTime(String columnName)
                     throws ConnectorException
Gets the value of the designated column in the current row of this IRecordSet object as a Calendar in the Java programming language.

Parameters:
columnName - the name of the column to set value for
Returns:
Calendar holding the column value
Throws:
ConnectorException

setDateTime

void setDateTime(int columnIndex,
                 Calendar dateTime)
                 throws ConnectorException
Sets the designated column with an Calendar value. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
dateTime - the new column value
Throws:
ConnectorException

setDateTime

void setDateTime(String columnName,
                 Calendar dateTime)
                 throws ConnectorException
Sets the designated column with an Calendar value. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnName - the name of the column to set value for
dateTime - the new column value
Throws:
ConnectorException

getNumber

Number getNumber(int columnIndex)
                 throws ConnectorException
Gets the value of the designated column in the current row of this IRecordSet object as a Number in the Java programming language.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
Returns:
Number holding the column value
Throws:
ConnectorException

getNumber

Number getNumber(String columnName)
                 throws ConnectorException
Gets the value of the designated column in the current row of this IRecordSet object as a Number in the Java programming language.

Parameters:
columnName - the name of the column to set value for
Returns:
Number holding the column value
Throws:
ConnectorException

setNumber

void setNumber(int columnIndex,
               Number num)
               throws ConnectorException
Sets the designated column with an Number value. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
num - the new column value
Throws:
ConnectorException

setNumber

void setNumber(String columnName,
               Number num)
               throws ConnectorException
Sets the designated column with an Number value. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnName - the name of the column to set value for
num - the new column value
Throws:
ConnectorException

getBigDecimal

BigDecimal getBigDecimal(int columnIndex)
                         throws ConnectorException
Gets the value of the designated column in the current row of this IRecordSet object as a BigDecimal in the Java programming language.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
Returns:
BigDecimal holding the column value
Throws:
ConnectorException

getBigDecimal

BigDecimal getBigDecimal(String columnName)
                         throws ConnectorException
Gets the value of the designated column in the current row of this IRecordSet object as a BigDecimal in the Java programming language.

Parameters:
columnName - the name of the column to set value for
Returns:
BigDecimal holding the column value
Throws:
ConnectorException

setBigDecimal

void setBigDecimal(int columnIndex,
                   BigDecimal bigDec)
                   throws ConnectorException
Sets the designated column with an BigDecimal value. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
bigDec - the new column value
Throws:
ConnectorException

setBigDecimal

void setBigDecimal(String columnName,
                   BigDecimal bigDec)
                   throws ConnectorException
Sets the designated column with an BigDecimal value. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnName - the name of the column to set value for
bigDec - the new column value
Throws:
ConnectorException

getEnumeration

Enumeration getEnumeration(int columnIndex)
                           throws ConnectorException
Gets the value of the designated column in the current row of this IRecordSet object as an Enumeration in the Java programming language.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
Returns:
Enumeration holding the column value.
Throws:
ConnectorException

getEnumeration

Enumeration getEnumeration(String columnName)
                           throws ConnectorException
Gets the value of the designated column in the current row of this IRecordSet object as an Enumeration in the Java programming language.

Parameters:
columnName - the name of the column to set value for
Returns:
Enumeration holding the column value
Throws:
ConnectorException

setEnumeration

void setEnumeration(int columnIndex,
                    Enumeration enum1)
                    throws ConnectorException
Sets the designated column with an Enumeration value. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
enum1 - the new column value
Throws:
ConnectorException

setEnumeration

void setEnumeration(String columnName,
                    Enumeration enum1)
                    throws ConnectorException
Sets the designated column with an Enumeration value. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnName - the name of the column to set value for
enum1 - the new column value
Throws:
ConnectorException

getChar

Character getChar(int columnIndex)
                  throws ConnectorException
Gets the value of the designated column in the current row of this IRecordSet object as an Character in the Java programming language.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
Returns:
Character holding the column value
Throws:
ConnectorException

getChar

Character getChar(String columnName)
                  throws ConnectorException
Gets the value of the designated column in the current row of this IRecordSet object as an Character in the Java programming language.

Parameters:
columnName - the name of the column to set value for
Returns:
Character holding the column value.
Throws:
ConnectorException

setChar

void setChar(int columnIndex,
             Character c)
             throws ConnectorException
Sets the designated column with an Character value. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
c - the new column value
Throws:
ConnectorException

setChar

void setChar(String columnName,
             Character c)
             throws ConnectorException
Sets the designated column with an Character value. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnName - the name of the column to set value for
c - the new column value
Throws:
ConnectorException

getTime

Date getTime(int columnIndex)
             throws ConnectorException
Gets the value of the designated column in the current row of this IRecordSet object as an Date in the Java programming language.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
Returns:
Date holding the column value
Throws:
ConnectorException

getTime

Date getTime(String columnName)
             throws ConnectorException
Gets the value of the designated column in the current row of this IRecordSet object as an Date in the Java programming language.

Parameters:
columnName - the name of the column to set value for
Returns:
Date holding the column value.
Throws:
ConnectorException

setTime

void setTime(int columnIndex,
             Date date)
             throws ConnectorException
Sets the designated column with an Date value containing only time. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnIndex - the first column is 1, the second is 2, ...
date - the new column value
Throws:
ConnectorException

setTime

void setTime(String columnName,
             Date date)
             throws ConnectorException
Sets the designated column with an Date value containing only time. The setXXX methods are used to update column values in the current row or the insert row.

Parameters:
columnName - the name of the column to set value for
date - the new column value
Throws:
ConnectorException

retrieveMetaData

IRecordMetaData retrieveMetaData()
                                 throws ConnectorException
Retrieves the IRecordMetaData interface which describes the number, types and properties of this Record object's columns.

Returns:
IRecordMetaData the interface that describes the metadata of this records columns
Throws:
ConnectorException

close

void close()
           throws ConnectorException
closes the record object

Throws:
ConnectorException
Access Rights

This class can be accessed from:


SC DC Public Part ACH
[sap.com] FRAMEWORK-EXT [sap.com] tc/conn/connectorframeworkdeprecated - EP-CON-CF
[sap.com] EP-BASIS-API [sap.com] tc/epbc/connectivityfw/api api EP-PIN
[sap.com] FRAMEWORK-EXT [sap.com] tc/conn/connectorframeworkdeprecated default EP-CON-CF


Copyright 2011 SAP AG Complete Copyright Notice