当前页面:
在线文档首页 >
JBoss RULES 4.0.0.11754MR2 API 英文版文档
LiteralRestrictionDescr (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档
org.drools.lang.descr
Class LiteralRestrictionDescr
java.lang.Object
org.drools.lang.descr.BaseDescr
org.drools.lang.descr.RestrictionDescr
org.drools.lang.descr.LiteralRestrictionDescr
- All Implemented Interfaces:
- Serializable
public class LiteralRestrictionDescr
- extends RestrictionDescr
This represents a literal node in the rule language. This is
a constraint on a single field of a pattern.
The "text" contains the content, which may also be an enumeration.
- See Also:
- Serialized Form
LiteralRestrictionDescr
public LiteralRestrictionDescr(String evaluator,
String text)
LiteralRestrictionDescr
public LiteralRestrictionDescr(String evaluator,
String text,
boolean staticFieldValue)
isStaticFieldValue
public boolean isStaticFieldValue()
getEvaluator
public String getEvaluator()
getText
public String getText()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2001-2007
JBoss Inc.. All Rights Reserved.