Mercurial > dive4elements > gnv-client
view gnv/src/main/java/de/intevation/gnv/artifactdatabase/objects/DefaultOutputMode.java @ 683:d49e8695786c
Ordered imports. Removed needless imports. Removed empty headers.
gnv/trunk@855 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 29 Mar 2010 09:10:25 +0000 |
parents | 15ac78a91d1b |
children | 57fa8019fbdc |
line wrap: on
line source
package de.intevation.gnv.artifactdatabase.objects; import java.util.Collection; import java.util.Map; /** * @author Tim Englich <tim.englich@intevation.de> * */ public class DefaultOutputMode implements OutputMode { /** * The UID of this Class. */ private static final long serialVersionUID = 7487880486604174521L; private String name = null; private String mimeType = null; private Collection<OutputParameter> outputParameter = null; private Map<String, ExportMode> exports; public DefaultOutputMode( String name, String mimeType, Collection<OutputParameter> outputParameter, Map<String, ExportMode> exports) { super(); this.name = name; this.mimeType = mimeType; this.outputParameter = outputParameter; this.exports = exports; } /** * @see de.intevation.gnv.artifactdatabase.objects.OutputMode#getMimeType() */ public String getMimeType() { return this.mimeType; } /** * @see de.intevation.gnv.artifactdatabase.objects.OutputMode#getName() */ public String getName() { return this.name; } /** * @see de.intevation.gnv.artifactdatabase.objects.OutputMode#getOutputParameters() */ public Collection<OutputParameter> getOutputParameters() { return this.outputParameter; } public ExportMode getExportMode(String mode) { return exports.get(mode); } }