    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.

##

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

##

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

##

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

  Verify that this node is correct (ie.

##

RegisteredName

     public static final String RegisteredName

  The element type name normally used in XML for this sort of element.

ClassAttName

     public static final String ClassAttName

  The name of the attribute which holds the name of the driver class.

##

da_DatabaseSchemaElement

     public da_DatabaseSchemaElement()

  Construct a database schema element with no name.

da_DatabaseSchemaElement

     public da_DatabaseSchemaElement(String InputNodeName)

  Construct a database schema element with a name.

  Parameters:
    InputNodeName - The name of the element

##

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

analyseDatabase

     public void analyseDatabase(DatabaseMetaData InputMetaData)

  Analyse the database, and put the details into the document model.

  Parameters:
    InputMetaData - The metadata describing the database

analyseCatalogs

     public void analyseCatalogs(DatabaseMetaData InputMetaData)

  Find out about the catalogs in this database.

  Parameters:
    InputMetaData - The metadata describing the database

analyseSchemas

     public void analyseSchemas(DatabaseMetaData InputMetaData)

  Find out about the schemas in this database.

  Parameters:
    InputMetaData - The metadata describing the database

analyseTableTypes

     public void analyseTableTypes(DatabaseMetaData InputMetaData)

  Find out about the types of table supported by this database.

  Parameters:
    InputMetaData - The metadata describing the database

analyseTables

     public void analyseTables(DatabaseMetaData InputMetaData)

  Find out about the tables in this database.

  Parameters:
    InputMetaData - The metadata describing the database

analyseViews

     public void analyseViews(DatabaseMetaData InputMetaData)

  Find out about the views in this database.

  Parameters:
    InputMetaData - The metadata describing the database

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