Mercurial > dive4elements > river
view flys-client/src/main/java/de/intevation/flys/client/shared/model/GaugeImpl.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 | ca40a5b1bb04 |
children |
line wrap: on
line source
package de.intevation.flys.client.shared.model; public class GaugeImpl implements Gauge { private String name; private double lower; private double upper; public GaugeImpl() { } public GaugeImpl(String name, double lower, double upper) { this.name = name; this.lower = lower; this.upper = upper; } public void setName(String name) { this.name = name; } public String getName() { return name; } public void setLower(double lower) { this.lower = lower; } public double getLower() { return lower; } public void setUpper(double upper) { this.upper = upper; } public double getUpper() { return upper; } }