com.cyclops.dbdigger.model.base.metadata
Class BaseDBObject1Metadata

java.lang.Object
  extended bycom.cyclops.dbdigger.model.base.metadata.BaseDBObject1Metadata
All Implemented Interfaces:
Table
Direct Known Subclasses:
DBObject1Metadata

public class BaseDBObject1Metadata
extends Object
implements Table

Add description HERE!

Since:
2003-6-20 17:16:03
Author:
joel guo

Field Summary
static Database DATABASE
          Database instance
static String DESCRIPTION
          Description of table
static Column ID
          ID Column
static DBObject1Metadata INSTANCE
          Self instance
static String JAVA_CLASS_NAME
          Java class name of table
static String NAME
          Name of table
static Column OBJECT_NAME
          OBJECT_NAME Column
static Column PRIMARY_KEY
          Primary key of table
 
Fields inherited from interface com.cyclops.dbdigger.schema.Table
EMPTY_ARRAY
 
Constructor Summary
BaseDBObject1Metadata()
           
 
Method Summary
 Column getColumn(String columnName)
          Override method getColumn() of super class
 Column[] getColumns()
          Override method getColumns() of super class
 Database getDatabase()
          Override method getDatabase() of super class
 String getDescription()
          Override method getDescription() of super class
 String getJavaClassName()
          Override method getJavaClassName() of super class
 String getName()
          Override method getName() of super class
 Column getPrimaryKey()
          Override method getPrimaryKey() of super class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATABASE

public static final Database DATABASE
Database instance


INSTANCE

public static final DBObject1Metadata INSTANCE
Self instance


NAME

public static final String NAME
Name of table

See Also:
Constant Field Values

DESCRIPTION

public static final String DESCRIPTION
Description of table

See Also:
Constant Field Values

JAVA_CLASS_NAME

public static final String JAVA_CLASS_NAME
Java class name of table

See Also:
Constant Field Values

PRIMARY_KEY

public static final Column PRIMARY_KEY
Primary key of table


ID

public static final Column ID
ID Column


OBJECT_NAME

public static final Column OBJECT_NAME
OBJECT_NAME Column

Constructor Detail

BaseDBObject1Metadata

public BaseDBObject1Metadata()
Method Detail

getColumn

public Column getColumn(String columnName)
Override method getColumn() of super class

Specified by:
getColumn in interface Table
Parameters:
columnName - Name of the column object
Returns:
The found Column object, null if not found
See Also:
Table.getColumn(java.lang.String)

getColumns

public Column[] getColumns()
Override method getColumns() of super class

Specified by:
getColumns in interface Table
Returns:
All Column objects in this Table
See Also:
Table.getColumns()

getDatabase

public Database getDatabase()
Override method getDatabase() of super class

Specified by:
getDatabase in interface Table
Returns:
Database object this Table belong to
See Also:
Table.getDatabase()

getDescription

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

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

getJavaClassName

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

Specified by:
getJavaClassName in interface Table
Returns:
Java class name of this Table
See Also:
Table.getJavaClassName()

getName

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

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

getPrimaryKey

public Column getPrimaryKey()
Override method getPrimaryKey() of super class

Specified by:
getPrimaryKey in interface Table
Returns:
Primary key Column object, null if no primary key
See Also:
Table.getPrimaryKey()


Copyright © 2003 Cyclops Group. All Rights Reserved.