Class NullableConstraintCreator

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

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

    • NullableConstraintCreator

      public NullableConstraintCreator()
  • 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