Package com.apgar.common.lib.constraint
package com.apgar.common.lib.constraint
Offers generic constraints for fields and tables, along with a base class for accessing messages from the resource bundle.
-
ClassesClassDescriptionClass that allows the use of the messages of file Bundle.Greater or Equal Than Constraint used to compare two fields.Greater Than Constraint used to compare two fields.Constraint that checks if one field is filled, the other field should be empty.Constraint that sets mandatory the field it is defined on if the parameter mandatoringField field has the same value as the parameter mandatoringValue.Constraint that sets mandatory the field it is defined on if the parameter mandatoringField has the same value as the mandatoringValue parameter, otherwise it should be empty.Constraint that sets mandatory the field it is defined on if the parameter mandatoringField field has a different value than the mandatoringValue parameter.Constraint that checks for record uniqueness across the table it is defined on and based on the fields passed as input parameters in the data model.