view flys-backend/src/main/java/de/intevation/flys/importer/ImportBedHeight.java @ 5106:d16398d65a59 dami

Importer: Print a decent error when failing to parse a gew and exit. This makes the importer easier to debug if you do not get your mysterious errors at some other place.
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 26 Feb 2013 19:39:04 +0100
parents 8926571e47fb
children
line wrap: on
line source
package de.intevation.flys.importer;


import java.sql.SQLException;

import org.hibernate.exception.ConstraintViolationException;

import de.intevation.flys.model.River;


public interface ImportBedHeight {

    String getDescription();

    void addValue(ImportBedHeightValue value);

    void storeDependencies(River river)
    throws SQLException, ConstraintViolationException;

    Object getPeer(River river);

    int getValueCount();

    void setYear(int year);

    void setTimeInterval(ImportTimeInterval timeInterval);

    void setSoundingWidth(int soundingWidth);

    void setDescription(String description);

    void setEvaluationBy(String evaluationBy);

    void setRange(ImportRange range);

    void setType(ImportBedHeightType type);

    void setLocationSystem(ImportLocationSystem locationSystem);

    void setCurElevationModel(ImportElevationModel model);

    void setOldElevationModel(ImportElevationModel model);
}
// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org