view artifacts/src/main/java/org/dive4elements/river/artifacts/model/fixings/QWD.java @ 9415:9744ce3c3853

Rework of fixanalysis computation and dWt and WQ facets. Got rid of strange remapping and bitshifting code by explicitely saving the column information and using it in the facets. The facets also put the valid station range into their xml-metadata
author gernotbelger
date Thu, 16 Aug 2018 16:27:53 +0200
parents a3f318347707
children
line wrap: on
line source
/* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde
 * Software engineering by Intevation GmbH
 *
 * This file is Free Software under the GNU AGPL (>=v3)
 * and comes with ABSOLUTELY NO WARRANTY! Check out the
 * documentation coming with Dive4Elements River for details.
 */

package org.dive4elements.river.artifacts.model.fixings;

import java.util.Date;

public class QWD extends QWI {

    private static final long serialVersionUID = 1L;

    protected double deltaW;

    private boolean isOutlier;

    public QWD() {
    }

    public QWD(final double q, final double w, final boolean isOutlier) {
        super(q, w);

        this.isOutlier = isOutlier;
    }

    public QWD(final double q, final double w, final Date date, final boolean interpolated, final double deltaW, final boolean isOutlier) {
        super(q, w, date, interpolated);

        this.deltaW = deltaW;
        this.isOutlier = isOutlier;
    }

    public double getDeltaW() {
        return this.deltaW;
    }

    public void setDeltaW(final double deltaW) {
        this.deltaW = deltaW;
    }

    public boolean isOutlier() {
        return this.isOutlier;
    }

    public void setOutlier(final boolean isOutlier) {
        this.isOutlier = isOutlier;
    }
}

http://dive4elements.wald.intevation.org