当前页面:
在线文档首页 >
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
org.drools.lang.descr.BaseDescr
org.drools.lang.descr.RuleDescr
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- QueryDescr
public class RuleDescr
- extends BaseDescr
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuleDescr
public RuleDescr(String name)
RuleDescr
public RuleDescr(String ruleName,
String documentation)
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.