view src/main/java/de/intevation/lada/validation/Validator.java @ 260:0de24f5e7c01

Added boolean parameter to validate method to test if update or create was triggered.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 16 Jul 2013 08:24:34 +0200
parents 92b8b0e1e9fc
children 2098db2e8fbd
line wrap: on
line source
package de.intevation.lada.validation;

import java.util.Map;

/**
 * Validator interface. Implement this interface for lada object validations.
 * 
 * @author <a href="mailto:rrenkert@intevation.de">Raimund Renkert</a>
 */
public interface Validator
{
    public Map<String, Integer> validate(Object object, boolean update)
    throws ValidationException;
}
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)