All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class da.da_ColumnsElement

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

public class da_ColumnsElement
extends xg_Element
An XML element to represent the structure of the columns of a database table. Note that a "Columns" element itself contains no information, and is just a container for the individual column elements (its children).


Variable Index

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

Constructor Index

 o da_ColumnsElement()
Construct a database columns element with no name.
 o da_ColumnsElement(String)
Construct a database columns element with a name.

Method Index

 o analyseColumns(DatabaseMetaData, ResultSet)
Analyse the definition of the columns whose details are in the InputColumnsResultSet, and model it here.
 o toString()
Return a string representation of the element (intended for use as debug output).

Variables

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

Constructors

 o da_ColumnsElement
 public da_ColumnsElement()
Construct a database columns element with no name.

 o da_ColumnsElement
 public da_ColumnsElement(String InputNodeName)
Construct a database columns element with a name.

Parameters:
InputNodeName - The name of the element

Methods

 o analyseColumns
 public void analyseColumns(DatabaseMetaData InputMetaData,
                            ResultSet InputColumnResultSet)
Analyse the definition of the columns whose details are in the InputColumnsResultSet, and model it here.

Parameters:
InputMetaData - the metadata describing the database to which this table belongs
InputColumnResultSet - the result set from which to obtain details about the columns we represent
 o toString
 public String toString()
Return a string representation of the element (intended for use as debug output).

Returns:
String representing the node type and its name.
Overrides:
toString in class xg_Element

All Packages  Class Hierarchy  This Package  Previous  Next  Index