Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Chapter 4 and the preceding discussion in this chapter have provided enough information for most readers to start using business rules with confidence. In this section, we will take a closer look at business rules, and build a strong understanding of them.
Oracle Business Rules 11g by default provides a simple interface, known as simple mode, as shown in Figure 6-24.
There is also an advanced mode interface that can be enabled on a rule-by-rule basis by enabling the Advanced Mode checkbox, as shown in Figure 6-25.
FIGURE 6-24. The simple-mode rule
The difference between the two modes is that:
Is-a test is implicit in simple mode As can be seen in Figure 6-24 and Figure 6-25, the equivalent advanced-mode condition for a simple-mode condition, wraps the simple-mode condition in a test of the type: “variable is a fact type”. Also, in the advanced mode, the variable can be named as needed, whereas in simple mode the name is fixed to the fact type name.