All Packages Class Hierarchy This Package Previous Next Index
Class org.xmlmiddleware.xmldbms.Row
java.lang.Object
|
+----org.xmlmiddleware.xmldbms.Row
- public class Row
- extends Object
Caches data for a single row. For internal use.
-
Row()
-
Construct a Row
-
clear()
- Clear all column values.
-
clearColumnValue(Column)
- Clear a column of a value.
-
getColumnsFor(Table)
- Returns the columns in this row that apply to a given
table.
-
getColumnValue(Column)
- Get a column value.
-
getColumnValues(Column[])
- Get multiple column values.
-
getColumnVectorFor(Table)
- Returns the columns in this row that apply to a given
table.
-
setColumnValue(Column, Object)
- Set a column value.
-
setColumnValues(Column[], Object[])
- Set multiple column values.
-
setColumnValues(ResultSet, Table, boolean)
- Set column values from a result set
Row
public Row()
- Construct a Row
setColumnValue
public void setColumnValue(Column column,
Object value)
- Set a column value.
- Parameters:
- column - Column for which to set the value.
- value - Value to set (null for a NULL value).
getColumnValue
public Object getColumnValue(Column column)
- Get a column value.
- Parameters:
- column - Column for which to get the value.
- Returns:
- Returned value. Will return null if column not set or
value is null. @see haveColumn.
clearColumnValue
public void clearColumnValue(Column column)
- Clear a column of a value.
- Parameters:
- column - Column to clear.
clear
public void clear()
- Clear all column values.
setColumnValues
public void setColumnValues(Column columns[],
Object values[])
- Set multiple column values.
- Parameters:
- columns - Columns for which to set values.
- values - Values to set.
setColumnValues
public void setColumnValues(ResultSet rs,
Table table,
boolean emptyStringIsNull) throws SQLException
- Set column values from a result set
- Parameters:
- rs - The result set.
- table - The Table object describing the rows in the result set
getColumnValues
public Object[] getColumnValues(Column columns[])
- Get multiple column values.
- Parameters:
- columns - Columns for which to get values.
- Returns:
- Returned values.
getColumnVectorFor
public Vector getColumnVectorFor(Table table)
- Returns the columns in this row that apply to a given
table. Only returns columns that have values (including
null).
- Parameters:
- table - The table.
getColumnsFor
public Column[] getColumnsFor(Table table)
- Returns the columns in this row that apply to a given
table. Only returns columns that have values (including
null).
- Parameters:
- table - The table.
All Packages Class Hierarchy This Package Previous Next Index