public abstract class Constraint extends java.lang.Object implements IConstraint
Modifier and Type | Field and Description |
---|---|
protected IOperator |
operator
The operator.
|
protected java.lang.Object |
valuesource
The attribute or method.
|
Constructor and Description |
---|
Constraint(java.lang.Object valuesource,
IOperator operator)
Create a new constraint.
|
Modifier and Type | Method and Description |
---|---|
IOperator |
getOperator()
Get the operator.
|
java.lang.Object |
getValueSource()
Get the value source.
|
static java.util.List |
getVariablesForValueSource(java.lang.Object valuesource)
Get the variables for a value source.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getVariables
protected java.lang.Object valuesource
protected IOperator operator
public Constraint(java.lang.Object valuesource, IOperator operator)
public java.lang.Object getValueSource()
public IOperator getOperator()
public static java.util.List getVariablesForValueSource(java.lang.Object valuesource)
valuesource
- The value source