All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class da.da_DatabaseSchemaElement

java.lang.Object
   |
   +----com.sun.java.swing.tree.DefaultMutableTreeNode
           |
           +----xg.xg_Node
                   |
                   +----xg.xg_Element
                           |
                           +----da.da_DatabaseSchemaElement

public class da_DatabaseSchemaElement
extends xg_Element
An XML element to represent the structure of a database.


Variable Index

 o ClassAttName
The name of the attribute which holds the name of the driver class.
 o RegisteredName
The element type name normally used in XML for this sort of element.

Constructor Index

 o da_DatabaseSchemaElement()
Construct a database schema element with no name.
 o da_DatabaseSchemaElement(String)
Construct a database schema element with a name.

Method Index

 o analyseCatalogs(DatabaseMetaData)
Find out about the catalogs in this database.
 o analyseDatabase(DatabaseMetaData)
Analyse the database, and put the details into the document model.
 o analyseSchemas(DatabaseMetaData)
Find out about the schemas in this database.
 o analyseTables(DatabaseMetaData)
Find out about the tables in this database.
 o analyseTableTypes(DatabaseMetaData)
Find out about the types of table supported by this database.
 o analyseViews(DatabaseMetaData)
Find out about the views in this database.
 o toString()
Get a summary descriptive string suitable for display in the tree view or elsewhere.
 o verify()

Verify that this node is correct (ie.

Variables

 o RegisteredName
 public static final String RegisteredName
The element type name normally used in XML for this sort of element.

 o ClassAttName
 public static final String ClassAttName
The name of the attribute which holds the name of the driver class.

Constructors

 o da_DatabaseSchemaElement
 public da_DatabaseSchemaElement()
Construct a database schema element with no name.

 o da_DatabaseSchemaElement
 public da_DatabaseSchemaElement(String InputNodeName)
Construct a database schema element with a name.

Parameters:
InputNodeName - The name of the element

Methods

 o verify
 public void verify() throws xg_VerificationException

Verify that this node is correct (ie. internally correct and/or consistent with other nodes - such as its parent). The node is OK if it possesses a 'Class' attribute which names a valid database driver class.

Throws: xg_VerificationException
Description of verification problem
Overrides:
verify in class xg_Node
 o analyseDatabase
 public void analyseDatabase(DatabaseMetaData InputMetaData)
Analyse the database, and put the details into the document model.

Parameters:
InputMetaData - The metadata describing the database
 o analyseCatalogs
 public void analyseCatalogs(DatabaseMetaData InputMetaData)
Find out about the catalogs in this database.

Parameters:
InputMetaData - The metadata describing the database
 o analyseSchemas
 public void analyseSchemas(DatabaseMetaData InputMetaData)
Find out about the schemas in this database.

Parameters:
InputMetaData - The metadata describing the database
 o analyseTableTypes
 public void analyseTableTypes(DatabaseMetaData InputMetaData)
Find out about the types of table supported by this database.

Parameters:
InputMetaData - The metadata describing the database
 o analyseTables
 public void analyseTables(DatabaseMetaData InputMetaData)
Find out about the tables in this database.

Parameters:
InputMetaData - The metadata describing the database
 o analyseViews
 public void analyseViews(DatabaseMetaData InputMetaData)
Find out about the views in this database.

Parameters:
InputMetaData - The metadata describing the database
 o toString
 public String toString()
Get a summary descriptive string suitable for display in the tree view or elsewhere.

Returns:
A description suitable for display in the tree view
Overrides:
toString in class xg_Element

All Packages  Class Hierarchy  This Package  Previous  Next  Index