2004.04.29


com.jdc.rdb.sql.dml
Class DMLStatus

java.lang.Object
  |
  +--com.jdc.lang.Object
        |
        +--com.jdc.rdb.sql.dml.DMLStatus
Direct Known Subclasses:
DeleteStatus, InsertStatus, Select.Status, SelectStatus, UpdateStatus

public abstract class DMLStatus
extends Object

DMLStatus represents the execution status of a Data Manipulation Language (DML) statement. This class provides the following DML statement execution status information:

Note:
The DMLStatus class is declared abstract and cannot be instantiated.

Version:
2.0
Author:
Jay Damon
See Also:
InsertStatus, SelectStatus, UpdateStatus, DeleteStatus

Field Summary
 
Fields inherited from class com.jdc.lang.Object
string
 
Constructor Summary
protected DMLStatus(SQLStatus sqlStatus)
          Constructs a new DMLStatus object.
 
Method Summary
 String getSQL()
          Returns the SQL statement executed.
protected  SQLStatus getStatus()
          Returns the SQL statement execution status.
protected  boolean isSuccessful()
          Returns true if the DML statement execution is successful.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DMLStatus

protected DMLStatus(SQLStatus sqlStatus)
Constructs a new DMLStatus object.

Method Detail

isSuccessful

protected boolean isSuccessful()
Returns true if the DML statement execution is successful.

Returns:
True if the DML statement execution is successful.
False if the DML statement execution is not successful.

getSQL

public String getSQL()
Returns the SQL statement executed.

Returns:
The SQL statement executed.

getStatus

protected SQLStatus getStatus()
Returns the SQL statement execution status.

Returns:
The SQL statement execution status.

2004.04.29



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