view flys-client/src/main/java/de/intevation/flys/client/shared/model/RiverInfo.java @ 5200:42bb6ff78d1b 2.9.11

Directly set the connectionInitSqls on the datasource Somehow the factory fails to set the connectionInitSqls if we add it to the dbcpProperties. So we now set it directly
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 08 Mar 2013 11:48:33 +0100
parents 7a889098bcc6
children
line wrap: on
line source
package de.intevation.flys.client.shared.model;

import java.io.Serializable;
import java.util.List;

/**
 * @author <a href="mailto:bjoern.ricks@intevation.de">Björn Ricks</a>
 */

public interface RiverInfo extends Serializable {

    boolean isKmUp();

    /**
     * Start KM of the river
     */
    Double getKmStart();

    /**
     * End KM of the river
     */
    Double getKmEnd();

    /**
     * Returns the name of the river
     */
    String getName();

    /**
     * Returns the name of the WST unit
     */
    String getWstUnit();

    /**
     * Return all gauge info of the river
     */
    List<GaugeInfo> getGauges();

    /**
     * Returns the min q value of the river
     */
    Double getMinQ();

    /**
     * Returns the max q value of the river
     */
    Double getMaxQ();

    /**
     * Returns the official number of the river
     */
    Long getOfficialNumber();

    /**
     * Returns the MeasurementStations on this river or null if they aren't
     * available.
     */
    List<MeasurementStation> getMeasurementStations();
}


http://dive4elements.wald.intevation.org