Class BeanValidations


  • public class BeanValidations
    extends java.lang.Object
    A utility class to help jsr 303 validation.
    Since:
    6.0.0
    Author:
    dennis
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static javax.validation.Validator getValidator()  
      static <T> java.util.Set<javax.validation.ConstraintViolation<T>> validate​(java.lang.Class<T> clazz, java.lang.String propName, java.lang.Object value)  
      • Methods inherited from class java.lang.Object

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

      • getValidator

        public static javax.validation.Validator getValidator()
      • validate

        public static <T> java.util.Set<javax.validation.ConstraintViolation<T>> validate​(java.lang.Class<T> clazz,
                                                                                          java.lang.String propName,
                                                                                          java.lang.Object value)