Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/artifacts/model/DataFacet.java @ 9425:3f49835a00c3
Extended CrossSectionFacet so it may fetch different data from within the artifact result.
Also allows to have acces to the potentially already computed artifact result via its normal computation cache.
author | gernotbelger |
---|---|
date | Fri, 17 Aug 2018 15:31:02 +0200 |
parents | 8c64617a7991 |
children |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/DataFacet.java Fri Aug 17 14:29:05 2018 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/DataFacet.java Fri Aug 17 15:31:02 2018 +0200 @@ -109,6 +109,7 @@ // FIXME: usage of internal knowledge of parent class... // Either the set method should be correctly overwritten, or implement a correct copy-constructor! copy.set(this); + // FIXME: instead we need to overwrite set and call it here copy.type = type; copy.hash = hash; copy.stateId = stateId;