net.israfil.foundation.mock.sql
Class Row
java.lang.Object
net.israfil.foundation.mock.sql.Row
public class Row
- extends java.lang.Object
An object representing row data in a MockResultSet.
- Author:
- Christian Edward Gruber
|
Field Summary |
boolean |
dirty
|
|
Method Summary |
void |
finalize()
|
java.lang.Object |
get(int i)
|
java.lang.Object |
get(java.lang.String columnName)
|
java.util.List |
getData()
|
boolean |
isDirty()
|
void |
set(int i,
java.lang.Object o)
|
void |
set(java.lang.String columnName,
java.lang.Object o)
|
void |
validateColumn(int i)
|
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dirty
public boolean dirty
Row
public Row(MockResultSetMetaData metadata,
java.util.List rowData)
Row
public Row(MockResultSetMetaData metadata,
java.util.List rowData,
boolean isInsertRow)
finalize
public void finalize()
throws java.lang.Throwable
- Overrides:
finalize in class java.lang.Object
- Throws:
java.lang.Throwable
validateColumn
public void validateColumn(int i)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getData
public java.util.List getData()
get
public java.lang.Object get(int i)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
get
public java.lang.Object get(java.lang.String columnName)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
set
public void set(int i,
java.lang.Object o)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
set
public void set(java.lang.String columnName,
java.lang.Object o)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
isDirty
public boolean isDirty()
Copyright © 2003-2006. All Rights Reserved.