2004.04.29


com.jdc.rdb.sql.ddl
Class DDLStatus

java.lang.Object
  |
  +--com.jdc.lang.Object
        |
        +--com.jdc.rdb.sql.ddl.DDLStatus
Direct Known Subclasses:
AlterStatus, CreateStatus, DropStatus

public abstract class DDLStatus
extends Object

DDLStatus represents the execution status of a Data Definition Language (DDL) statement. This class provides the following DDL statement execution status information:

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

Version:
2.0
Author:
Jay Damon
See Also:
AlterStatus, CreateStatus, DropStatus

Field Summary
 
Fields inherited from class com.jdc.lang.Object
string
 
Constructor Summary
protected DDLStatus(SQLStatus sqlStatus)
          Constructs a new DDLStatus 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 DDL statement execution is successful.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDLStatus

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

Method Detail

isSuccessful

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

Returns:
True if the DDL statement execution is successful.
False if the DDL 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.