org.drools.template.model
Class AttributedDRLElement

java.lang.Object
  extended by org.drools.template.model.DRLElement
      extended by org.drools.template.model.AttributedDRLElement
Direct Known Subclasses:
Package, Rule

public abstract class AttributedDRLElement
extends DRLElement

Intermediary class, extending DRLElement with the capability of storing attributes, as required for rules and the package itself.


Constructor Summary
protected AttributedDRLElement()
           
protected AttributedDRLElement(Integer salience)
           
 
Method Summary
protected  String asStringLiteral(String value)
           
protected  String asTimerLiteral(String value)
           
 String getAttribute(String name)
           
 String getSalience()
           
protected  void renderDRL(DRLOutput out)
           
 void setActivationGroup(String value)
           
 void setAgendaGroup(String value)
           
 void setAutoFocus(boolean value)
           
 void setCalendars(String value)
           
 void setDuration(Long value)
           
 void setLockOnActive(boolean value)
           
 void setNoLoop(boolean value)
           
 void setRuleFlowGroup(String value)
           
 void setSalience(Integer value)
           
 void setSalience(String value)
           
 void setTimer(String value)
           
 
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

AttributedDRLElement

protected AttributedDRLElement()

AttributedDRLElement

protected AttributedDRLElement(Integer salience)
Method Detail

renderDRL

protected void renderDRL(DRLOutput out)

asStringLiteral

protected String asStringLiteral(String value)

asTimerLiteral

protected String asTimerLiteral(String value)

setSalience

public void setSalience(Integer value)

setSalience

public void setSalience(String value)

setDuration

public void setDuration(Long value)

setTimer

public void setTimer(String value)

setCalendars

public void setCalendars(String value)

setActivationGroup

public void setActivationGroup(String value)

setRuleFlowGroup

public void setRuleFlowGroup(String value)

setAgendaGroup

public void setAgendaGroup(String value)

setNoLoop

public void setNoLoop(boolean value)

setLockOnActive

public void setLockOnActive(boolean value)

setAutoFocus

public void setAutoFocus(boolean value)

getAttribute

public String getAttribute(String name)

getSalience

public String getSalience()


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