Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.jboss.resteasy.cdi.validation;
 
 import static java.lang.annotation.ElementType.TYPE;
 import static java.lang.annotation.RetentionPolicy.RUNTIME;
 
 

Author(s):
Ron Sigal
Version:
$Revision: 1.1 $ Copyright Dec 25, 2012
@Constraint(validatedBy = SumValidator.class)
public @interface SumConstraint
   String message() default "{org.jboss.resteasy.ejb.validation.SumConstraint}";
   Class<?>[] groups() default {};
   Class<? extends Payload>[] payload() default {};
   int min() default 0;
   int max() default 1024;
New to GrepCode? Check out our FAQ X