站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

RhsBuilder (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.decisiontable.parser
Class RhsBuilder

java.lang.Object
  extended by org.drools.decisiontable.parser.RhsBuilder
All Implemented Interfaces:
SourceBuilder

public class RhsBuilder
extends Object
implements SourceBuilder

Builds up a consequence entry.

Author:
Michael Neale

Constructor Summary
RhsBuilder(String boundVariable)
           
 
Method Summary
 void addCellValue(int col, String value)
           
 void addTemplate(int col, String content)
           
 void clearValues()
           
 String getResult()
           
 boolean hasValues()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RhsBuilder

public RhsBuilder(String boundVariable)
Parameters:
boundVariable - Pass in a bound variable if there is one. Any cells below then will be called as methods on it. Leaving it blank will make it work in "classic" mode.
Method Detail

addTemplate

public void addTemplate(int col,
                        String content)
Specified by:
addTemplate in interface SourceBuilder

addCellValue

public void addCellValue(int col,
                         String value)
Specified by:
addCellValue in interface SourceBuilder

clearValues

public void clearValues()
Specified by:
clearValues in interface SourceBuilder

getResult

public String getResult()
Specified by:
getResult in interface SourceBuilder

hasValues

public boolean hasValues()
Specified by:
hasValues in interface SourceBuilder


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.