Mercurial > lada > lada-server
comparison src/main/java/de/intevation/lada/validation/Validator.java @ 68:9e34b7e872f9
Documentation and minor code cosmetics/renamings.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Fri, 31 May 2013 14:47:54 +0200 |
parents | 7dc8a1579e39 |
children | 92b8b0e1e9fc |
comparison
equal
deleted
inserted
replaced
67:530a941dbf79 | 68:9e34b7e872f9 |
---|---|
1 package de.intevation.lada.validation; | 1 package de.intevation.lada.validation; |
2 | 2 |
3 import java.util.Map; | 3 import java.util.Map; |
4 | 4 |
5 | 5 /** |
6 * Validator interface. Implement this interface for lada object validations. | |
7 * | |
8 * @author <a href="mailto:rrenkert@intevation.de">Raimund Renkert</a> | |
9 */ | |
6 public interface Validator | 10 public interface Validator |
7 { | 11 { |
8 public void validate(Object object) throws ValidationException; | 12 public void validate(Object object) throws ValidationException; |
9 public Map<String, Integer> getWarnings(); | 13 public Map<String, Integer> getWarnings(); |
10 } | 14 } |