comparison src/main/java/de/intevation/lada/validation/annotation/ValidationRule.java @ 534:23130e40e5b7

Added interfaces classes and annotations used for validation.
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 24 Feb 2015 10:52:14 +0100
parents
children 3ec358698b4d
comparison
equal deleted inserted replaced
533:ce6964c27410 534:23130e40e5b7
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
2 * Software engineering by Intevation GmbH
3 *
4 * This file is Free Software under the GNU GPL (v>=3)
5 * and comes with ABSOLUTELY NO WARRANTY! Check out
6 * the documentation coming with IMIS-Labordaten-Application for details.
7 */
8 package de.intevation.lada.validation.annotation;
9
10 import java.lang.annotation.ElementType;
11 import java.lang.annotation.Retention;
12 import java.lang.annotation.RetentionPolicy;
13 import java.lang.annotation.Target;
14
15 import javax.inject.Qualifier;
16
17
18 /**
19 *
20 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a>
21 */
22 @Qualifier
23 @Retention(RetentionPolicy.RUNTIME)
24 @Target({
25 ElementType.TYPE,
26 ElementType.FIELD,
27 ElementType.METHOD,
28 ElementType.PARAMETER})
29 public @interface ValidationRule {
30 String value() default "";
31 }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)