Class DbConstraintUtils


  • public final class DbConstraintUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Optional<ValidationProblem> checkLength​(@NotNull ValidationContext validationContext, @Nullable java.lang.String input, int length, java.lang.String errorMessage)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

    • Method Detail

      • checkLength

        public static java.util.Optional<ValidationProblem> checkLength​(@NotNull
                                                                        @NotNull ValidationContext validationContext,
                                                                        @Nullable
                                                                        @Nullable java.lang.String input,
                                                                        int length,
                                                                        java.lang.String errorMessage)