Package javax.validation

Examples of javax.validation.Constraint


   * @param annotationType The annotation type to test.
   *
   * @return <code>true</code> if the annotation fulfills the above condtions, <code>false</code> otherwise.
   */
  public boolean isConstraintAnnotation(Class<? extends Annotation> annotationType) {
    Constraint constraint = annotationType.getAnnotation( Constraint.class );
    if ( constraint == null ) {
      return false;
    }

    assertMessageParameterExists( annotationType );
View Full Code Here

TOP

Related Classes of javax.validation.Constraint

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.