Overview

A Rule is an instance of the rule defintion with all the attribute values bound from a rule definition.

If the Rule is based on RuleTemplate then AttributeApplication values need to be provided for corresponding AttributeTemplates defined at the RuleTemplate.

Members

Name Type Description

actionPreferences

associativeArray<stringstring>

preferences of the rule action. Each rule can have action preferences. This will return the action preferences of the of the rule if the rule is based on the rule template otherwise action preferences are part of Rule Defition.

attributes

attributeApplication[]

the property values of the corresponding AttributeDefinition defined in the RuleDefinition are returned if the rule is defined based on the Template If the rule is not based on template then returns empty attributes.

collabId

beeId

definition

ruleDefinition

The rule defintion to which policy refers to.

ruleTemplate

ruleTemplate

returns Rule Template if the rule is based on the template otherwise returns null.

Hierarchy

Examples

Below are examples in XML formats. All examples are shown with all inherited members. Quoting when required is part of the examples, but you must obviously populate with your own data.

XML Example

(show inherited members)

<obh:rule xsi:type="obh:rule" xmlns:obh="http://www.oracle.com/beehive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <actionPreferences>your_associativeArray_0</actionPreferences>
        <attributes>your_attributeApplication_0</attributes>
        <attributes>your_attributeApplication_1</attributes>
        <attributes>your_attributeApplication_2</attributes>
        <collabId>your_beeId_0</collabId>
        <definition>your_ruleDefinition_0</definition>
        <ruleTemplate>your_ruleTemplate_0</ruleTemplate>
</obh:rule>

Referenced By Representaions