Package wt.rule.algorithm
package wt.rule.algorithm
-
ClassDescriptionGiven two or more comparisons, returns TRUE if all comparisons return true, FALSE otherwise.This algorithm returns one of two values based on a boolean value.An very simple algorithm that takes a single
Stringargument and returns it unmodified.This is a branch algorithm, which is similar to BooleanBranch, but allows any odd number of parts as input and allows a default return.An algorithm that takes the fully qualified name of a concreteEnumeratedTypeclass and an internal value for an instance of that type and returns an instance of that type.two objects, determine the equality.Given soft type id and attribute type id, it returns the default value of this given attribute type.Input Parameter of the algorithm:args array Return value of the algorithm: return true, if the first arg is Null, else, return false
Supported API: trueInput Parameter of the algorithm:args array Return value of the algorithm: return true, if the first arg is NOT Null, else, return false
Supported API: trueInput Parameter of the algorithm:args array Return value of the algorithm: return true, if the first arg is Null, else, return false
Supported API: trueThrown when the arguments passed to an algorithm contain invalid data.Given two or more comparisons, return TRUE if any comparison returns true and all agrs passed in are Boolean, If any arg passed isn't Boolean, throw exception.Code that implements this interface could allow itself to be used within the Rule xml files defined through administrative OIR as algorithms.An very simple algorithm that takes a singleStringargument and returns it unmodified.Given an attribute and value determine the equality.Takes a list of values and tests if the first is equal to any of the others, and then returns a Boolean.Given an attribute and a value, with "*" in the value, determine the equality using Regular Expression related concepts.