ingo@209: package de.intevation.artifactdatabase.state; ingo@209: ingo@209: ingo@209: /** ingo@209: * The default implementation of an Output. ingo@209: * ingo@209: * @author Ingo Weinzierl ingo@209: */ ingo@209: public class DefaultOutput implements Output { ingo@209: ingo@209: protected String name; ingo@209: ingo@209: protected String description; ingo@209: ingo@209: protected String mimeType; ingo@209: ingo@209: ingo@209: /** ingo@209: * The default constructor that instantiates a new DefaultOutput object. ingo@209: * ingo@209: * @param name The name of this output. ingo@209: * @param description The description of this output. ingo@209: * @param mimeType The mimetype of this output. ingo@209: */ ingo@209: public DefaultOutput(String name, String description, String mimeType) { ingo@209: this.name = name; ingo@209: this.description = description; ingo@209: this.mimeType = mimeType; ingo@209: } ingo@209: ingo@209: ingo@209: /** ingo@209: * Returns the name of this output. ingo@209: * ingo@209: * @return the name of this output. ingo@209: */ ingo@209: public String getName() { ingo@209: return name; ingo@209: } ingo@209: ingo@209: ingo@209: /** ingo@209: * Returns the description of this output. ingo@209: * ingo@209: * @return the description of this output. ingo@209: */ ingo@209: public String getDescription() { ingo@209: return description; ingo@209: } ingo@209: ingo@209: ingo@209: /** ingo@209: * Returns the mimetype of this output. ingo@209: * ingo@209: * @return the mimetype of this output. ingo@209: */ ingo@209: public String getMimeType() { ingo@209: return mimeType; ingo@209: } ingo@209: } ingo@209: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :