Mercurial > lada > lada-server
comparison src/main/java/de/intevation/lada/validation/rules/probe/HasProbenahmeBegin.java @ 711:3ec358698b4d
Code style and documentation.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Wed, 22 Jul 2015 16:03:03 +0200 |
parents | 7c1f9409764a |
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.probe; | 8 package de.intevation.lada.validation.rules.probe; |
2 | 9 |
3 import java.sql.Timestamp; | 10 import java.sql.Timestamp; |
4 | 11 |
5 import de.intevation.lada.model.land.LProbe; | 12 import de.intevation.lada.model.land.LProbe; |
6 import de.intevation.lada.validation.Violation; | 13 import de.intevation.lada.validation.Violation; |
7 import de.intevation.lada.validation.annotation.ValidationRule; | 14 import de.intevation.lada.validation.annotation.ValidationRule; |
8 import de.intevation.lada.validation.rules.Rule; | 15 import de.intevation.lada.validation.rules.Rule; |
9 | 16 |
17 /** | |
18 * Validation rule for probe. | |
19 * Validates if the probe has a "probeentnahmeBeginn". | |
20 * | |
21 * @author <a href="mailto:rrenkert@intevation.de">Raimund Renkert</a> | |
22 */ | |
10 @ValidationRule("Probe") | 23 @ValidationRule("Probe") |
11 public class HasProbenahmeBegin implements Rule { | 24 public class HasProbenahmeBegin implements Rule { |
12 | 25 |
13 @Override | 26 @Override |
14 public Violation execute(Object object) { | 27 public Violation execute(Object object) { |