view flys-client/src/main/java/de/intevation/flys/client/shared/model/CalculationMessage.java @ 4249:7a889098bcc6

Extend the client RiverInfo model to support MeasurementStations Add method to receive the MeasurementStations from a RiverInfo. Also add methods to set the GaugeInfo and MeasurementStation to the DefaultRiverInfo.
author Björn Ricks <bjoern.ricks@intevation.de>
date Wed, 24 Oct 2012 17:00:37 +0200
parents d5fb88ba99d2
children
line wrap: on
line source
package de.intevation.flys.client.shared.model;

import java.io.Serializable;


public class CalculationMessage implements Serializable {

    protected int    steps;
    protected int    currentStep;
    protected String message;


    public CalculationMessage() {
    }


    public CalculationMessage(int steps, int currentStep, String message) {
        this.steps       = steps;
        this.currentStep = currentStep;
        this.message     = message;
    }


    public int getSteps() {
        return steps;
    }


    public int getCurrentStep() {
        return currentStep;
    }


    public String getMessage() {
        return message;
    }
}

http://dive4elements.wald.intevation.org