diff src/main/java/de/intevation/lada/validation/LOrtValidator.java @ 366:567ce7697fc7 0.5

Code documentation.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 10 Sep 2013 15:55:54 +0200
parents f3c58d3c4bc7
children f3d0894d9bfc
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/validation/LOrtValidator.java	Tue Sep 10 10:17:32 2013 +0200
+++ b/src/main/java/de/intevation/lada/validation/LOrtValidator.java	Tue Sep 10 15:55:54 2013 +0200
@@ -22,6 +22,11 @@
 import de.intevation.lada.model.SVerwaltungseinheit;
 import de.intevation.lada.rest.Response;
 
+/**
+ * Validator for LOrt objects.
+ *
+ * @author <a href="mailto:rrenkert@intevation.de">Raimund Renkert</a>
+ */
 @ApplicationScoped
 @Named("lortvalidator")
 public class LOrtValidator
@@ -59,6 +64,13 @@
         return warnings;
     }
 
+    /**
+     * Check if the given lat/lon coordinates are within the area of the
+     * verwaltungseinheit.
+     *
+     * @param ort
+     * @param warnings
+     */
     private void validateVerwaltungseinheit(LOrt ort, Map<String, Integer> warnings) {
         if (!ort.getOrtsTyp().equals("E")) {
             return;
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)