Guvnor web application Drools 6.0.0-SNAPSHOT

org.drools.guvnor.server.converters.decisiontable.builders
Class RowNumberBuilder

java.lang.Object
  extended by org.drools.guvnor.server.converters.decisiontable.builders.RowNumberBuilder
All Implemented Interfaces:
org.drools.decisiontable.parser.SourceBuilder, GuidedDecisionTableSourceBuilder

public class RowNumberBuilder
extends Object
implements GuidedDecisionTableSourceBuilder

Builder for RowNumber columns


Constructor Summary
RowNumberBuilder()
           
 
Method Summary
 void addCellValue(int row, int col, String value)
           
 void addTemplate(int row, int col, String content)
           
 void clearValues()
           
 org.drools.decisiontable.parser.ActionType.Code getActionTypeCode()
           
 String getResult()
           
 boolean hasValues()
           
 void populateDecisionTable(GuidedDecisionTable52 dtable)
          Populate the given Decision Table with details of the parsed column.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RowNumberBuilder

public RowNumberBuilder()
Method Detail

populateDecisionTable

public void populateDecisionTable(GuidedDecisionTable52 dtable)
Description copied from interface: GuidedDecisionTableSourceBuilder
Populate the given Decision Table with details of the parsed column. Actions should include adding applicable columns and data to the underlying model.

Specified by:
populateDecisionTable in interface GuidedDecisionTableSourceBuilder

addCellValue

public void addCellValue(int row,
                         int col,
                         String value)
Specified by:
addCellValue in interface org.drools.decisiontable.parser.SourceBuilder

clearValues

public void clearValues()
Specified by:
clearValues in interface org.drools.decisiontable.parser.SourceBuilder

hasValues

public boolean hasValues()
Specified by:
hasValues in interface org.drools.decisiontable.parser.SourceBuilder

getActionTypeCode

public org.drools.decisiontable.parser.ActionType.Code getActionTypeCode()
Specified by:
getActionTypeCode in interface org.drools.decisiontable.parser.SourceBuilder

getResult

public String getResult()
Specified by:
getResult in interface org.drools.decisiontable.parser.SourceBuilder

addTemplate

public void addTemplate(int row,
                        int col,
                        String content)
Specified by:
addTemplate in interface org.drools.decisiontable.parser.SourceBuilder

Guvnor web application Drools 6.0.0-SNAPSHOT

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