org.apache.empire.db
Class DBObject

java.lang.Object
  extended by org.apache.empire.commons.ErrorObject
      extended by org.apache.empire.db.DBObject
All Implemented Interfaces:
ErrorInfo
Direct Known Subclasses:
DBDatabase, DBExpr, DBIndex, DBRecordData, DBRelation

public abstract class DBObject
extends ErrorObject

Base class for all database related objects. Every object is attached to a DBDatabase object.


Constructor Summary
DBObject()
           
 
Method Summary
abstract  DBDatabase getDatabase()
          Returns the database object to which this object belongs to.
 
Methods inherited from class org.apache.empire.commons.ErrorObject
clearError, getErrorMessage, getErrorParams, getErrorSource, getErrorType, getMessage, hasError, isExceptionsEnabled, setExceptionsEnabled
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBObject

public DBObject()
Method Detail

getDatabase

public abstract DBDatabase getDatabase()
Returns the database object to which this object belongs to. For the database object itself this function will return the this pointer.

Returns:
the database object