com.cyclops.dbdigger.model.base.database
Class BaseDefaultDatabase

java.lang.Object
  extended bycom.cyclops.dbdigger.model.base.database.BaseDefaultDatabase
All Implemented Interfaces:
Database
Direct Known Subclasses:
DefaultDatabase

public class BaseDefaultDatabase
extends Object
implements Database

Add description HERE!

Since:
2003-6-20 17:04:01
Author:
joel guo

Field Summary
static DBObject1Metadata C_FOO_OBJECT1S
          C_FOO_OBJECT1S table meta
static String DESCRIPTION
          Description of this Database
static DefaultDatabase INSTANCE
          Single instance
static String NAME
          Name of this Database
 
Fields inherited from interface com.cyclops.dbdigger.schema.Database
EMPTY_ARRAY
 
Constructor Summary
BaseDefaultDatabase()
           
 
Method Summary
 String getDescription()
          Override method getDescription() of super class
 String getName()
          Override method getName() of super class
 Schema getSchema()
          Override method getSchema() of super class
 Table getTable(String tableName)
          Override method getTable() of super class
 Table[] getTables()
          Override method getTables() of super class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final DefaultDatabase INSTANCE
Single instance


NAME

public static final String NAME
Name of this Database

See Also:
Constant Field Values

DESCRIPTION

public static final String DESCRIPTION
Description of this Database

See Also:
Constant Field Values

C_FOO_OBJECT1S

public static final DBObject1Metadata C_FOO_OBJECT1S
C_FOO_OBJECT1S table meta

Constructor Detail

BaseDefaultDatabase

public BaseDefaultDatabase()
Method Detail

getDescription

public String getDescription()
Override method getDescription() of super class

Specified by:
getDescription in interface Database
Returns:
Description of this database
See Also:
Database.getDescription()

getName

public String getName()
Override method getName() of super class

Specified by:
getName in interface Database
Returns:
Name of this database
See Also:
Database.getName()

getSchema

public Schema getSchema()
Override method getSchema() of super class

Specified by:
getSchema in interface Database
Returns:
Schema this database belong to
See Also:
Database.getSchema()

getTable

public Table getTable(String tableName)
Override method getTable() of super class

Specified by:
getTable in interface Database
Parameters:
tableName - Name of table to be find
Returns:
Find Table object by its name, null if not found
See Also:
Database.getTable(java.lang.String)

getTables

public Table[] getTables()
Override method getTables() of super class

Specified by:
getTables in interface Database
Returns:
All table objects in this database
See Also:
Database.getTables()


Copyright © 2003 Cyclops Group. All Rights Reserved.