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

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


org.drools.lang.descr
Class RuleDescr

java.lang.Object
  extended by org.drools.lang.descr.BaseDescr
      extended by org.drools.lang.descr.RuleDescr
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
QueryDescr

public class RuleDescr
extends BaseDescr

See Also:
Serialized Form

Constructor Summary
RuleDescr(String name)
           
RuleDescr(String ruleName, String documentation)
           
 
Method Summary
 void addAttribute(AttributeDescr attribute)
           
 List getAttributes()
           
 String getClassName()
           
 Object getConsequence()
           
 int getConsequenceLine()
           
 int getConsequenceOffset()
           
 int getConsequencePattern()
           
 String getDocumentation()
           
 AndDescr getLhs()
           
 String getName()
           
 void setAttributes(List attributes)
           
 void setClassName(String className)
           
 void setConsequence(Object consequence)
           
 void setConsequenceLocation(int line, int pattern)
           
 void setConsequenceOffset(int offset)
           
 void setLhs(AndDescr lhs)
           
 
Methods inherited from class org.drools.lang.descr.BaseDescr
getColumn, getEndCharacter, getEndColumn, getEndLine, getLine, getStartCharacter, setEndCharacter, setEndLocation, setLocation, setStartCharacter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleDescr

public RuleDescr(String name)

RuleDescr

public RuleDescr(String ruleName,
                 String documentation)
Method Detail

getName

public String getName()

getClassName

public String getClassName()

setClassName

public void setClassName(String className)

getDocumentation

public String getDocumentation()

getAttributes

public List getAttributes()

addAttribute

public void addAttribute(AttributeDescr attribute)

setAttributes

public void setAttributes(List attributes)

getLhs

public AndDescr getLhs()

setLhs

public void setLhs(AndDescr lhs)

getConsequence

public Object getConsequence()

setConsequence

public void setConsequence(Object consequence)

setConsequenceLocation

public void setConsequenceLocation(int line,
                                   int pattern)

setConsequenceOffset

public void setConsequenceOffset(int offset)

getConsequenceOffset

public int getConsequenceOffset()

getConsequenceLine

public int getConsequenceLine()

getConsequencePattern

public int getConsequencePattern()


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