org.apache.empire.db
Class DBObject

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

public abstract class DBObject
extends Object
implements Serializable

Base class for all objects that directly or indirectly belong to a database including the database object itself. Examples are: tables, views, columns, indexes, relations etc. Not included are: drivers, helper classes

See Also:
Serialized Form

Constructor Summary
DBObject()
           
 
Method Summary
abstract  DBDatabase getDatabase()
          Returns the database object to which this object belongs to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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


Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.