Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/sq/SQOverviewFacet.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 | b7e82468299a |
comparison
equal
deleted
inserted
replaced
7377:ad2fdc34910a | 7378:aff189df381b |
---|---|
60 | 60 |
61 @Override | 61 @Override |
62 public SQOverviewFacet deepCopy() { | 62 public SQOverviewFacet deepCopy() { |
63 SQOverviewFacet copy = new SQOverviewFacet(); | 63 SQOverviewFacet copy = new SQOverviewFacet(); |
64 copy.set(this); | 64 copy.set(this); |
65 copy.type = type; | |
66 copy.hash = hash; | |
67 copy.stateId = stateId; | |
68 copy.fractionIdx = fractionIdx; | |
65 | 69 |
66 return copy; | 70 return copy; |
67 } | 71 } |
68 } | 72 } |
69 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 73 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |