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.
 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 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 enum)
          Sets the designated column with an Enumeration value.
 void setEnumeration(String columnName, 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(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

public 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

public 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

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, ...
Throws:
ConnectorException

setNull

public 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

public 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

public 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

public 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

public 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

public 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

public 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

public 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

public 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

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.
Throws:
ConnectorException

getBoolean

public 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

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
Throws:
ConnectorException

setBoolean

public 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

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.
Throws:
ConnectorException

getByte

public 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

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
Throws:
ConnectorException

setByte

public 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

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.
Throws:
ConnectorException

getShort

public 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

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
Throws:
ConnectorException

setShort

public 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

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.
Throws:
ConnectorException

getInt

public 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

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
Throws:
ConnectorException

setInt

public 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

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.
Throws:
ConnectorException

getLong

public 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

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
Throws:
ConnectorException

setLong

public 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

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.
Throws:
ConnectorException

getFloat

public 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

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
Throws:
ConnectorException

setFloat

public 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

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.
Throws:
ConnectorException

getDouble

public 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

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
Throws:
ConnectorException

setDouble

public 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

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.
Throws:
ConnectorException

getBytes

public 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

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
Throws:
ConnectorException

setBytes

public 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

public 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

public 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

public 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

public 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

getNumber

public 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

public 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

public 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

public 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

public 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

public 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

public 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

public 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

public 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

public 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

public void setEnumeration(int columnIndex,
                           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
Throws:
ConnectorException

setEnumeration

public void setEnumeration(String columnName,
                           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
Throws:
ConnectorException

getChar

public 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

public 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

public 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

public 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

public 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

public 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

public 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

public 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

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.
Throws:
ConnectorException

close

public void close()
           throws ConnectorException
closes the record object

Throws:
ConnectorException


Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.