站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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
  extended by org.drools.lang.descr.BaseDescr
      extended by 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

Constructor Summary
FieldConstraintDescr(String fieldName)
           
 
Method Summary
 void addRestriction(RestrictionDescr restriction)
           
 String getFieldName()
           
 List getRestrictions()
           
 
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

FieldConstraintDescr

public FieldConstraintDescr(String fieldName)
Method Detail

getFieldName

public String getFieldName()

addRestriction

public void addRestriction(RestrictionDescr restriction)

getRestrictions

public List getRestrictions()


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