    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).

##

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

##

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

##

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

##

RegisteredName

     public static final String RegisteredName

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

##

da_ColumnsElement

     public da_ColumnsElement()

  Construct a database columns element with no name.

da_ColumnsElement

     public da_ColumnsElement(String InputNodeName)

  Construct a database columns element with a name.

  Parameters:
    InputNodeName - The name of the element

##

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

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