Mercurial > dive4elements > river
annotate flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/fixings/FixWQCurveFacet.java @ 4357:11cf29eb002c
FacetTypes: New type: exreme_wq_curve_base (for the Stuetz-Q-Poits).
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Fri, 02 Nov 2012 11:58:11 +0100 |
parents | 7d0dd96210b5 |
children | 093f9333f66b |
rev | line source |
---|---|
3028
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
1 package de.intevation.flys.artifacts.model.fixings; |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
2 |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
3 import de.intevation.artifacts.Artifact; |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
4 import de.intevation.artifacts.CallContext; |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
5 |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
6 import de.intevation.flys.artifacts.FLYSArtifact; |
3203
1b9f791937c3
Moved FixationArtifactAccess to new access package.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
3192
diff
changeset
|
7 |
3408
50d61a2494cb
FixA: Renamed FixationArtifactAccess to FixAnalysisAccess
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
3317
diff
changeset
|
8 import de.intevation.flys.artifacts.access.FixAnalysisAccess; |
3035
b388d888330d
Implemented facets and splitted up the event facet.Implemented facets and splitted up the event facet.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3028
diff
changeset
|
9 |
3074
6502b17931b9
FixA: W/Q facet code cleanup.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
3073
diff
changeset
|
10 import de.intevation.flys.artifacts.math.fitting.Function; |
6502b17931b9
FixA: W/Q facet code cleanup.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
3073
diff
changeset
|
11 import de.intevation.flys.artifacts.math.fitting.FunctionFactory; |
6502b17931b9
FixA: W/Q facet code cleanup.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
3073
diff
changeset
|
12 |
6502b17931b9
FixA: W/Q facet code cleanup.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
3073
diff
changeset
|
13 import de.intevation.flys.artifacts.model.CalculationResult; |
6502b17931b9
FixA: W/Q facet code cleanup.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
3073
diff
changeset
|
14 import de.intevation.flys.artifacts.model.DataFacet; |
3028
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
15 import de.intevation.flys.artifacts.model.FacetTypes; |
3035
b388d888330d
Implemented facets and splitted up the event facet.Implemented facets and splitted up the event facet.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3028
diff
changeset
|
16 import de.intevation.flys.artifacts.model.Parameters; |
b388d888330d
Implemented facets and splitted up the event facet.Implemented facets and splitted up the event facet.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3028
diff
changeset
|
17 |
3074
6502b17931b9
FixA: W/Q facet code cleanup.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
3073
diff
changeset
|
18 import de.intevation.flys.artifacts.states.DefaultState.ComputeType; |
3028
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
19 |
3074
6502b17931b9
FixA: W/Q facet code cleanup.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
3073
diff
changeset
|
20 import org.apache.log4j.Logger; |
3028
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
21 |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
22 /** |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
23 * Facet to show the W|Q values. |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
24 * |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
25 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a> |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
26 */ |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
27 public class FixWQCurveFacet |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
28 extends DataFacet |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
29 implements FacetTypes { |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
30 |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
31 /** House logger. */ |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
32 private static Logger logger = Logger.getLogger(FixWQCurveFacet.class); |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
33 |
4312
7d0dd96210b5
Doc and whitespace cosmetics for ExrremeResult and FixWQCurve.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4308
diff
changeset
|
34 |
3028
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
35 /** Trivial Constructor. */ |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
36 public FixWQCurveFacet() { |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
37 } |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
38 |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
39 |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
40 /** |
3269
b2ea89a665bc
Fix issues in 'documentation'.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3203
diff
changeset
|
41 * @param description Description of the facet. |
3028
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
42 */ |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
43 public FixWQCurveFacet(String description) { |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
44 super(0, FIX_WQ_CURVE, description, ComputeType.ADVANCE, null, null); |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
45 } |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
46 |
3192
cd309f8597f6
Fix for 'linecolor ignored' issue
Christian Lins <christian.lins@intevation.de>
parents:
3091
diff
changeset
|
47 public FixWQCurveFacet(int index, String description) { |
cd309f8597f6
Fix for 'linecolor ignored' issue
Christian Lins <christian.lins@intevation.de>
parents:
3091
diff
changeset
|
48 super(index, FIX_WQ_CURVE, description, ComputeType.ADVANCE, null, null); |
cd309f8597f6
Fix for 'linecolor ignored' issue
Christian Lins <christian.lins@intevation.de>
parents:
3091
diff
changeset
|
49 } |
cd309f8597f6
Fix for 'linecolor ignored' issue
Christian Lins <christian.lins@intevation.de>
parents:
3091
diff
changeset
|
50 |
3028
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
51 |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
52 /** |
4312
7d0dd96210b5
Doc and whitespace cosmetics for ExrremeResult and FixWQCurve.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4308
diff
changeset
|
53 * Returns the data this facet provides at given km, a function. |
3028
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
54 * |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
55 * @param artifact the owner artifact. |
4312
7d0dd96210b5
Doc and whitespace cosmetics for ExrremeResult and FixWQCurve.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
4308
diff
changeset
|
56 * @param context the CallContext. |
3028
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
57 * |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
58 * @return the data. |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
59 */ |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
60 @Override |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
61 public Object getData(Artifact artifact, CallContext context) { |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
62 logger.debug("FixWQCurveFacet.getData"); |
3035
b388d888330d
Implemented facets and splitted up the event facet.Implemented facets and splitted up the event facet.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3028
diff
changeset
|
63 if (artifact instanceof FLYSArtifact) { |
b388d888330d
Implemented facets and splitted up the event facet.Implemented facets and splitted up the event facet.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3028
diff
changeset
|
64 FLYSArtifact flys = (FLYSArtifact)artifact; |
3408
50d61a2494cb
FixA: Renamed FixationArtifactAccess to FixAnalysisAccess
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
3317
diff
changeset
|
65 FixAnalysisAccess access = new FixAnalysisAccess(flys); |
3035
b388d888330d
Implemented facets and splitted up the event facet.Implemented facets and splitted up the event facet.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3028
diff
changeset
|
66 |
b388d888330d
Implemented facets and splitted up the event facet.Implemented facets and splitted up the event facet.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3028
diff
changeset
|
67 CalculationResult res = |
b388d888330d
Implemented facets and splitted up the event facet.Implemented facets and splitted up the event facet.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3028
diff
changeset
|
68 (CalculationResult) flys.compute(context, |
b388d888330d
Implemented facets and splitted up the event facet.Implemented facets and splitted up the event facet.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3028
diff
changeset
|
69 ComputeType.ADVANCE, |
b388d888330d
Implemented facets and splitted up the event facet.Implemented facets and splitted up the event facet.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3028
diff
changeset
|
70 false); |
b388d888330d
Implemented facets and splitted up the event facet.Implemented facets and splitted up the event facet.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3028
diff
changeset
|
71 |
3466
8160e62bbb3a
Registered new output 'fix_vollmer_wq_curve' for the vollmer path of fixings analysis module; create required Facets for it after calculation.
Ingo Weinzierl <ingo.weinzierl@intevation.de>
parents:
3415
diff
changeset
|
72 FixResult result = (FixResult) res.getData(); |
3088
960307cf2adc
Moved current km to context and added an abstract generator for fix analysis
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3081
diff
changeset
|
73 double currentKm = |
960307cf2adc
Moved current km to context and added an abstract generator for fix analysis
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3081
diff
changeset
|
74 ((Double)context.getContextValue("currentKm")).doubleValue(); |
3035
b388d888330d
Implemented facets and splitted up the event facet.Implemented facets and splitted up the event facet.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3028
diff
changeset
|
75 |
3081
26119b7b3154
Fixing output generator hacking
Christian Lins <christian.lins@intevation.de>
parents:
3080
diff
changeset
|
76 logger.debug("getData: km = " + currentKm); |
3035
b388d888330d
Implemented facets and splitted up the event facet.Implemented facets and splitted up the event facet.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3028
diff
changeset
|
77 |
b388d888330d
Implemented facets and splitted up the event facet.Implemented facets and splitted up the event facet.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3028
diff
changeset
|
78 String function = access.getFunction(); |
b388d888330d
Implemented facets and splitted up the event facet.Implemented facets and splitted up the event facet.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3028
diff
changeset
|
79 Function ff = FunctionFactory.getInstance().getFunction(function); |
b388d888330d
Implemented facets and splitted up the event facet.Implemented facets and splitted up the event facet.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3028
diff
changeset
|
80 |
3074
6502b17931b9
FixA: W/Q facet code cleanup.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
3073
diff
changeset
|
81 if (ff == null) { |
3081
26119b7b3154
Fixing output generator hacking
Christian Lins <christian.lins@intevation.de>
parents:
3080
diff
changeset
|
82 logger.warn("getData: ff == null"); |
3074
6502b17931b9
FixA: W/Q facet code cleanup.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
3073
diff
changeset
|
83 return null; |
6502b17931b9
FixA: W/Q facet code cleanup.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
3073
diff
changeset
|
84 } |
6502b17931b9
FixA: W/Q facet code cleanup.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
3073
diff
changeset
|
85 |
3035
b388d888330d
Implemented facets and splitted up the event facet.Implemented facets and splitted up the event facet.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3028
diff
changeset
|
86 Parameters params = result.getParameters(); |
3073
0ace00c0c12a
FixA: Improved W/Q facet code
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
3067
diff
changeset
|
87 String[] paramNames = ff.getParameterNames(); |
0ace00c0c12a
FixA: Improved W/Q facet code
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
3067
diff
changeset
|
88 |
3080
dc2765e31e1f
Added getData method with an additional km parameter.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3074
diff
changeset
|
89 double [] coeffs = params.interpolate("km", currentKm, paramNames); |
3073
0ace00c0c12a
FixA: Improved W/Q facet code
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
3067
diff
changeset
|
90 |
0ace00c0c12a
FixA: Improved W/Q facet code
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
3067
diff
changeset
|
91 if (coeffs == null) { |
3081
26119b7b3154
Fixing output generator hacking
Christian Lins <christian.lins@intevation.de>
parents:
3080
diff
changeset
|
92 logger.warn("getData: coeffs == null"); |
3073
0ace00c0c12a
FixA: Improved W/Q facet code
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
3067
diff
changeset
|
93 return null; |
3056
0b5a7a2c3724
Try to workaround some exception in FixWQCurveFacet and FixWQCurveGenerator
Christian Lins <christian.lins@intevation.de>
parents:
3055
diff
changeset
|
94 } |
3035
b388d888330d
Implemented facets and splitted up the event facet.Implemented facets and splitted up the event facet.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3028
diff
changeset
|
95 |
b388d888330d
Implemented facets and splitted up the event facet.Implemented facets and splitted up the event facet.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3028
diff
changeset
|
96 de.intevation.flys.artifacts.math.Function mf = |
b388d888330d
Implemented facets and splitted up the event facet.Implemented facets and splitted up the event facet.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3028
diff
changeset
|
97 ff.instantiate(coeffs); |
b388d888330d
Implemented facets and splitted up the event facet.Implemented facets and splitted up the event facet.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3028
diff
changeset
|
98 |
3091
179e38aa678d
Some fixing charts are generated now
Christian Lins <christian.lins@intevation.de>
parents:
3088
diff
changeset
|
99 double maxQ = FixFacetUtils.getMaxQ(params, currentKm); |
3056
0b5a7a2c3724
Try to workaround some exception in FixWQCurveFacet and FixWQCurveGenerator
Christian Lins <christian.lins@intevation.de>
parents:
3055
diff
changeset
|
100 logger.debug("getData: maxQ = " + maxQ); |
3035
b388d888330d
Implemented facets and splitted up the event facet.Implemented facets and splitted up the event facet.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3028
diff
changeset
|
101 |
b388d888330d
Implemented facets and splitted up the event facet.Implemented facets and splitted up the event facet.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3028
diff
changeset
|
102 FixFunction fix = new FixFunction( |
b388d888330d
Implemented facets and splitted up the event facet.Implemented facets and splitted up the event facet.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3028
diff
changeset
|
103 ff.getName(), |
b388d888330d
Implemented facets and splitted up the event facet.Implemented facets and splitted up the event facet.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3028
diff
changeset
|
104 ff.getDescription(), |
b388d888330d
Implemented facets and splitted up the event facet.Implemented facets and splitted up the event facet.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3028
diff
changeset
|
105 mf, |
b388d888330d
Implemented facets and splitted up the event facet.Implemented facets and splitted up the event facet.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3028
diff
changeset
|
106 maxQ); |
b388d888330d
Implemented facets and splitted up the event facet.Implemented facets and splitted up the event facet.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3028
diff
changeset
|
107 |
b388d888330d
Implemented facets and splitted up the event facet.Implemented facets and splitted up the event facet.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3028
diff
changeset
|
108 return fix; |
b388d888330d
Implemented facets and splitted up the event facet.Implemented facets and splitted up the event facet.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3028
diff
changeset
|
109 } |
b388d888330d
Implemented facets and splitted up the event facet.Implemented facets and splitted up the event facet.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3028
diff
changeset
|
110 else { |
4308
7091e9e4fe2e
FixWQCurveFacet: Corrected debug message.
Felix Wolfsteller <felix.wolfsteller@intevation.de>
parents:
3466
diff
changeset
|
111 logger.debug("Not an instance of FLYSArtifact / FixationArtifact."); |
3035
b388d888330d
Implemented facets and splitted up the event facet.Implemented facets and splitted up the event facet.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3028
diff
changeset
|
112 return null; |
b388d888330d
Implemented facets and splitted up the event facet.Implemented facets and splitted up the event facet.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
3028
diff
changeset
|
113 } |
3028
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
114 } |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
115 |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
116 /** |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
117 * Create a deep copy of this Facet. |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
118 * @return a deep copy. |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
119 */ |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
120 @Override |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
121 public FixWQCurveFacet deepCopy() { |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
122 FixWQCurveFacet copy = new FixWQCurveFacet(); |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
123 copy.set(this); |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
124 return copy; |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
125 } |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
126 } |
77b5f5a26700
Added facets for fix analysis.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff
changeset
|
127 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |