Mercurial > lada > lada-server
comparison src/main/java/de/intevation/lada/validation/rules/messung/Date.java @ 711:3ec358698b4d
Code style and documentation.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 22 Jul 2015 16:03:03 +0200 |
parents | de47b7193bdb |
children | 1c41c7b8f7c2 |
comparison
equal
deleted
inserted
replaced
710:2ae27dde4823 | 711:3ec358698b4d |
---|---|
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 */ | |
1 package de.intevation.lada.validation.rules.messung; | 8 package de.intevation.lada.validation.rules.messung; |
2 | 9 |
3 import java.util.HashMap; | 10 import java.util.HashMap; |
4 import java.util.Map; | 11 import java.util.Map; |
5 | 12 |
13 import de.intevation.lada.util.rest.Response; | 20 import de.intevation.lada.util.rest.Response; |
14 import de.intevation.lada.validation.Violation; | 21 import de.intevation.lada.validation.Violation; |
15 import de.intevation.lada.validation.annotation.ValidationRule; | 22 import de.intevation.lada.validation.annotation.ValidationRule; |
16 import de.intevation.lada.validation.rules.Rule; | 23 import de.intevation.lada.validation.rules.Rule; |
17 | 24 |
25 /** | |
26 * Validation rule for messungen. | |
27 * Validates if the "messzeitpunkt" is before or after the | |
28 * "probeentnahmebeginn" | |
29 * | |
30 * @author <a href="mailto:rrenkert@intevation.de">Raimund Renkert</a> | |
31 */ | |
18 @ValidationRule("Messung") | 32 @ValidationRule("Messung") |
19 public class Date implements Rule { | 33 public class Date implements Rule { |
20 | 34 |
21 @Inject | 35 @Inject |
22 @RepositoryConfig(type=RepositoryType.RO) | 36 @RepositoryConfig(type=RepositoryType.RO) |