|
Ontimize 5.2072EN | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ontimize.db.sql.SQLInfo
| Field Summary | |
protected int |
code
|
protected java.lang.String |
errorSQLStatement
|
protected java.util.List |
sqlStatements
|
| Fields inherited from interface com.ontimize.db.sql.ISQLInfo |
ERROR, OK |
| Constructor Summary | |
SQLInfo()
|
|
| Method Summary | |
void |
addSQLStatement(java.lang.String statement)
This method add the SQL Statement to the collection of statements executed. |
void |
appendSQLInfo(ISQLInfo sqlInfo)
|
int |
getCode()
This method obtains the code that indicates if the operation was successfully or not. |
java.lang.String |
getErrorSQLStatement()
This method returns the SQL Statement which causes the SQL Exception. |
java.util.List |
getSQLStatements()
This method returns the statement/s that has been executed. |
java.lang.String |
removeSQLStatement(int index)
|
void |
setCode(int i)
In this method establishes the code of the operation. |
void |
setErrorSQLStatement(java.lang.String statement)
This method sets the SQL Statement like the one which causes the SQL Exception. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String errorSQLStatement
protected java.util.List sqlStatements
protected int code
| Constructor Detail |
public SQLInfo()
| Method Detail |
public int getCode()
ISQLInfo
getCode in interface ISQLInfopublic void setCode(int i)
ISQLInfo
setCode in interface ISQLInfoi - public java.util.List getSQLStatements()
ISQLInfo
getSQLStatements in interface ISQLInfopublic void addSQLStatement(java.lang.String statement)
ISQLInfo
addSQLStatement in interface ISQLInfostatement - String with the SQL Statement.public java.lang.String removeSQLStatement(int index)
public void appendSQLInfo(ISQLInfo sqlInfo)
appendSQLInfo in interface ISQLInfopublic java.lang.String getErrorSQLStatement()
ISQLInfo
getErrorSQLStatement in interface ISQLInfopublic void setErrorSQLStatement(java.lang.String statement)
ISQLInfo
setErrorSQLStatement in interface ISQLInfostatement - String with the SQL Statement.
|
Ontimize | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||