Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/collections/OutputParser.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 |
---|---|
22 | 22 |
23 import org.dive4elements.artifactdatabase.state.DefaultOutput; | 23 import org.dive4elements.artifactdatabase.state.DefaultOutput; |
24 import org.dive4elements.artifactdatabase.state.Facet; | 24 import org.dive4elements.artifactdatabase.state.Facet; |
25 import org.dive4elements.artifactdatabase.state.Output; | 25 import org.dive4elements.artifactdatabase.state.Output; |
26 | 26 |
27 import org.dive4elements.river.artifacts.FLYSArtifact; | 27 import org.dive4elements.river.artifacts.D4EArtifact; |
28 import org.dive4elements.river.artifacts.model.ManagedFacetAdapter; | 28 import org.dive4elements.river.artifacts.model.ManagedFacetAdapter; |
29 | 29 |
30 | 30 |
31 /** | 31 /** |
32 * The OutputParsers task is to pull Artifacts from database and put | 32 * The OutputParsers task is to pull Artifacts from database and put |
71 public void parse(String uuid) | 71 public void parse(String uuid) |
72 throws ArtifactDatabaseException | 72 throws ArtifactDatabaseException |
73 { | 73 { |
74 logger.debug("OutputParser.parse: " + uuid); | 74 logger.debug("OutputParser.parse: " + uuid); |
75 | 75 |
76 FLYSArtifact flys = (FLYSArtifact) db.getRawArtifact(uuid); | 76 D4EArtifact flys = (D4EArtifact) db.getRawArtifact(uuid); |
77 | 77 |
78 List<Output> outList = flys.getOutputs(context); | 78 List<Output> outList = flys.getOutputs(context); |
79 | 79 |
80 logger.debug(" has " + outList.size() + " Outputs."); | 80 logger.debug(" has " + outList.size() + " Outputs."); |
81 | 81 |