org.drools.template.model
Class Global

java.lang.Object
  extended by org.drools.template.model.DRLElement
      extended by org.drools.template.model.Global
All Implemented Interfaces:
DRLJavaEmitter

public class Global
extends DRLElement
implements DRLJavaEmitter

Represents an application-data tag (nominally at the rule-set level). The idea of this can be extended to other ruleset level settings.


Constructor Summary
Global()
           
 
Method Summary
 String getClassName()
           
 String getIdentifier()
           
 void renderDRL(DRLOutput out)
          Each node can add its contribution to the output
 void setClassName(String clazz)
           
 void setIdentifier(String namez)
           
 
Methods inherited from class org.drools.template.model.DRLElement
setComment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Global

public Global()
Method Detail

getClassName

public String getClassName()
Returns:
Returns the className.

getIdentifier

public String getIdentifier()
Returns:
Returns the varName.

setClassName

public void setClassName(String clazz)
Parameters:
className - The className to set.

setIdentifier

public void setIdentifier(String namez)
Parameters:
varName - The varName to set.

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-2013 JBoss Inc.. All Rights Reserved.