com.ibm.wbiserver.brules.mgmt.dtable

Interface TreeNode

All Superinterfaces:
BusinessRuleChangeDetector, BusinessRuleValidateable, java.io.Serializable
All known subinterfaces:
ActionNode, ConditionNode

  1. public interface TreeNode
  2. 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

Modifier and Type Field and Description
  1. static
  2. java.lang.String
COPYRIGHT

Method Summary

Modifier and Type Method and Description
  1. TreeBlock
getContainingTreeBlock()
Get the tree block that contains this tree node.
  1. TreeNode
getParentNode()
Get the parent node of this node.
  1. TreeNode
getRootNode()
Get the root node of the tree containing this node.
  1. 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

  1. static final java.lang.String COPYRIGHT
See Also:

Method Detail

getContainingTreeBlock

  1. TreeBlock getContainingTreeBlock( )
Get the tree block that contains this tree node.
Returns:
The tree block that contains this tree node.

isOtherwiseCase

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

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

  1. TreeNode getRootNode()
Get the root node of the tree containing this node.
Returns:
The root node of the tree containing this node.