package nl.fontys.sofa.limo.validation.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * The value of the field or property must be an integer value lower than or * equal to the number in the value element. * * @author Miguel Gonzalez <m.gonzalez@student.fontys.nl> */ @Target(ElementType.FIELD) @Retention(RetentionPolicy.RUNTIME) public @interface Max { int value(); }