Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Business Rules
11g Release 1 (11.1.1.6.2)

E10663-08


Package oracle.rules.sdk2.decisiontable

A decision table is a RuleSheet and contents: DTRules, Dimensions, and DTActions.

See:
          Description

Class Summary
Bucket A Bucket defines an atomic value for a Dimension of a decision table.
BucketSet A BucketSet is the set of values in a Dimension of a decision table.
BucketTable A list of Buckets in a BucketSet.
Conflict A Conflict is 2 rules with overlapping Dimension values in all dimensions, different actions, and no reference from one to the other in its noConflict, runBefore, or override lists.
Dimension A Dimension defines a top-level ANDed term in the condition part of every rule in a decision table.
DimensionNode A DimensionNode stores the dimension values for a "cell" in the decision table.
DimensionNodeTable A list of DimensionNodes in the same Dimension.
DimensionTable An ordered list of Dimensions in the decision table.
DTAction A DTAction is an action that may be selected by any rule in the decision table, optionally with different parameters per rule.
DTActionNode A DTActionNode tells each DTRule how to interpret its DTAction.
DTActionNodeTable A list of DTActionNodes per DTAction.
DTActionTable An ordered list of DTActions in the decision table.
DTComponentTable<T extends RuleComponent>  
DTRule A DTRule contains conflict resolution information and provides methods for accessing the DimensionNodes and DTActionNodes for the rule.
DTRuleTable A list of DTRules in the decision table.
Gap A Gap specifies a missing rule using a DimensionNode (sibling) that is missing a sibling in order to cover all the Buckets in the sibling Dimension.
RuleSheet A RuleSheet represents a decision table.

 

Package oracle.rules.sdk2.decisiontable Description

A decision table is a RuleSheet and contents: DTRules, Dimensions, and DTActions.  

Package Specification

Dimensions contain DimensionNodes, and DTActions contain DTActionNodes.  DimensionNodes are linked together in a tree.  DTRules refer to a DimensionNode per Dimension, and to a DTActionNode per DTAction.

The decision table package does not impose a particular layout.  In fact, the "table" could even be represented as a tree or an N-dimensional pivot table.

One possible layout is shown below:

 

 
 
Rule1 Rule2 Rule3
Dimension1
age
[30..70]
<30, >70
Dimension2
gender
M
F
-
DTAction1
set risk
medium
low
high

 

DimensionNodes are in grey, and DTActionNodes are in yellow.


Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Business Rules
11g Release 1 (11.1.1.6.2)

E10663-08


Copyright © 2012, Oracle and/or its affiliates. All rights reserved.