[Lada-commits] [PATCH 3 of 3] Added empty validation rules for ort objects
Wald Commits
scm-commit at wald.intevation.org
Tue May 5 14:23:16 CEST 2015
# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1430828650 -7200
# Node ID 881da3d5377bdd8cdcf9dae2b178ba8aeb8f9d26
# Parent 0086dc4ac72e68c85e8bd6605ef7a38e91ae3883
Added empty validation rules for ort objects.
diff -r 0086dc4ac72e -r 881da3d5377b src/main/java/de/intevation/lada/validation/rules/ort/CoordinatesInVE.java
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/main/java/de/intevation/lada/validation/rules/ort/CoordinatesInVE.java Tue May 05 14:24:10 2015 +0200
@@ -0,0 +1,16 @@
+package de.intevation.lada.validation.rules.ort;
+
+import de.intevation.lada.validation.Violation;
+import de.intevation.lada.validation.annotation.ValidationRule;
+import de.intevation.lada.validation.rules.Rule;
+
+ at ValidationRule("Ort")
+public class CoordinatesInVE implements Rule {
+
+ @Override
+ public Violation execute(Object object) {
+ // TODO
+ return null;
+ }
+
+}
diff -r 0086dc4ac72e -r 881da3d5377b src/main/java/de/intevation/lada/validation/rules/ort/EntnahmeortToVE.java
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/main/java/de/intevation/lada/validation/rules/ort/EntnahmeortToVE.java Tue May 05 14:24:10 2015 +0200
@@ -0,0 +1,16 @@
+package de.intevation.lada.validation.rules.ort;
+
+import de.intevation.lada.validation.Violation;
+import de.intevation.lada.validation.annotation.ValidationRule;
+import de.intevation.lada.validation.rules.Rule;
+
+ at ValidationRule("Ort")
+public class EntnahmeortToVE implements Rule {
+
+ @Override
+ public Violation execute(Object object) {
+ // TODO
+ return null;
+ }
+
+}
More information about the Lada-commits
mailing list