public abstract class ConstrainableCondition extends java.lang.Object implements ICondition
Modifier and Type | Field and Description |
---|---|
protected java.util.List |
constraints
The constraints.
|
Constructor and Description |
---|
ConstrainableCondition()
Create an empty constrainable condition.
|
ConstrainableCondition(java.util.List constraints)
Create a condition with constraints.
|
Modifier and Type | Method and Description |
---|---|
void |
addConstraint(IConstraint con)
Add a constraint.
|
java.util.List |
getBoundConstraints()
Get all bound constraints.
|
java.util.List |
getConstraints()
Get the constraints.
|
java.util.List |
getVariables()
Get the variables.
|
public ConstrainableCondition()
public ConstrainableCondition(java.util.List constraints)
public void addConstraint(IConstraint con)
constraint
- The constraint-public java.util.List getConstraints()
public java.util.List getBoundConstraints()
public java.util.List getVariables()
getVariables
in interface ICondition