All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class da.da_IndexElement

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

public class da_IndexElement
extends xg_Element
An XML element to represent the structure of one index of a database table.


Variable Index

 o IndexName
The name of this index.
 o NameAttName
The name of the attribute which holds the name of this index.
 o RegisteredName
The element type name normally used in XML for this sort of element.

Constructor Index

 o da_IndexElement()
Construct a database table indexes element with no name.
 o da_IndexElement(String)
Construct a database table indexes element with a name.

Method Index

 o addIndexColumn(ResultSet)
Add an column to this index, based on the InputIndexesResultSet.
 o setIndexName(String)
Set the name of this index.
 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 IndexName
 protected String IndexName
The name of this index.

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

Constructors

 o da_IndexElement
 public da_IndexElement()
Construct a database table indexes element with no name.

 o da_IndexElement
 public da_IndexElement(String InputNodeName)
Construct a database table indexes 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 setIndexName
 public void setIndexName(String InputIndexName)
Set the name of this index.

Parameters:
InputIndexName - the name of this index (which we assume has already been read from InputIndexesResultSet)
 o addIndexColumn
 public void addIndexColumn(ResultSet InputIndexesResultSet)
Add an column to this index, based on the InputIndexesResultSet.

Parameters:
InputIndexesResultSet - the result set from which to obtain details about the index 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