Class GuidedDTDRLOtherwiseHelper.NotEqualsOtherwiseBuilder
- java.lang.Object
-
- org.drools.workbench.models.guided.dtable.backend.util.GuidedDTDRLOtherwiseHelper.NotEqualsOtherwiseBuilder
-
- All Implemented Interfaces:
GuidedDTDRLOtherwiseHelper.OtherwiseBuilder
- Enclosing class:
- GuidedDTDRLOtherwiseHelper
public static class GuidedDTDRLOtherwiseHelper.NotEqualsOtherwiseBuilder extends Object
OtherwiseBuilder for not-equals operators. This assembles a comma separated list of non-null values contained in other cells in the column and constructs a FieldConstraint with operator "in" and the derived list: e.g. in ("a", "b", "c")
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.drools.workbench.models.datamodel.rule.FieldConstraintmakeFieldConstraint(ConditionCol52 c, List<BaseColumn> allColumns, List<List<DTCellValue52>> data)Build a Field Constraint
-
-
-
Method Detail
-
makeFieldConstraint
public org.drools.workbench.models.datamodel.rule.FieldConstraint makeFieldConstraint(ConditionCol52 c, List<BaseColumn> allColumns, List<List<DTCellValue52>> data)
Description copied from interface:GuidedDTDRLOtherwiseHelper.OtherwiseBuilderBuild a Field Constraint- Specified by:
makeFieldConstraintin interfaceGuidedDTDRLOtherwiseHelper.OtherwiseBuilder- Parameters:
c- Condition Column that contains the "Otherwise" cellallColumns- All Decision Table columns. Decision Tables have an implied "and" between multiple SingleFieldConstraints for the same Fact field. OtherwiseBuilders for less-than, greater-than etc need access to other Condition Columns bound to the same Fact and Field to construct a CompositeFieldConstraint.data- Decision Table values- Returns:
-
-