| java.lang.Object org.drools.decisiontable.parser.LhsBuilder
LhsBuilder | public class LhsBuilder implements SourceBuilder(Code) | | This utility will build up a list of constraints for a column.
For instance, the column has been spanned across multiple cells, and the cells below
contain the constraints.
author: Michael Neale |
Inner Class :static class FieldType | |
LhsBuilder | public LhsBuilder(String colDefinition)(Code) | | Parameters: colDefinition - The initial column definition that is shared via merged cells. |
addCellValue | public void addCellValue(int col, String value)(Code) | | |
addTemplate | public void addTemplate(int column, String content)(Code) | | |
calcFieldType | public FieldType calcFieldType(String content)(Code) | | Work out the type of "field" that is being specified,
as in :
age
age <
age == $param
etc. as we treat them all differently.
|
clearValues | public void clearValues()(Code) | | |
hasValues | public boolean hasValues()(Code) | | |
isMultipleConstraints | boolean isMultipleConstraints()(Code) | | Returns true if this is building up multiple constraints as in:
Foo(a ==b, c == d) etc...
If not, then it it really just like the "classic" style DTs.
|
|
|