Mercurial > lada > lada-server
comparison src/main/java/de/intevation/lada/validation/rules/ort/CoordinatesInVE.java @ 711:3ec358698b4d
Code style and documentation.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 22 Jul 2015 16:03:03 +0200 |
parents | 3118fbbe6292 |
children | 092e673cbb8d |
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.ort; | 8 package de.intevation.lada.validation.rules.ort; |
2 | 9 |
3 import java.util.List; | 10 import java.util.List; |
4 | 11 |
5 import javax.inject.Inject; | 12 import javax.inject.Inject; |
20 import de.intevation.lada.util.rest.Response; | 27 import de.intevation.lada.util.rest.Response; |
21 import de.intevation.lada.validation.Violation; | 28 import de.intevation.lada.validation.Violation; |
22 import de.intevation.lada.validation.annotation.ValidationRule; | 29 import de.intevation.lada.validation.annotation.ValidationRule; |
23 import de.intevation.lada.validation.rules.Rule; | 30 import de.intevation.lada.validation.rules.Rule; |
24 | 31 |
32 /** | |
33 * Validation rule for ort. | |
34 * Validates if the coordinates are in the specified "Verwaltungseinheit". | |
35 * | |
36 * @author <a href="mailto:rrenkert@intevation.de">Raimund Renkert</a> | |
37 */ | |
25 @ValidationRule("Ort") | 38 @ValidationRule("Ort") |
26 public class CoordinatesInVE implements Rule { | 39 public class CoordinatesInVE implements Rule { |
27 | 40 |
28 @Inject | 41 @Inject |
29 @RepositoryConfig(type=RepositoryType.RO) | 42 @RepositoryConfig(type=RepositoryType.RO) |