Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/HYKArtifact.java @ 7842:8d5ca5175038
Updated signature of artifacts setup method; Removed unnecessary setup overrides.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 30 Apr 2014 15:12:32 +0200 |
parents | af13ceeba52a |
children | e4606eae8ea5 |
comparison
equal
deleted
inserted
replaced
7841:8036688f24e1 | 7842:8d5ca5175038 |
---|---|
62 public void setup( | 62 public void setup( |
63 String identifier, | 63 String identifier, |
64 ArtifactFactory factory, | 64 ArtifactFactory factory, |
65 Object context, | 65 Object context, |
66 CallMeta callMeta, | 66 CallMeta callMeta, |
67 Document data) | 67 Document data, |
68 List<Class> loadFacets) | |
68 { | 69 { |
69 logger.info("HYKArtifact.setup"); | 70 logger.info("HYKArtifact.setup"); |
70 | 71 |
71 String ids = getDatacageIDValue(data); | 72 String ids = getDatacageIDValue(data); |
72 | 73 |
73 logger.info("HYKArtifact.setup: id is " + ids); | 74 logger.info("HYKArtifact.setup: id is " + ids); |
74 | 75 |
75 addStringData(HYK_ID, ids); | 76 addStringData(HYK_ID, ids); |
76 | 77 |
77 super.setup(identifier, factory, context, callMeta, data); | 78 super.setup(identifier, factory, context, callMeta, data, loadFacets); |
78 } | 79 } |
79 | 80 |
80 | 81 |
81 /** Set km as Data. */ | 82 /** Set km as Data. */ |
82 public void setKm(double km) { | 83 public void setKm(double km) { |