当前页面:
在线文档首页 >
JBoss RULES 4.0.0.11754MR2 API 英文版文档
FieldConstraintDescr (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档
org.drools.lang.descr
Class FieldConstraintDescr
java.lang.Object
org.drools.lang.descr.BaseDescr
org.drools.lang.descr.FieldConstraintDescr
- All Implemented Interfaces:
- Serializable
public class FieldConstraintDescr
- extends BaseDescr
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldConstraintDescr
public FieldConstraintDescr(String fieldName)
getFieldName
public String getFieldName()
addRestriction
public void addRestriction(RestrictionDescr restriction)
getRestrictions
public List getRestrictions()
Copyright © 2001-2007
JBoss Inc.. All Rights Reserved.