comparison artifacts/src/main/java/org/dive4elements/river/artifacts/QSectorArtifact.java @ 5867:59ff03ff48f1

River artifacts: Renamed FLYSArtifact(Collection) to D4EArtifact(Collection).
author Sascha L. Teichmann <teichmann@intevation.de>
date Sun, 28 Apr 2013 15:23:01 +0200
parents 4897a58c8746
children af13ceeba52a
comparison
equal deleted inserted replaced
5866:9a6741ccf6d4 5867:59ff03ff48f1
36 36
37 /** 37 /**
38 * Artifact to produce sector markers. 38 * Artifact to produce sector markers.
39 */ 39 */
40 public class QSectorArtifact 40 public class QSectorArtifact
41 extends StaticFLYSArtifact 41 extends StaticD4EArtifact
42 { 42 {
43 /** The logger for this class. */ 43 /** The logger for this class. */
44 private static Logger logger = Logger.getLogger(QSectorArtifact.class); 44 private static Logger logger = Logger.getLogger(QSectorArtifact.class);
45 45
46 /** The name of the artifact. */ 46 /** The name of the artifact. */
119 @Override 119 @Override
120 protected void initialize(Artifact artifact, Object context, CallMeta meta) { 120 protected void initialize(Artifact artifact, Object context, CallMeta meta) {
121 logger.debug("QSectorArtifact.initialize"); 121 logger.debug("QSectorArtifact.initialize");
122 List<Facet> fs = new ArrayList<Facet>(); 122 List<Facet> fs = new ArrayList<Facet>();
123 123
124 FLYSArtifact flys = (FLYSArtifact) artifact; 124 D4EArtifact flys = (D4EArtifact) artifact;
125 importData(flys, "river"); 125 importData(flys, "river");
126 126
127 DefaultState state = (DefaultState) getCurrentState(context); 127 DefaultState state = (DefaultState) getCurrentState(context);
128 state.computeInit(this, hash(), context, meta, fs); 128 state.computeInit(this, hash(), context, meta, fs);
129 if (!fs.isEmpty()) { 129 if (!fs.isEmpty()) {

http://dive4elements.wald.intevation.org