Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/CalculationResult.java @ 1691:17648043429f
Cosmetics, docs, annotations.
flys-artifacts/trunk@2915 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Mon, 10 Oct 2011 07:47:30 +0000 |
parents | 3b7e9ddf6bb1 |
children | a441be7f1589 |
comparison
equal
deleted
inserted
replaced
1690:0053a4529f2f | 1691:17648043429f |
---|---|
1 package de.intevation.flys.artifacts.model; | 1 package de.intevation.flys.artifacts.model; |
2 | 2 |
3 import java.io.Serializable; | 3 import java.io.Serializable; |
4 | 4 |
5 /** | |
6 * Wraps result(s) of a Calculation and eventual error reports. | |
7 */ | |
5 public class CalculationResult | 8 public class CalculationResult |
6 implements Serializable | 9 implements Serializable |
7 { | 10 { |
8 protected Object data; | 11 protected Object data; |
9 protected Calculation report; | 12 protected Calculation report; |
10 | 13 |
11 public CalculationResult() { | 14 public CalculationResult() { |
12 } | 15 } |
13 | 16 |
17 /** | |
18 * @param report report (e.g. error messages). | |
19 */ | |
14 public CalculationResult(Object data, Calculation report) { | 20 public CalculationResult(Object data, Calculation report) { |
15 this.data = data; | 21 this.data = data; |
16 this.report = report; | 22 this.report = report; |
17 } | 23 } |
18 | 24 |