Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/GaugeDischargeArtifact.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 | 73da40528cf2 |
children | af13ceeba52a |
comparison
equal
deleted
inserted
replaced
5866:9a6741ccf6d4 | 5867:59ff03ff48f1 |
---|---|
74 Object context, | 74 Object context, |
75 CallMeta callMeta, | 75 CallMeta callMeta, |
76 Document data) | 76 Document data) |
77 { | 77 { |
78 logger.debug("GaugeDischargeArtifact.setup"); | 78 logger.debug("GaugeDischargeArtifact.setup"); |
79 String ids = StaticFLYSArtifact.getDatacageIDValue(data); | 79 String ids = StaticD4EArtifact.getDatacageIDValue(data); |
80 addStringData("ids", ids); | 80 addStringData("ids", ids); |
81 logger.debug("id for gaugedischarge: " + ids); | 81 logger.debug("id for gaugedischarge: " + ids); |
82 super.setup(identifier, factory, context, callMeta, data); | 82 super.setup(identifier, factory, context, callMeta, data); |
83 } | 83 } |
84 | 84 |
94 */ | 94 */ |
95 @Override | 95 @Override |
96 protected void initialize(Artifact art, Object context, CallMeta meta) { | 96 protected void initialize(Artifact art, Object context, CallMeta meta) { |
97 logger.debug("GaugeDischargeArtifact.initialize"); | 97 logger.debug("GaugeDischargeArtifact.initialize"); |
98 List<Facet> fs = new ArrayList<Facet>(); | 98 List<Facet> fs = new ArrayList<Facet>(); |
99 FLYSArtifact artifact = (FLYSArtifact) art; | 99 D4EArtifact artifact = (D4EArtifact) art; |
100 importData(artifact, "river"); | 100 importData(artifact, "river"); |
101 | 101 |
102 // Get the location(s) | 102 // Get the location(s) |
103 //importData(artifact, "ld_mode", ld_from, ld_to, ld_locations | 103 //importData(artifact, "ld_mode", ld_from, ld_to, ld_locations |
104 addStringData("ld_from", "0"); | 104 addStringData("ld_from", "0"); |