IBM WebSphere Application ServerTM
Release 7

com.ibm.wbiserver.brules.mgmt.dtable
Interface TreeNode

All Superinterfaces:
BusinessRuleChangeDetector, BusinessRuleValidateable, java.io.Serializable
All Known Subinterfaces:
ActionNode, ConditionNode

public interface TreeNode
extends BusinessRuleValidateable, BusinessRuleChangeDetector, java.io.Serializable

This interface represents one node within a decision tree. This is the abstract base class for a tree node. An actual tree node will be either of type ConditionNode or ActionNode. A ConditionNode represents a condition in the tree while an ActionNode represents an action.


Field Summary
static java.lang.String COPYRIGHT
           
 
Method Summary
 TreeBlock getContainingTreeBlock()
          Get the tree block that contains this tree node.
 TreeNode getParentNode()
          Get the parent node of this node.
 TreeNode getRootNode()
          Get the root node of the tree containing this node.
 boolean isOtherwiseCase()
          Determine whether or not this tree node is part of the otherwise case.
 
Methods inherited from interface com.ibm.wbiserver.brules.mgmt.BusinessRuleValidateable
validate
 
Methods inherited from interface com.ibm.wbiserver.brules.mgmt.BusinessRuleChangeDetector
hasChanges
 

Field Detail

COPYRIGHT

static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Method Detail

getContainingTreeBlock

TreeBlock getContainingTreeBlock()
Get the tree block that contains this tree node.

Returns:
The tree block that contains this tree node.

isOtherwiseCase

boolean isOtherwiseCase()
Determine whether or not this tree node is part of the otherwise case.

Returns:
true if this tree node is part of the otherwise case; otherwise false.

getParentNode

TreeNode getParentNode()
Get the parent node of this node.

Returns:
The parent node of this node. null if there is no parent node, i.e. if this is the root node.

getRootNode

TreeNode getRootNode()
Get the root node of the tree containing this node.

Returns:
The root node of the tree containing this node.

IBM WebSphere Application ServerTM
Release 7