SAP J2EE Engine

Version 6.40


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

Version:
1.0

Method Summary
 void close()
          closes the record object
 java.math.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.
 java.math.BigDecimal getBigDecimal(java.lang.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(java.lang.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(java.lang.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(java.lang.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.
 java.lang.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.
 java.lang.Character getChar(java.lang.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(java.lang.String columnName)
          Retrieve the column index of the given column name.
 java.lang.String getColumnName(int columnIndex)
          Retrieve the column name of the given column index.
 java.util.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.
 java.util.Date getDate(java.lang.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.
 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(java.lang.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.
 java.util.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.
 java.util.Enumeration getEnumeration(java.lang.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(java.lang.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(java.lang.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(java.lang.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.
 java.lang.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.
 java.lang.Number getNumber(java.lang.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.
 java.lang.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.
 java.lang.Object getObject(java.lang.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(java.lang.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.
 java.lang.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.
 java.lang.String getString(java.lang.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.
 java.util.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.
 java.util.Date getTime(java.lang.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, java.math.BigDecimal bigDec)
          Sets the designated column with an BigDecimal value.
 void setBigDecimal(java.lang.String columnName, java.math.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(java.lang.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(java.lang.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(java.lang.String columnName, byte[] b)
          Sets the designated column with an byte[] value.
 void setChar(int columnIndex, java.lang.Character c)
          Sets the designated column with an Character value.
 void setChar(java.lang.String columnName, java.lang.Character c)
          Sets the designated column with an Character value.
 void setDate(int columnIndex, java.util.Date date)
          Sets the designated column with an Date value.
 void setDate(java.lang.String columnName, java.util.Date date)
          Sets the designated column with an Date value.
 void setDouble(int columnIndex, double d)
          Sets the designated column with an double value.
 void setDouble(java.lang.String columnName, double d)
          Sets the designated column with an double value.
 void setEnumeration(int columnIndex, java.util.Enumeration enum)
          Sets the designated column with an Enumeration value.
 void setEnumeration(java.lang.String columnName, java.util.Enumeration enum)
          Sets the designated column with an Enumeration value.
 void setFloat(int columnIndex, float f)
          Sets the designated column with an float value.
 void setFloat(java.lang.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(java.lang.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(java.lang.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(java.lang.String columnName)
          Sets the designated column with an null value.
 void setNumber(int columnIndex, java.lang.Number num)
          Sets the designated column with an Number value.
 void setNumber(java.lang.String columnName, java.lang.Number num)
          Sets the designated column with an Number value.
 void setObject(int columnIndex, java.lang.Object obj)
          Sets the designated column with an Object value.
 void setObject(java.lang.String columnName, java.lang.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(java.lang.String columnName, short s)
          Sets the designated column with an short value.
 void setString(int columnIndex, java.lang.String Str)
          Sets the designated column with an String value.
 void setString(java.lang.String columnName, java.lang.String Str)
          Sets the designated column with an String value.
 void setTime(int columnIndex, java.util.Date date)
          Sets the designated column with an Date value containing only time.
 void setTime(java.lang.String columnName, java.util.Date date)
          Sets the designated column with an Date value containing only time.
 

Method Detail

getColumnIndex

public int getColumnIndex(java.lang.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.

getColumnName

public java.lang.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.

setNull

public 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, ...

setNull

public void setNull(java.lang.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

getObject

public java.lang.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.

getObject

public java.lang.Object getObject(java.lang.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.

setObject

public void setObject(int columnIndex,
                      java.lang.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

setObject

public void setObject(java.lang.String columnName,
                      java.lang.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

getString

public java.lang.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.

getString

public java.lang.String getString(java.lang.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.

setString

public void setString(int columnIndex,
                      java.lang.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

setString

public void setString(java.lang.String columnName,
                      java.lang.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

getBoolean

public 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.

getBoolean

public boolean getBoolean(java.lang.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.

setBoolean

public 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

setBoolean

public void setBoolean(java.lang.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

getByte

public 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.

getByte

public byte getByte(java.lang.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.

setByte

public 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

setByte

public void setByte(java.lang.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

getShort

public 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.

getShort

public short getShort(java.lang.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.

setShort

public 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

setShort

public void setShort(java.lang.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

getInt

public 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.

getInt

public int getInt(java.lang.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.

setInt

public 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

setInt

public void setInt(java.lang.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

getLong

public 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.

getLong

public long getLong(java.lang.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.

setLong

public 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

setLong

public void setLong(java.lang.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

getFloat

public 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.

getFloat

public float getFloat(java.lang.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.

setFloat

public 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

setFloat

public void setFloat(java.lang.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

getDouble

public 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.

getDouble

public double getDouble(java.lang.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.

setDouble

public 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

setDouble

public void setDouble(java.lang.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

getBytes

public 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.

getBytes

public byte[] getBytes(java.lang.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.

setBytes

public 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

setBytes

public void setBytes(java.lang.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

getDate

public java.util.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.

getDate

public java.util.Date getDate(java.lang.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.

setDate

public void setDate(int columnIndex,
                    java.util.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

setDate

public void setDate(java.lang.String columnName,
                    java.util.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

getNumber

public java.lang.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.

getNumber

public java.lang.Number getNumber(java.lang.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.

setNumber

public void setNumber(int columnIndex,
                      java.lang.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

setNumber

public void setNumber(java.lang.String columnName,
                      java.lang.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

getBigDecimal

public java.math.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.

getBigDecimal

public java.math.BigDecimal getBigDecimal(java.lang.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.

setBigDecimal

public void setBigDecimal(int columnIndex,
                          java.math.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

setBigDecimal

public void setBigDecimal(java.lang.String columnName,
                          java.math.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

getEnumeration

public java.util.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.

getEnumeration

public java.util.Enumeration getEnumeration(java.lang.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.

setEnumeration

public void setEnumeration(int columnIndex,
                           java.util.Enumeration enum)
                    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, ...
enum - the new column value

setEnumeration

public void setEnumeration(java.lang.String columnName,
                           java.util.Enumeration enum)
                    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
enum - the new column value

getChar

public java.lang.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.

getChar

public java.lang.Character getChar(java.lang.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.

setChar

public void setChar(int columnIndex,
                    java.lang.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

setChar

public void setChar(java.lang.String columnName,
                    java.lang.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

getTime

public java.util.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.

getTime

public java.util.Date getTime(java.lang.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.

setTime

public void setTime(int columnIndex,
                    java.util.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

setTime

public void setTime(java.lang.String columnName,
                    java.util.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

retrieveMetaData

public 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.

close

public void close()
           throws ConnectorException
closes the record object

SAP J2EE Engine

Version 6.40


Copyright © 2001-2005 SAP AG. All Rights Reserved.