|
SAP J2EE Engine Version 6.40 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
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 |
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 |
public int getColumnIndex(java.lang.String columnName)
throws ConnectorException
columnName - the name of the column to retrieve the index for.
public java.lang.String getColumnName(int columnIndex)
throws ConnectorException
columnIndex - the index of the column to retrieve the name for.
public void setNull(int columnIndex)
throws ConnectorException
columnIndex - the first column is 1, the second is 2, ...
public void setNull(java.lang.String columnName)
throws ConnectorException
columnName - the name of the column to set value for
public java.lang.Object getObject(int columnIndex)
throws ConnectorException
columnIndex - the first column is 1, the second is 2, ...
public java.lang.Object getObject(java.lang.String columnName)
throws ConnectorException
columnName - the name of the column to set value for
public void setObject(int columnIndex,
java.lang.Object obj)
throws ConnectorException
columnIndex - the first column is 1, the second is 2, ...obj - the new column value
public void setObject(java.lang.String columnName,
java.lang.Object obj)
throws ConnectorException
columnName - the name of the column to set value forobj - the new column value
public java.lang.String getString(int columnIndex)
throws ConnectorException
columnIndex - the first column is 1, the second is 2, ...
public java.lang.String getString(java.lang.String columnName)
throws ConnectorException
columnName - the name of the column to set value for
public void setString(int columnIndex,
java.lang.String Str)
throws ConnectorException
columnIndex - the first column is 1, the second is 2, ...Str - the new column value
public void setString(java.lang.String columnName,
java.lang.String Str)
throws ConnectorException
columnName - the name of the column to set value forStr - the new column value
public boolean getBoolean(int columnIndex)
throws ConnectorException
columnIndex - the first column is 1, the second is 2, ...
public boolean getBoolean(java.lang.String columnName)
throws ConnectorException
columnName - the name of the column to set value for
public void setBoolean(int columnIndex,
boolean b)
throws ConnectorException
columnIndex - the first column is 1, the second is 2, ...b - the new column value
public void setBoolean(java.lang.String columnName,
boolean b)
throws ConnectorException
columnName - the name of the column to set value forb - the new column value
public byte getByte(int columnIndex)
throws ConnectorException
columnIndex - the first column is 1, the second is 2, ...
public byte getByte(java.lang.String columnName)
throws ConnectorException
columnName - the name of the column to set value for
public void setByte(int columnIndex,
byte b)
throws ConnectorException
columnIndex - the first column is 1, the second is 2, ...b - the new column value
public void setByte(java.lang.String columnName,
byte x)
throws ConnectorException
columnName - the name of the column to set value forx - the new column value
public short getShort(int columnIndex)
throws ConnectorException
columnIndex - the first column is 1, the second is 2, ...
public short getShort(java.lang.String columnName)
throws ConnectorException
columnName - the name of the column to set value for
public void setShort(int columnIndex,
short s)
throws ConnectorException
columnIndex - the first column is 1, the second is 2, ...s - the new column value
public void setShort(java.lang.String columnName,
short s)
throws ConnectorException
columnName - the name of the column to set value fors - the new column value
public int getInt(int columnIndex)
throws ConnectorException
columnIndex - the first column is 1, the second is 2, ...
public int getInt(java.lang.String columnName)
throws ConnectorException
columnName - the name of the column to set value for
public void setInt(int columnIndex,
int i)
throws ConnectorException
columnIndex - the first column is 1, the second is 2, ...i - the new column value
public void setInt(java.lang.String columnName,
int i)
throws ConnectorException
columnName - the name of the column to set value fori - the new column value
public long getLong(int columnIndex)
throws ConnectorException
columnIndex - the first column is 1, the second is 2, ...
public long getLong(java.lang.String columnName)
throws ConnectorException
columnName - the name of the column to set value for
public void setLong(int columnIndex,
long l)
throws ConnectorException
columnIndex - the first column is 1, the second is 2, ...l - the new column value
public void setLong(java.lang.String columnName,
long l)
throws ConnectorException
columnName - the name of the column to set value forl - the new column value
public float getFloat(int columnIndex)
throws ConnectorException
columnIndex - the first column is 1, the second is 2, ...
public float getFloat(java.lang.String columnName)
throws ConnectorException
columnName - the name of the column to set value for
public void setFloat(int columnIndex,
float f)
throws ConnectorException
columnIndex - the first column is 1, the second is 2, ...f - the new column value
public void setFloat(java.lang.String columnName,
float f)
throws ConnectorException
columnName - the name of the column to set value forf - the new column value
public double getDouble(int columnIndex)
throws ConnectorException
columnIndex - the first column is 1, the second is 2, ...
public double getDouble(java.lang.String columnName)
throws ConnectorException
columnName - the name of the column to set value for
public void setDouble(int columnIndex,
double d)
throws ConnectorException
columnIndex - the first column is 1, the second is 2, ...d - the new column value
public void setDouble(java.lang.String columnName,
double d)
throws ConnectorException
columnName - the name of the column to set value ford - the new column value
public byte[] getBytes(int columnIndex)
throws ConnectorException
columnIndex - the first column is 1, the second is 2, ...
public byte[] getBytes(java.lang.String columnName)
throws ConnectorException
columnName - the name of the column to set value for
public void setBytes(int columnIndex,
byte[] b)
throws ConnectorException
columnIndex - the first column is 1, the second is 2, ...b - the new column value
public void setBytes(java.lang.String columnName,
byte[] b)
throws ConnectorException
columnName - the name of the column to set value forb - the new column value
public java.util.Date getDate(int columnIndex)
throws ConnectorException
columnIndex - the first column is 1, the second is 2, ...
public java.util.Date getDate(java.lang.String columnName)
throws ConnectorException
columnName - the name of the column to set value for
public void setDate(int columnIndex,
java.util.Date date)
throws ConnectorException
columnIndex - the first column is 1, the second is 2, ...date - the new column value
public void setDate(java.lang.String columnName,
java.util.Date date)
throws ConnectorException
columnName - the name of the column to set value fordate - the new column value
public java.lang.Number getNumber(int columnIndex)
throws ConnectorException
columnIndex - the first column is 1, the second is 2, ...
public java.lang.Number getNumber(java.lang.String columnName)
throws ConnectorException
columnName - the name of the column to set value for
public void setNumber(int columnIndex,
java.lang.Number num)
throws ConnectorException
columnIndex - the first column is 1, the second is 2, ...num - the new column value
public void setNumber(java.lang.String columnName,
java.lang.Number num)
throws ConnectorException
columnName - the name of the column to set value fornum - the new column value
public java.math.BigDecimal getBigDecimal(int columnIndex)
throws ConnectorException
columnIndex - the first column is 1, the second is 2, ...
public java.math.BigDecimal getBigDecimal(java.lang.String columnName)
throws ConnectorException
columnName - the name of the column to set value for
public void setBigDecimal(int columnIndex,
java.math.BigDecimal bigDec)
throws ConnectorException
columnIndex - the first column is 1, the second is 2, ...bigDec - the new column value
public void setBigDecimal(java.lang.String columnName,
java.math.BigDecimal bigDec)
throws ConnectorException
columnName - the name of the column to set value forbigDec - the new column value
public java.util.Enumeration getEnumeration(int columnIndex)
throws ConnectorException
columnIndex - the first column is 1, the second is 2, ...
public java.util.Enumeration getEnumeration(java.lang.String columnName)
throws ConnectorException
columnName - the name of the column to set value for
public void setEnumeration(int columnIndex,
java.util.Enumeration enum)
throws ConnectorException
columnIndex - the first column is 1, the second is 2, ...enum - the new column value
public void setEnumeration(java.lang.String columnName,
java.util.Enumeration enum)
throws ConnectorException
columnName - the name of the column to set value forenum - the new column value
public java.lang.Character getChar(int columnIndex)
throws ConnectorException
columnIndex - the first column is 1, the second is 2, ...
public java.lang.Character getChar(java.lang.String columnName)
throws ConnectorException
columnName - the name of the column to set value for
public void setChar(int columnIndex,
java.lang.Character c)
throws ConnectorException
columnIndex - the first column is 1, the second is 2, ...c - the new column value
public void setChar(java.lang.String columnName,
java.lang.Character c)
throws ConnectorException
columnName - the name of the column to set value forc - the new column value
public java.util.Date getTime(int columnIndex)
throws ConnectorException
columnIndex - the first column is 1, the second is 2, ...
public java.util.Date getTime(java.lang.String columnName)
throws ConnectorException
columnName - the name of the column to set value for
public void setTime(int columnIndex,
java.util.Date date)
throws ConnectorException
columnIndex - the first column is 1, the second is 2, ...date - the new column value
public void setTime(java.lang.String columnName,
java.util.Date date)
throws ConnectorException
columnName - the name of the column to set value fordate - the new column value
public IRecordMetaData retrieveMetaData()
throws ConnectorException
public void close()
throws ConnectorException
|
SAP J2EE Engine Version 6.40 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||