Mercurial > lada > lada-server
changeset 652:881da3d5377b
Added empty validation rules for ort objects.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Tue, 05 May 2015 14:24:10 +0200 |
parents | 0086dc4ac72e |
children | d067d72e602c |
files | src/main/java/de/intevation/lada/validation/rules/ort/CoordinatesInVE.java src/main/java/de/intevation/lada/validation/rules/ort/EntnahmeortToVE.java |
diffstat | 2 files changed, 32 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /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; + +@ValidationRule("Ort") +public class CoordinatesInVE implements Rule { + + @Override + public Violation execute(Object object) { + // TODO + return null; + } + +}
--- /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; + +@ValidationRule("Ort") +public class EntnahmeortToVE implements Rule { + + @Override + public Violation execute(Object object) { + // TODO + return null; + } + +}