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
ConstrainedBean
object makes it possible to define all constraints for a bean instance that are not related to a single property.AConstrainedProperty
object 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 theConstrainedProperty
instances that it has been added to.This abstract base class can be conveniently used to addedConstrained
andValidated
metadata to a POJO.This interface can optionally be implemented by a class implementing theMetaDataMerged
interface.This interface is merely a marker interface to indicate to RIFE2 that it should consider this class as aMetaData
class whose interfaces will be automatically merged into the sibling class that it's augmenting.This abstract class extends theAbstractValidationRule
class 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 whichValidated
bean instances can be validated.Instances of this class detail subjects that were found invalid during validation.