view flys-client/src/main/java/de/intevation/flys/client/shared/model/DischargeInfoObjectImpl.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 67468c90ca68
children
line wrap: on
line source
package de.intevation.flys.client.shared.model;


/**
 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a>
 */
public class DischargeInfoObjectImpl implements DischargeInfoObject {

    protected String description;

    protected Integer startYear;

    protected Integer endYear;


    public DischargeInfoObjectImpl() {
    }


    public DischargeInfoObjectImpl(
        String description,
        Integer startYear,
        Integer endYear
    ) {
        this.description = description;
        this.startYear   = startYear;
        this.endYear     = endYear;
    }

    public String getDescription() {
        return description;
    }


    public Integer getStartYear() {
        return startYear;
    }


    public Integer getEndYear() {
        return endYear;
    }
}
// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org