SPT RWT Application API

com.sptci.rwt.webui.tree
Class TriggersNode<S extends MetaData>

java.lang.Object
  extended by echopointng.tree.DefaultMutableTreeNode
      extended by com.sptci.epng.TreeNode<S>
          extended by com.sptci.rwt.webui.tree.AbstractNode<S>
              extended by com.sptci.rwt.webui.tree.ContainerNode<S>
                  extended by com.sptci.rwt.webui.tree.TriggersNode<S>
All Implemented Interfaces:
MutableTreeNode, TreeNode, Serializable

public class TriggersNode<S extends MetaData>
extends ContainerNode<S>

A TreeNode that represents all the triggers in schema in the active database connection.

© Copyright 2007 Sans Pareil Technologies, Inc.

Version:
$Id: TriggersNode.java 4123 2008-05-25 21:49:01Z rakesh $
Author:
Rakesh Vidyadharan 2007-09-28
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class echopointng.tree.DefaultMutableTreeNode
DefaultMutableTreeNode.BreadthFirstEnumeration, DefaultMutableTreeNode.PathBetweenNodesEnumeration, DefaultMutableTreeNode.PostorderEnumeration, DefaultMutableTreeNode.PreorderEnumeration
 
Field Summary
 
Fields inherited from class com.sptci.rwt.webui.tree.ContainerNode
metadata
 
Fields inherited from class com.sptci.epng.TreeNode
initialised
 
Fields inherited from class echopointng.tree.DefaultMutableTreeNode
actionCommand, allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
TriggersNode(S metadata)
          Create a new tree node representing all the available triggers in the specified schema.
 
Method Summary
protected  void createChildren()
          Create the child nodes for this node.
protected  void createChildren(RootMetaData metadata)
          Create the child nodes for this node.
protected  void createChildren(TableMetaData metadata)
          Create the child nodes for this node.
 
Methods inherited from class com.sptci.rwt.webui.tree.ContainerNode
toString
 
Methods inherited from class com.sptci.rwt.webui.tree.AbstractNode
getChildCount, isLeaf, processFatalException, processFatalException
 
Methods inherited from class com.sptci.epng.TreeNode
getUserObject, setUserObject
 
Methods inherited from class echopointng.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, depthFirstEnumeration, getActionCommand, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObjectPath, insert, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setActionCommand, setAllowsChildren, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TriggersNode

public TriggersNode(S metadata)
Create a new tree node representing all the available triggers in the specified schema.

Parameters:
metadata - The metadata object representing the schema.
Method Detail

createChildren

protected void createChildren()
Create the child nodes for this node. Child nodes are instances of TriggerNode.

Specified by:
createChildren in class AbstractNode<S extends MetaData>

createChildren

protected void createChildren(TableMetaData metadata)
Create the child nodes for this node. Child nodes are instances of TriggerNode for the specified table.

Parameters:
metadata - The metadata for the table whose triggers are to be retrieved.
See Also:
TriggerAnalyser, TriggerNode

createChildren

protected void createChildren(RootMetaData metadata)
Create the child nodes for this node. Child nodes are instances of TriggerNode for the specified schema.

Parameters:
metadata - The metadata for the catalog/schema whose triggers are to be retrieved.
See Also:
TriggerAnalyser, TriggerNode

SPT RWT Application API