Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/HYKArtifact.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 |
---|---|
27 | 27 |
28 | 28 |
29 /** | 29 /** |
30 * Artifact to get hydr zones (HYKs). | 30 * Artifact to get hydr zones (HYKs). |
31 */ | 31 */ |
32 public class HYKArtifact extends StaticFLYSArtifact { | 32 public class HYKArtifact extends StaticD4EArtifact { |
33 | 33 |
34 /** Name of Artifact. */ | 34 /** Name of Artifact. */ |
35 public static final String HYK_ARTIFACT_NAME = "hyk"; | 35 public static final String HYK_ARTIFACT_NAME = "hyk"; |
36 | 36 |
37 /** Name of data item keeping the hyk id to load formations from. */ | 37 /** Name of data item keeping the hyk id to load formations from. */ |
111 Artifact artifact, | 111 Artifact artifact, |
112 Object context, | 112 Object context, |
113 CallMeta callMeta) | 113 CallMeta callMeta) |
114 { | 114 { |
115 logger.debug("HYKArtifact.initialize"); | 115 logger.debug("HYKArtifact.initialize"); |
116 importData((FLYSArtifact)artifact, "river"); | 116 importData((D4EArtifact)artifact, "river"); |
117 | 117 |
118 List<Facet> fs = new ArrayList<Facet>(); | 118 List<Facet> fs = new ArrayList<Facet>(); |
119 | 119 |
120 DefaultState state = (DefaultState) getCurrentState(context); | 120 DefaultState state = (DefaultState) getCurrentState(context); |
121 state.computeInit(this, hash(), context, callMeta, fs); | 121 state.computeInit(this, hash(), context, callMeta, fs); |