|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.ide.common.client.modeldriven.brl.BaseSingleFieldConstraint
public class BaseSingleFieldConstraint
Represents a constraint, which may be part of a direct field constraint or a connective.
| Field Summary | |
|---|---|
static int |
TYPE_ENUM
This is not used yet. |
static int |
TYPE_EXPR_BUILDER_VALUE
This is for a "expression builder" that calculates a value. |
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_TEMPLATE
This is for a field to be a placeholder for a template |
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. |
| Constructor Summary | |
|---|---|
BaseSingleFieldConstraint()
|
|
| Method Summary | |
|---|---|
int |
getConstraintValueType()
|
String |
getValue()
|
void |
setConstraintValueType(int constraintValueType)
|
void |
setValue(String value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int TYPE_UNDEFINED
public static final int TYPE_LITERAL
public static final int TYPE_VARIABLE
public static final int TYPE_RET_VALUE
public static final int TYPE_ENUM
public static final int TYPE_PREDICATE
public static final int TYPE_EXPR_BUILDER_VALUE
public static final int TYPE_TEMPLATE
| Constructor Detail |
|---|
public BaseSingleFieldConstraint()
| Method Detail |
|---|
public void setValue(String value)
public String getValue()
public void setConstraintValueType(int constraintValueType)
public int getConstraintValueType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||