Oracle Beehive
  Oracle® Beehive RESTful Web Services API Reference
  Release 2 (2.0.1.7)
  E16658-04

Contents

Overview

RuleCondition holds the boolean expression of the rule definition. The expression may contain references to the attribute definitions that are defined at RuleDefinition. Example of rule condition using attribute definiton "common_attributes.actor.eid = '[ActorId]'" In the above rule condition example, ActorId is the name of the attribute definition which is defined at the RuleDefinition.

Members

Name Type Description

attributes

attributeDefinition[]

expression

anyType

(constrained to BooleanExpression)

BooleanExpression of the condition of a rule is returned

Hierarchy

Examples

Below are examples in JSON and 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:ruleConditionDefinition xsi:type="obh:ruleConditionDefinition" xmlns:obh="http://www.oracle.com/beehive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <obh:attributes>your_attributeDefinition_0</obh:attributes>
        <obh:attributes>your_attributeDefinition_1</obh:attributes>
        <obh:attributes>your_attributeDefinition_2</obh:attributes>
        <obh:expression>your_anyType_0</obh:expression>
</obh:ruleConditionDefinition>

JSON Example

(show inherited members)

{
    "beeType":"ruleConditionDefinition",
        "attributes":[
            { your_{http://www.oracle.com/beehive}attributes_as_attributeDefinition0 },
            { your_{http://www.oracle.com/beehive}attributes_as_attributeDefinition1 },
            { your_{http://www.oracle.com/beehive}attributes_as_attributeDefinition2 }
        ],
        "expression":"your_{http://www.oracle.com/beehive}expression_as_anyType0"
}

XML Schema


<xs:complexType final="extension restriction" name="ruleConditionDefinition">
    <xs:sequence>
        <xs:element maxOccurs="unbounded" minOccurs="0"
            name="attributes" nillable="true" type="tns:attributeDefinition"/>
        <xs:element minOccurs="0" name="expression" type="xs:anyType"/>
    </xs:sequence>
</xs:complexType>

        

References

The following data represents the references to ruleConditionDefinition

Referenced By Resources

Not Referenced Directly by Resources

Referenced By Representaions