Package lu.kbra.pclib.db.validation
Interface ConstraintCreator
- All Known Implementing Classes:
MaxLengthConstraintCreator,NullableConstraintCreator
public interface ConstraintCreator
-
Method Summary
Modifier and TypeMethodDescriptionbooleancreateConstraint(ColumnData column, org.hibernate.validator.cfg.context.PropertyConstraintMappingContext fieldMapping)
-
Method Details
-
createConstraint
boolean createConstraint(ColumnData column, org.hibernate.validator.cfg.context.PropertyConstraintMappingContext fieldMapping) - Returns:
- true if a constraint was added
-