javax.constraints.impl.constraint
Class ConstraintTable
java.lang.Object
javax.constraints.impl.CommonBase
javax.constraints.impl.AbstractConstraint
javax.constraints.impl.constraint.ConstraintTable
- All Implemented Interfaces:
- Constraint
public class ConstraintTable
- extends AbstractConstraint
|
Field Summary |
static int |
NOT_PERMITTED
A value indicating that a tuple is to be excluded from satisfying a table constraint |
static int |
PERMITTED
A value indicating that a tuple is to be included to satisfy a table constraint |
|
Constructor Summary |
ConstraintTable(Var[] vars,
int[][] table,
int mode)
Creates and returns a new constraint stating that all variables from "vars"
must take values compatible with the table "table",
which represents the set of (permitted)/(not permitted) combinations. |
|
Method Summary |
static void |
main(java.lang.String[] args)
|
void |
post()
This method takes a constraint's implementation and uses its own
RI-specific post-method. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NOT_PERMITTED
public static final int NOT_PERMITTED
- A value indicating that a tuple is to be excluded from satisfying a table constraint
- See Also:
- Constant Field Values
PERMITTED
public static final int PERMITTED
- A value indicating that a tuple is to be included to satisfy a table constraint
- See Also:
- Constant Field Values
ConstraintTable
public ConstraintTable(Var[] vars,
int[][] table,
int mode)
- Creates and returns a new constraint stating that all variables from "vars"
must take values compatible with the table "table",
which represents the set of (permitted)/(not permitted) combinations.
- Parameters:
vars - table - mode - - EXCLUDE or INCLUDE
main
public static void main(java.lang.String[] args)
- Parameters:
args -
post
public void post()
- Description copied from class:
AbstractConstraint
- This method takes a constraint's implementation and uses its own
RI-specific post-method.
- Specified by:
post in interface Constraint- Overrides:
post in class AbstractConstraint