com.cyclops.dbdigger
Class DBDigger

java.lang.Object
  extended bycom.cyclops.dbdigger.DBDigger

public class DBDigger
extends Object

Core class for dbdigger project, use getInstance() to get DBDigger instance Each DBDigger instance stands for a physical database

Since:
2003-5-21 23:25:09
Author:
joel guo

Field Summary
static String DEFAULT_DBDIGGER
          DEFAULT NAME
static DBDigger[] EMPTY_ARRAY
          Empty DBDigger object array
 
Constructor Summary
DBDigger(String aname)
          Constructor method for class DBDigger
 
Method Summary
 Database getDatabase()
          Get database object of this dbdigger
static DBDigger getInstance()
          Get default dbdigger instance
static DBDigger getInstance(String dbname)
          Get DBDigger instance
static DBDigger[] getInstances()
          Get all DBDigger instances object
 String getName()
          Method getName() in class DBDigger
static Schema getSchema()
          Method getSchema() in class DBDigger
 SQLCastor getSQLCastor()
          Method getSQLCastor() in class DBDigger
 void setSQLCastor(SQLCastor sqlc)
          Method setSQLCastor()
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_DBDIGGER

public static final String DEFAULT_DBDIGGER
DEFAULT NAME

See Also:
Constant Field Values

EMPTY_ARRAY

public static final DBDigger[] EMPTY_ARRAY
Empty DBDigger object array

Constructor Detail

DBDigger

public DBDigger(String aname)
Constructor method for class DBDigger

Parameters:
aname - Name of this dbdigger
Method Detail

getInstance

public static DBDigger getInstance()
Get default dbdigger instance

Returns:
DBDigger instance

getInstance

public static DBDigger getInstance(String dbname)
Get DBDigger instance

Parameters:
dbname - name of dbdigger
Returns:
DBDigger instance

getInstances

public static DBDigger[] getInstances()
Get all DBDigger instances object

Returns:
Array of instances

getSchema

public static final Schema getSchema()
Method getSchema() in class DBDigger

Returns:
Root schema instance

getDatabase

public Database getDatabase()
Get database object of this dbdigger

Returns:
Database object

getName

public String getName()
Method getName() in class DBDigger

Returns:
Name of this dbdigger

getSQLCastor

public SQLCastor getSQLCastor()
Method getSQLCastor() in class DBDigger

Returns:
SQLCastor of this dbdigger

setSQLCastor

public void setSQLCastor(SQLCastor sqlc)
Method setSQLCastor()

Parameters:
sqlc - SQLCastor instance


Copyright © 2003 Cyclops Group. All Rights Reserved.