comparison artifacts/src/main/java/org/dive4elements/river/artifacts/FlowVelocityMeasurementArtifact.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 a338ad099c7a
children e4606eae8ea5
comparison
equal deleted inserted replaced
7841:8036688f24e1 7842:8d5ca5175038
110 public void setup( 110 public void setup(
111 String identifier, 111 String identifier,
112 ArtifactFactory factory, 112 ArtifactFactory factory,
113 Object context, 113 Object context,
114 CallMeta callMeta, 114 CallMeta callMeta,
115 Document data) 115 Document data,
116 List<Class> loadFacets)
116 { 117 {
117 logger.debug("FlowVelocityMeasurementArtifact.setup"); 118 logger.debug("FlowVelocityMeasurementArtifact.setup");
118 119
119 state = new StaticState(STATIC_STATE_NAME); 120 state = new StaticState(STATIC_STATE_NAME);
120 121
166 addFacets(state.getID(), fs); 167 addFacets(state.getID(), fs);
167 addStringData(DATA_NAME, code); 168 addStringData(DATA_NAME, code);
168 } 169 }
169 170
170 spawnState(); 171 spawnState();
171 super.setup(identifier, factory, context, callMeta, data); 172 super.setup(identifier, factory, context, callMeta, data, loadFacets);
172 } 173 }
173 174
174 175
175 /** 176 /**
176 * Get a list containing the one and only State. 177 * Get a list containing the one and only State.

http://dive4elements.wald.intevation.org