All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class da.da_ViewColumnElement

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

public class da_ViewColumnElement
extends xg_Element
An XML element to represent the structure of one column in a database view.


Variable Index

 o ColumnName
The name of this column.
 o NameAttName
The name of the attribute which holds the name of this column.
 o RegisteredName
The element type name normally used in XML for this sort of element.
 o TableNameAttName
The name of the table this column comes from.

Constructor Index

 o da_ViewColumnElement()
Construct a view column element with no name.
 o da_ViewColumnElement(String)
Construct a view column element with a name.

Method Index

 o analyseColumn(DatabaseMetaData, ResultSet)
Analyse the definition of the column whose details are in the InputColumnResultSet, and model it here.
 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 ColumnName
 protected String ColumnName
The name of this column.

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

 o NameAttName
 public static final String NameAttName
The name of the attribute which holds the name of this column.

 o TableNameAttName
 public static final String TableNameAttName
The name of the table this column comes from.

Constructors

 o da_ViewColumnElement
 public da_ViewColumnElement()
Construct a view column element with no name.

 o da_ViewColumnElement
 public da_ViewColumnElement(String InputNodeName)
Construct a view column 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 'Name' attribute.

Throws: xg_VerificationException
Description of verification problem
Overrides:
verify in class xg_Node
 o analyseColumn
 public void analyseColumn(DatabaseMetaData InputMetaData,
                           ResultSet InputColumnResultSet)
Analyse the definition of the column whose details are in the InputColumnResultSet, and model it here.

Parameters:
InputMetaData - the metadata describing the database to which this column belongs
InputColumnResultSet - the result set from which to obtain details about the column we represent
 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