com.jdc.rdb.sql.dml.delete
Class DeleteStatus
java.lang.Object
|
+--com.jdc.lang.Object
|
+--com.jdc.rdb.sql.dml.DMLStatus
|
+--com.jdc.rdb.sql.dml.delete.DeleteStatus
- public class DeleteStatus
- extends DMLStatus
DeleteStatus represents the execution status of a
Delete SQL statement.
This class provides the following Delete statement execution status
information:
- Whether the
Delete statement execution was successful or not.
- The number of
Database Table rows deleted if successful.
- The
SQLException that occurred if not successful.
- Note:
- The
DeleteStatus class is immutable.
- Version:
- 2.0
- Author:
- Jay Damon
- See Also:
Delete
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getException
public SQLException getException()
- Returns the
Delete statement exception, if one occurred.
- Returns:
- The
Delete statement exception.
isSuccessful
public boolean isSuccessful()
- Returns
true if the Delete statement execution is
successful.
- Overrides:
isSuccessful in class DMLStatus
- Returns:
True if the Delete statement execution is successful.
False if the Delete statement execution is not successful.
getRowCount
public int getRowCount()
- Returns the number of
Database Table
rows deleted.
- Returns:
- The number of
Database Table rows deleted.
Copyright © 2004 J. Damon & Co.; All Rights Reserved WorldWide.