How to Display and Edit XML Facts How to Reload XML Facts with Updated Schema
9. In the Create XML Fact dialog, in the Target Classes area, select the classes you
want to import as XML fact types.10. Click OK.
3.2.2 How to Display and Edit XML Facts
To work with an XML Fact, in Rules Designer open the Edit XML Fact dialog. To display and edit XML facts: 1. In Rules Designer, select the Facts navigation tab. 2. Select the XML Facts tab on the Facts navigation tab. 3. In the XML Facts table, double-click the icon for the XML Fact you want to edit. This displays the Edit XML Fact dialog, as shown in Figure 3–4 . 3-6 Oracle Fusion Middleware Users Guide for Oracle Business Rules Figure 3–4 Edit XML Fact Dialog The Edit XML Fact dialog includes the fields shown in Table 3–1 .3.2.3 How to Reload XML Facts with Updated Schema
If an XML schema changes in a project, the schema must be reimported into the Oracle Business Rules dictionary. When you reimport the schema, Oracle Business Rules uses JAXB to recompile all source schemas for every XML fact type and updates the XML Table 3–1 XML Fact: Edit XML Fact Dialog Fields Field Description Name Displays the XML Fact name. You cannot change the name of JAXB generated class. Alias Enter the XML Fact alias. You can change this value. This defaults to the unqualified name of the class. Super Class Displays Java super class associated with this fact. Description Enter the XML Fact description. XML Name Displays the XML name associated with the XML Fact. Generated From Displays the XML schema file that was the source for the XML Fact when it was copied into the business rules data model. Visible Select to show the XML Fact in lists in Rules Designer. XML Facts often reference other XML Facts, forming a tree. You should make all the XML fact types visible that contain properties that you reference in rules. Support XPath Assertion Select to enable XPath assertion for the fact. This feature is provided for backward compatibility only. Typically, this option is not used. Attributes area Select the available constructors, properties, methods, or fields associated with the JAXB class for the XML Fact to display or edit. Working with Facts and Bucketsets 3-7 fact type definitions with the updated XML schema definitions. You should reimport facts if you changed the schema or classes and you want to use the changed schema or classes at runtime. To reimport XML facts: 1. In Rules Designer, select the Facts navigation tab. 2. Select the XML Facts tab on the Facts navigation tab. 3. On the XML Facts page, click the Reload XML Facts from Updated Schemas icon. After the reimport operation you need to correct any validation warnings that may be caused by incompatible changes for example, the updated schema may include a change that removed a property that is referenced by a rule.3.2.4 What You Need to Know About XML Facts
Parts
» Oracle Fusion Middleware Online Documentation Library
» What Are Rule Conditions? What Are Rule Actions?
» What Are Decision Tables? What Are Facts and Bucketsets? What Are Rulesets?
» Oracle Business Rules SDK Rules Designer
» Declarative Rules The RETE Algorithm
» How to Display and Edit XML Facts How to Reload XML Facts with Updated Schema
» What You Need to Know About XML Facts
» How to Display and Edit Java Facts What You Need to Know About Java Facts
» What You Need to Know About List of Values Bucketsets What You Need to Know About Range Bucketsets
» What You Need to Know About Bucketset Allowed in Actions Option
» In the Filter Query field, click insert test to insert a default test as
» How to Add Rules How to Define a Test in a Rule
» What You Need to Know About Advanced Mode Rules
» Introduction to Tree Mode Rules
» What You Need to Know About Tree Mode Rules
» How to Use Bucketsets to Provide Options for Test Expressions
» From the list next to the Add icon, select Rule.
» Introduction to Decision Table Operations
» Introduction to Decision Point API How to Obtain the Car Rental Sample Application
» How to Create Data Model Elements for Use with a Decision Point
» How to Add a Decision Point Using Decision Point Builder
» How to Create and Use Decision Point Instances
» What You Need to Know About Decision Point and Decision Tracing
» Testing Oracle Business Rules at Runtime Introduction to the Grades Sample Application
» Enter a name and test score and click Submit. This returns results as shown in
» Understanding Oracle Business Rules ADF Business Components Fact Types
» Understanding Oracle Business Rules Decision Point Action Type
» How to Call a Decision Point with ADF Business Components Facts
» How to Call a Decision Function with Java Decision Point Interface
» What You Need to Know About Decision Function Configuration with ADF Business Components
» How to Add the Outside Manager Finder Class
» How to Update ADF META INF for Local Dictionary Access
» How to Add the Employee Raises Java Class
» Working with Decision Component Metadata
» Introduction to Decision Components Decision Service Architecture
» Working with Advanced Mode Options
» Expression Builder Condition Browser
» Editing Decision Table Cells
» Understanding the Validation Panel Updating the Validation Panel
Show more