2004.04.29


com.jdc.rdb.sql.dml.select
Class SelectStatus

java.lang.Object
  |
  +--com.jdc.lang.Object
        |
        +--com.jdc.rdb.sql.dml.DMLStatus
              |
              +--com.jdc.rdb.sql.dml.select.SelectStatus

public class SelectStatus
extends DMLStatus

SelectStatus represents the execution status of a Select SQL statement. This class provides the following Select statement execution status information:

Version:
1.5
Author:
Jay Damon
See Also:
Select

Field Summary
 
Fields inherited from class com.jdc.lang.Object
string
 
Method Summary
 SQLException getException()
          Returns the Select statement exception, if one occurred.
 Row getRow()
          Returns the first Database Table Row selected.
 int getRowCount()
          Returns the number of Database Table rows selected.
 Rows getRows()
          Returns the Database Table Rows selected.
 boolean isSuccessful()
          Returns true if the Select statement execution is successful.
 
Methods inherited from class com.jdc.rdb.sql.dml.DMLStatus
getSQL, getStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getException

public SQLException getException()
Returns the Select statement exception, if one occurred.

Returns:
The Select statement exception.

isSuccessful

public boolean isSuccessful()
Returns true if the Select statement execution is successful.

Overrides:
isSuccessful in class DMLStatus
Returns:
True if the Select statement execution is successful.
False if the Select statement execution is not successful.

getRow

public Row getRow()
Returns the first Database Table Row selected. This is a convenience method for Select statements that should return only one (1) row.

Returns:
The first Database Table Row selected.

getRows

public Rows getRows()
Returns the Database Table Rows selected.

Returns:
The Database Table Rows selected.

getRowCount

public int getRowCount()
Returns the number of Database Table rows selected.

Returns:
The number of Database Table rows selected.

2004.04.29



Copyright © 2004 J. Damon & Co.; All Rights Reserved WorldWide.