Mercurial > lada > lada-server
comparison src/main/java/de/intevation/lada/validation/rules/probe/DeskriptorToUmwelt.java @ 711:3ec358698b4d
Code style and documentation.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 22 Jul 2015 16:03:03 +0200 |
parents | cb344bc264d9 |
children | f02862b1862d |
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.probe; | 8 package de.intevation.lada.validation.rules.probe; |
2 | 9 |
3 import java.util.ArrayList; | 10 import java.util.ArrayList; |
4 import java.util.List; | 11 import java.util.List; |
5 | 12 |
15 import de.intevation.lada.util.rest.Response; | 22 import de.intevation.lada.util.rest.Response; |
16 import de.intevation.lada.validation.Violation; | 23 import de.intevation.lada.validation.Violation; |
17 import de.intevation.lada.validation.annotation.ValidationRule; | 24 import de.intevation.lada.validation.annotation.ValidationRule; |
18 import de.intevation.lada.validation.rules.Rule; | 25 import de.intevation.lada.validation.rules.Rule; |
19 | 26 |
27 /** | |
28 * Validation rule for probe. | |
29 * Validates if the umwelt id fits the deskriptor string. | |
30 * | |
31 * @author <a href="mailto:rrenkert@intevation.de">Raimund Renkert</a> | |
32 */ | |
20 @ValidationRule("Probe") | 33 @ValidationRule("Probe") |
21 public class DeskriptorToUmwelt implements Rule { | 34 public class DeskriptorToUmwelt implements Rule { |
22 | 35 |
23 @Inject | 36 @Inject |
24 @RepositoryConfig(type=RepositoryType.RO) | 37 @RepositoryConfig(type=RepositoryType.RO) |