Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/GaugeDischargeArtifact.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 | 88bb0c794833 |
children | d3a4b0d5bcd8 |
comparison
equal
deleted
inserted
replaced
7841:8036688f24e1 | 7842:8d5ca5175038 |
---|---|
75 public void setup( | 75 public void setup( |
76 String identifier, | 76 String identifier, |
77 ArtifactFactory factory, | 77 ArtifactFactory factory, |
78 Object context, | 78 Object context, |
79 CallMeta callMeta, | 79 CallMeta callMeta, |
80 Document data) | 80 Document data, |
81 List<Class> loadFacets) | |
81 { | 82 { |
82 logger.debug("GaugeDischargeArtifact.setup"); | 83 logger.debug("GaugeDischargeArtifact.setup"); |
83 String ids = StaticD4EArtifact.getDatacageIDValue(data); | 84 String ids = StaticD4EArtifact.getDatacageIDValue(data); |
84 addStringData("ids", ids); | 85 addStringData("ids", ids); |
85 logger.debug("id for gaugedischarge: " + ids); | 86 logger.debug("id for gaugedischarge: " + ids); |
88 * format is <gauge_name>;<discharge_table_id>;<facet_desc> | 89 * format is <gauge_name>;<discharge_table_id>;<facet_desc> |
89 * so that a specific discharge table can be selected */ | 90 * so that a specific discharge table can be selected */ |
90 if (splitIds.length > 2) { | 91 if (splitIds.length > 2) { |
91 facetWishName = splitIds[2]; | 92 facetWishName = splitIds[2]; |
92 } | 93 } |
93 super.setup(identifier, factory, context, callMeta, data); | 94 super.setup(identifier, factory, context, callMeta, data, loadFacets); |
94 } | 95 } |
95 | 96 |
96 | 97 |
97 /** Return the name of this artifact. */ | 98 /** Return the name of this artifact. */ |
98 public String getName() { | 99 public String getName() { |