org.drools.template.parser
Class RuleTemplate

java.lang.Object
  extended by org.drools.template.parser.RuleTemplate

public class RuleTemplate
extends Object

A rule template made up of a name, the decision table columns required, the decision table columns that must be empty and the contents of the rule.


Constructor Summary
RuleTemplate(String n, TemplateContainer tc)
           
 
Method Summary
 void addColumn(String columnString)
           
 List<org.drools.template.parser.TemplateColumn> getColumns()
           
 String getContents()
           
 String getName()
           
 void setContents(String contents)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RuleTemplate

public RuleTemplate(String n,
                    TemplateContainer tc)
Method Detail

getName

public String getName()

getColumns

public List<org.drools.template.parser.TemplateColumn> getColumns()

getContents

public String getContents()

addColumn

public void addColumn(String columnString)

setContents

public void setContents(String contents)

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()


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