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

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


org.drools.decisiontable.model
Class Condition

java.lang.Object
  extended by org.drools.decisiontable.model.DRLElement
      extended by org.drools.decisiontable.model.Condition
All Implemented Interfaces:
DRLJavaEmitter

public class Condition
extends DRLElement
implements DRLJavaEmitter

This class represents a single LHS item (which will be the same as a line in traditional DRL).

Author:
Michael Neale

Field Summary
 String _snippet
           
 
Constructor Summary
Condition()
           
 
Method Summary
 String getSnippet()
           
 void renderDRL(DRLOutput out)
          Each node can add its contribution to the output
 void setSnippet(String snippet)
           
 
Methods inherited from class org.drools.decisiontable.model.DRLElement
setComment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_snippet

public String _snippet
Constructor Detail

Condition

public Condition()
Method Detail

setSnippet

public void setSnippet(String snippet)
Parameters:
snippet - The snippet to set.

getSnippet

public String getSnippet()

renderDRL

public void renderDRL(DRLOutput out)
Description copied from interface: DRLJavaEmitter
Each node can add its contribution to the output

Specified by:
renderDRL in interface DRLJavaEmitter


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