teichmann@5861: /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde teichmann@5861: * Software engineering by Intevation GmbH teichmann@5861: * teichmann@5861: * This file is Free Software under the GNU AGPL (>=v3) teichmann@5861: * and comes with ABSOLUTELY NO WARRANTY! Check out the teichmann@5861: * documentation coming with Dive4Elements River for details. teichmann@5861: */ teichmann@5861: teichmann@5835: package org.dive4elements.river.client.client.utils; raimund@1504: raimund@1504: import java.util.Map; raimund@1504: raimund@1500: import com.smartgwt.client.widgets.form.fields.FormItem; raimund@1500: raimund@1500: /** raimund@1500: * @author Raimund Renkert raimund@1500: * raimund@1500: * This validator is used for SmartGWT FormItems. raimund@1500: */ raimund@1507: public interface Validator { raimund@1500: raimund@1507: boolean validate(FormItem item, Map errors); raimund@1500: } raimund@1500: