|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.liquidsite.util.db.DatabaseResults.Row
A database results row.
| Method Summary | |
java.lang.Object |
get(int column)
Returns the row value in the specified column. |
java.lang.Object |
get(java.lang.String column)
Returns the row value in the specified column. |
boolean |
getBoolean(int column)
Returns the row boolean value in the specified column. |
boolean |
getBoolean(java.lang.String column)
Returns the row boolean value in the specified column. |
int |
getColumnCount()
Returns the number of columns in the row. |
java.util.Date |
getDate(int column)
Returns the row date value in the specified column. |
java.util.Date |
getDate(java.lang.String column)
Returns the row date value in the specified column. |
int |
getInt(int column)
Returns the row integer value in the specified column. |
int |
getInt(java.lang.String column)
Returns the row integer value in the specified column. |
long |
getLong(int column)
Returns the row long value in the specified column. |
long |
getLong(java.lang.String column)
Returns the row long value in the specified column. |
java.lang.String |
getString(int column)
Returns the row string value in the specified column. |
java.lang.String |
getString(java.lang.String column)
Returns the row string value in the specified column. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public int getColumnCount()
public java.lang.Object get(int column)
throws DatabaseDataException
column - the column number, 0 <= column < count
DatabaseDataException - if the column number was out
of bounds
public java.lang.Object get(java.lang.String column)
throws DatabaseDataException
column - the column name
DatabaseDataException - if the column name wasn't
present in the results
public boolean getBoolean(int column)
throws DatabaseDataException
column - the column number, 0 <= column < count
DatabaseDataException - if the column number was out
of bounds, or if the value wasn't a boolean
value
public boolean getBoolean(java.lang.String column)
throws DatabaseDataException
column - the column name
DatabaseDataException - if the column name wasn't
present in the results, or if the value wasn't
a boolean value
public java.util.Date getDate(int column)
throws DatabaseDataException
column - the column number, 0 <= column < count
DatabaseDataException - if the column number was out
of bounds, or if the value wasn't a date value
public java.util.Date getDate(java.lang.String column)
throws DatabaseDataException
column - the column name
DatabaseDataException - if the column name wasn't
present in the results, or if the value wasn't
a date value
public int getInt(int column)
throws DatabaseDataException
column - the column number, 0 <= column < count
DatabaseDataException - if the column number was out
of bounds, or if the value wasn't an integer
value
public int getInt(java.lang.String column)
throws DatabaseDataException
column - the column name
DatabaseDataException - if the column name wasn't
present in the results, or if the value wasn't
an integer value
public long getLong(int column)
throws DatabaseDataException
column - the column number, 0 <= column < count
DatabaseDataException - if the column number was out
of bounds, or if the value wasn't a long value
public long getLong(java.lang.String column)
throws DatabaseDataException
column - the column name
DatabaseDataException - if the column name wasn't
present in the results, or if the value wasn't
a long value
public java.lang.String getString(int column)
throws DatabaseDataException
column - the column number, 0 <= column < count
DatabaseDataException - if the column number was out
of bounds
public java.lang.String getString(java.lang.String column)
throws DatabaseDataException
column - the column name
DatabaseDataException - if the column name wasn't
present in the results
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||