2004.04.29


com.jdc.rdb.sql.dml.update
Class UpdateStatus

java.lang.Object
  |
  +--com.jdc.lang.Object
        |
        +--com.jdc.rdb.sql.dml.DMLStatus
              |
              +--com.jdc.rdb.sql.dml.update.UpdateStatus

public class UpdateStatus
extends DMLStatus

UpdateStatus represents the execution status of an Update SQL statement. This class provides the following Update statement execution status information:

Note:
The UpdateStatus class is immutable.

Version:
2.0
Author:
Jay Damon
See Also:
Update

Field Summary
 
Fields inherited from class com.jdc.lang.Object
string
 
Method Summary
 SQLException getException()
          Returns the Update statement exception, if one occurred.
 int getRowCount()
          Returns the number of Database Table rows updated.
 boolean isSuccessful()
          Returns true if the Update 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 Update statement exception, if one occurred.

Returns:
The Update statement exception.

isSuccessful

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

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

getRowCount

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

Returns:
The number of Database Table rows updated.

2004.04.29



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