|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The Restrictable interface defines a standard set of methods for a
class that wants to control its principle value by a Constraint. Since
several constraints can be combined with logical operators, it doesn't make
much sense to have more than one Constraint per value. It is better to
use the appropriate logical-and respectively logical-or operators that fit best to
the desired Constraint expression. The interface provides a standard
for classes that want to use a Constraint, but this is not important to the
general concept of a Constraint, which can be used in meaningful ways
above and beyond the Restrictable interface.
Constraint,
ConstraintParser| Method Summary | |
Constraint |
getConstraint()
Returns the root of the constraint tree. |
void |
setConstraint(Constraint constraint)
Sets the root of the constraint tree. |
| Method Detail |
public void setConstraint(Constraint constraint)
constraint - the root of the constraint treepublic Constraint getConstraint()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||