| |
|
| java.lang.Object org.openharmonise.him.actions.rules.RuleGroup
RuleGroup | public class RuleGroup implements EnableRule(Code) | | Rule that groups other rules and returns true in either an
AND or OR mode.
author: Matthew Large version: $Revision: 1.1 $ |
GROUPTYPE_AND | public static String GROUPTYPE_AND(Code) | | Group type identifier for AND groups.
|
GROUPTYPE_OR | public static String GROUPTYPE_OR(Code) | | Group type identifier for OR groups.
|
m_bComparator | boolean m_bComparator(Code) | | |
RuleGroup | public RuleGroup()(Code) | | |
addEnableRule | public void addEnableRule(EnableRule rule)(Code) | | Adds a rule to this rule group.
Parameters: rule - Rule to add |
setGroupType | public void setGroupType(String sGroupType)(Code) | | Sets the group type. This can be either AND or
OR . An AND group will return true
if all of the rules it contains return true. An OR
group will return true if any of the rules it contains return true.
Parameters: sGroupType - Group type See Also: RuleGroup.GROUPTYPE_AND See Also: RuleGroup.GROUPTYPE_OR |
setResultComparator | public void setResultComparator(boolean bComparator)(Code) | | |
|
|
|