Class MaxLengthConstraintCreator

java.lang.Object
lu.kbra.pclib.db.validation.MaxLengthConstraintCreator
All Implemented Interfaces:
ConstraintCreator

@Component public class MaxLengthConstraintCreator extends Object implements ConstraintCreator
  • Constructor Details

    • MaxLengthConstraintCreator

      public MaxLengthConstraintCreator()
  • Method Details

    • createConstraint

      public boolean createConstraint(ColumnData column, org.hibernate.validator.cfg.context.PropertyConstraintMappingContext fieldMapping)
      Specified by:
      createConstraint in interface ConstraintCreator
      Returns:
      true if a constraint was added