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

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


org.drools.brms.client.modeldriven.brxml
Class Constraint

java.lang.Object
  extended by org.drools.brms.client.modeldriven.brxml.IConstraint
      extended by org.drools.brms.client.modeldriven.brxml.Constraint
All Implemented Interfaces:
PortableObject

public class Constraint
extends IConstraint

This represents a contraint on a fact. Can also include optional "connective constraints" that extend the options for matches.

Author:
Michael Neale

Field Summary
 ConnectiveConstraint[] connectives
           
 String fieldBinding
           
 String fieldName
           
 String operator
           
 
Fields inherited from class org.drools.brms.client.modeldriven.brxml.IConstraint
constraintValueType, TYPE_ENUM, TYPE_LITERAL, TYPE_PREDICATE, TYPE_RET_VALUE, TYPE_UNDEFINED, TYPE_VARIABLE, value
 
Constructor Summary
Constraint()
           
Constraint(String field)
           
 
Method Summary
 void addNewConnective()
          This adds a new connective.
 boolean isBound()
          Returns true of there is a field binding.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fieldBinding

public String fieldBinding

fieldName

public String fieldName

operator

public String operator

connectives

public ConnectiveConstraint[] connectives
Constructor Detail

Constraint

public Constraint(String field)

Constraint

public Constraint()
Method Detail

addNewConnective

public void addNewConnective()
This adds a new connective.


isBound

public boolean isBound()
Returns true of there is a field binding.



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