Package rife.validation
package rife.validation
Provides classes and interfaces for validation and constraints.
- Since:
- 1.0
-
ClassDescriptionThis interface defines methods for bean-centric constraining of data entities.A
ConstrainedBeanobject makes it possible to define all constraints for a bean instance that are not related to a single property.AConstrainedPropertyobject makes it possible to easily define all constraints for a named property of a bean.Listeners that implement this interface will be notified when changes occur to theConstrainedPropertyinstances that it has been added to.This abstract base class can be conveniently used to addedConstrainedandValidatedmetadata to a POJO.This interface can optionally be implemented by a class implementing theMetaDataMergedinterface.This interface is merely a marker interface to indicate to RIFE2 that it should consider this class as aMetaDataclass whose interfaces will be automatically merged into the sibling class that it's augmenting.This abstract class extends theAbstractValidationRuleclass to provide common functionality that is useful for all bean property validation rules.This interface defines methods for bean-centric data validation.This interface has to be implemented by all classes that provide a context in whichValidatedbean instances can be validated.Instances of this class detail subjects that were found invalid during validation.