org.drools.ide.common.server.util
Interface GuidedDTDRLOtherwiseHelper.OtherwiseBuilder

All Known Implementing Classes:
GuidedDTDRLOtherwiseHelper.EqualsOtherwiseBuilder, GuidedDTDRLOtherwiseHelper.NotEqualsOtherwiseBuilder
Enclosing class:
GuidedDTDRLOtherwiseHelper

public static interface GuidedDTDRLOtherwiseHelper.OtherwiseBuilder

Interface defining a factory method to build a FieldConstraint


Method Summary
 FieldConstraint makeFieldConstraint(ConditionCol52 c, List<DTColumnConfig52> allColumns, List<List<DTCellValue52>> data)
          Build a Field Constraint
 

Method Detail

makeFieldConstraint

FieldConstraint makeFieldConstraint(ConditionCol52 c,
                                    List<DTColumnConfig52> allColumns,
                                    List<List<DTCellValue52>> data)
Build a Field Constraint

Parameters:
c - Condition Column that contains the "Otherwise" cell
allColumns - 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:


Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.