Package org.araneaframework.uilib.form.constraint

Contains the constraint classes, which may be used to impose arbitary constraints on the form data.

See:
          Description

Interface Summary
ReverseConstraint.ReverseConstraintErrorMessageFactory Can be used to produce reverse constraint validation error message, where ReverseConstraint.ReverseConstraint(Constraint, String) or BaseConstraint.setCustomErrorMessage(String) do not suffice.
 

Class Summary
AfterTodayConstraint Constraint that fails when checked Date is not after the current date.
AndConstraint This constraint implements "AND" Boolean logic (checks that all contained constraits are satisfied).
BaseCompositeConstraint This class is a generalization of a constraint that may contain other constraints.
BaseConstraint Base class for constraints.
BaseFieldConstraint Base implementation of the Constraint that is associated with some FormElement.
BaseFieldConstraint.FieldConstraintException Exception thrown when FormElement associated with BaseFieldConstraint could not be determined.
ConstraintGroupHelper Helper for the GroupedConstraint that holds a set of currently active groups and provides a factory method for wrapping Constraint instances in GroupedConstraint.
GroupedConstraint Constraint that will be applied if the group of constraints is active.
NotEmptyConstraint This constraint checks that the String value of given form field would not be empty.
NumberInRangeConstraint This constraint checks that the number value would be inside a given range.
OptionalConstraint Optional Constraint only applies when constrained field has some real value.
OrConstraint This constraint implements "OR" Boolean logic (checks that at least one contained constraits is satisfied).
RangeConstraint Given two form elements, it checks that their values are one after another.
ReverseConstraint A Constraint that reverses the effect of the contained Constraint — validating this constraint only when the contained Constraint is invalid.
StringLengthInRangeConstraint A Constraint that constrains the input length of a FormElement.
 

Package org.araneaframework.uilib.form.constraint Description

Contains the constraint classes, which may be used to impose arbitary constraints on the form data.