Class Validation


  • public final class Validation
    extends Object
    • Constructor Detail

      • Validation

        public Validation()
    • Method Detail

      • verifyRange

        public static boolean verifyRange​(String category,
                                          Element element,
                                          String property,
                                          int value,
                                          int min,
                                          int max)
      • verifyEnum

        @SafeVarargs
        public static <E extends Enum<E>> boolean verifyEnum​(String category,
                                                             Element element,
                                                             String property,
                                                             E value,
                                                             E firstAllowedValue,
                                                             E... otherAllowedValues)