    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.

##

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

##

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

##

analyseColumn(DatabaseMetaData, ResultSet)
  Analyse the definition of the column whose details are in the InputColumnResultSet, and model it here.
toString()
  Get a summary descriptive string suitable for display in the tree view or elsewhere.
verify()

  Verify that this node is correct (ie.

##

ColumnName

     protected String ColumnName

  The name of this column.

RegisteredName

     public static final String RegisteredName

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

NameAttName

     public static final String NameAttName

  The name of the attribute which holds the name of this column.

TableNameAttName

     public static final String TableNameAttName

  The name of the table this column comes from.

##

da_ViewColumnElement

     public da_ViewColumnElement()

  Construct a view column element with no name.

da_ViewColumnElement

     public da_ViewColumnElement(String InputNodeName)

  Construct a view column 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 'Name' attribute.

  Throws: xg_VerificationException
    Description of verification problem
  Overrides:
    verify in class xg_Node

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

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