Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java @ 932:9ff7e06bcb77
Artifacts and Collections now support the 'type' member of Outputs.
flys-artifacts/trunk@2311 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 08 Jul 2011 08:26:18 +0000 |
parents | 5abdb2fa8eb1 |
children | 9e813e9137a5 |
comparison
equal
deleted
inserted
replaced
931:057cc0bf4aef | 932:9ff7e06bcb77 |
---|---|
238 | 238 |
239 for (Output out: list) { | 239 for (Output out: list) { |
240 Output o = new DefaultOutput( | 240 Output o = new DefaultOutput( |
241 out.getName(), | 241 out.getName(), |
242 out.getDescription(), | 242 out.getDescription(), |
243 out.getMimeType()); | 243 out.getMimeType(), |
244 out.getType()); | |
244 | 245 |
245 Set<String> outTypes = new HashSet<String>(); | 246 Set<String> outTypes = new HashSet<String>(); |
246 | 247 |
247 for (Facet f: out.getFacets()) { | 248 for (Facet f: out.getFacets()) { |
248 if (outTypes.add(f.getName()) && debug) { | 249 if (outTypes.add(f.getName()) && debug) { |