|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.empire.commons.ErrorObject
org.apache.empire.db.DBObject
public abstract class DBObject
Base class for all database related objects. Every object is attached to a DBDatabase object.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.empire.commons.ErrorObject |
---|
ErrorObject.ObjectErrorInfo |
Constructor Summary | |
---|---|
DBObject()
|
Method Summary | |
---|---|
protected boolean |
error(ErrorType type,
java.sql.SQLException sqle)
Sets the current error from an SQL Exception. |
protected boolean |
error(java.sql.SQLException sqle)
Sets the current error from an SQL Exception. |
abstract DBDatabase |
getDatabase()
Returns the database object to which this object belongs to. |
Methods inherited from class org.apache.empire.commons.ErrorObject |
---|
clearError, clearErrorInfo, error, error, error, error, error, getErrorInfo, getErrorMessage, getErrorParams, getErrorSource, getErrorType, getMessage, hasError, internalSetError, isExceptionsEnabled, setExceptionsEnabled, success |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DBObject()
Method Detail |
---|
public abstract DBDatabase getDatabase()
protected boolean error(ErrorType type, java.sql.SQLException sqle)
type
- the error typesqle
- the SQL error message
protected boolean error(java.sql.SQLException sqle)
sqle
- the SQL error message
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |