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

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


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

java.lang.Object
  extended by org.drools.brms.client.modeldriven.brxml.IConstraint
All Implemented Interfaces:
PortableObject
Direct Known Subclasses:
ConnectiveConstraint, Constraint

public class IConstraint
extends Object
implements PortableObject

Represents a constraint, which may be part of a direct field constraint or a connective.

Author:
Michael Neale

Field Summary
 int constraintValueType
           
static int TYPE_ENUM
          This is not used yet.
static int TYPE_LITERAL
          This may be string, or number, anything really.
static int TYPE_PREDICATE
          The fieldName and fieldBinding is not used in the case of a predicate.
static int TYPE_RET_VALUE
          This is for a "formula" that calculates a value.
static int TYPE_UNDEFINED
          This is used only when constraint is first created.
static int TYPE_VARIABLE
          This is when it is set to a valid previously bound variable.
 String value
           
 
Constructor Summary
IConstraint()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_UNDEFINED

public static final int TYPE_UNDEFINED
This is used only when constraint is first created. This means that there is no value yet for the constraint.

See Also:
Constant Field Values

TYPE_LITERAL

public static final int TYPE_LITERAL
This may be string, or number, anything really.

See Also:
Constant Field Values

TYPE_VARIABLE

public static final int TYPE_VARIABLE
This is when it is set to a valid previously bound variable.

See Also:
Constant Field Values

TYPE_RET_VALUE

public static final int TYPE_RET_VALUE
This is for a "formula" that calculates a value.

See Also:
Constant Field Values

TYPE_ENUM

public static final int TYPE_ENUM
This is not used yet. ENUMs are not suitable for business rules until we can get data driven non code enums.

See Also:
Constant Field Values

TYPE_PREDICATE

public static final int TYPE_PREDICATE
The fieldName and fieldBinding is not used in the case of a predicate.

See Also:
Constant Field Values

value

public String value

constraintValueType

public int constraintValueType
Constructor Detail

IConstraint

public IConstraint()


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