org.apache.empire.db
Class DBObject
java.lang.Object
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
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 |
DBObject
public DBObject()
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–2014 Apache Software Foundation. All rights reserved.