comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/sq/SQOutlierMeasurementFacet.java @ 7378:aff189df381b

(issue1474) Fix copying of SQ* Facets The main thing causing confusion was that the fractionIdx was not copied. But the other DataFacet specific parts were also lost.
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 17 Oct 2013 18:37:56 +0200
parents af13ceeba52a
children 5acaf44062b5
comparison
equal deleted inserted replaced
7377:ad2fdc34910a 7378:aff189df381b
73 73
74 @Override 74 @Override
75 public Facet deepCopy() { 75 public Facet deepCopy() {
76 SQOutlierMeasurementFacet copy = new SQOutlierMeasurementFacet(); 76 SQOutlierMeasurementFacet copy = new SQOutlierMeasurementFacet();
77 copy.set(this); 77 copy.set(this);
78 copy.type = type;
79 copy.hash = hash;
80 copy.stateId = stateId;
81 copy.fractionIdx = fractionIdx;
82
78 return copy; 83 return copy;
79 } 84 }
80 } 85 }
81 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 86 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org