Package com.ibm.websphere.brb.implementor

Provides rule implementors that encapsulate functions that are typically used by a BRBeans application.

See:
          Description

Class Summary
ImplementorHelper A helper class for RuleImplementor implementations.
RuleAND Combination rule comprised of two or more rules which are all fired and their results ANDed together.
RuleConstant Derivation rule which simply returns a persistent constant.
RuleConvert Derivation rule used to compute and return the result from a generic conversion performed with the formula mx+b.
RuleEqual Constraint type rule algorithm that returns a true ConstraintReturn if x == a, where x arrives as a firing parameter and a is either provided as initialization parameter or as a firing parameter.
RuleFalse Always returns a false ConstraintReturn.
RuleGreaterThan Constraint type rule algorithm that returns a true ConstraintReturn if x > a, where x arrives as a firing parameter and a is either provided as an initialization parameter or as a firing parameter.
RuleGreaterThanEqual Constraint type rule algorithm that returns a true ConstraintReturn if x >= a, where x arrives as a firing parameter and a is either provided as an initialization parameter or as a firing parameter.
RuleIfThenElse Combination rule comprised of three rules.
RuleIsNotNull Constraint type rule algorithm that returns a true ConstraintReturn if the input is not null.
RuleIsNull Constraint type rule algorithm that returns a true ConstraintReturn if the input is null.
RuleLessThan Constraint type rule algorithm that returns a true ConstraintReturn if x < a, where x arrives as a firing parameter and a is either provided as an initialization parameter or as a firing parameter.
RuleLessThanEqual Constraint type rule algorithm that returns a true ConstraintReturn if x <= a, where x arrives as a firing parameter and a is either provided as an initialization parameter or as a firing parameter.
RuleLink Fires a dependent rule and returns the result of the dependent rule.
RuleMerger Combination rule comprised of three or more rules, one of which is a merger rule.
RuleOR Combination rule comprised of two or more constraint-type rules which are all fired and their results or'd together.
RuleRange Constraint type rule algorithm that returns a true ConstraintReturn if a <= x <= b, where x arrives as a firing parameter and a and b are either provided as initialization parameters or as firing parameters.
RuleRangeNonInclusive Constraint type rule algorithm that returns a true ConstraintReturn if a < x < b, where x arrives as a firing parameter and a and b are either provided as initialization parameters or as firing parameters.
RuleTrue Always returns a true ConstraintReturn.
RuleValueForRange This rule returns a string value based on where a number falls with respect to a range.
RuleValueForRangeNonInclusive This rule returns a string value based on where a number falls with respect to a range.
 

Package com.ibm.websphere.brb.implementor Description

Provides rule implementors that encapsulate functions that are typically used by a BRBeans application. They are also useful as samples of how rule implementors are created. All rule implementors extend from the  RuleImplementor  interface.

The implementors in this package are more general than those that would typically be created,  which allows them to be used in a wide range of applications. First of all, a wide range of data types can be passed to any of the functions. This includes all the primitive wrapper types, String, and java.util.Date. In addition, most operands can be passed as either init parameterss or firing paramiters. This allows applications to create rules that have values stored inside the rule, or to pass all operands at runtime. The documentation for each implementor should be examined to determine the individual number and types of parameters required.