view gnv-artifacts/src/main/java/de/intevation/gnv/transition/DefaultOutputMode.java @ 66:bf883222b675

Added JfreeChart Dependency to pom-file gnv-artifacts/trunk@49 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Wed, 09 Sep 2009 12:03:00 +0000
parents 5db77e0a8594
children bd284d8306db
line wrap: on
line source
/**
 *
 */
package de.intevation.gnv.transition;
/**
 * @author Tim Englich <tim.englich@intevation.de>
 *
 */
public class DefaultOutputMode implements OutputMode {

    private String name = null;
    private String description = null;
    private String mimeType = null;
    
    /**
     * Constructor
     * @param name
     * @param description
     * @param mimeType
     */
    public DefaultOutputMode(String name, String description, String mimeType) {
        super();
        this.name = name;
        this.description = description;
        this.mimeType = mimeType;
    }
    
    /**
     * @see de.intevation.gnv.transition.OutputMode#getDescription()
     */
    public String getDescription() {
        return this.description;
    }

    /**
     * @see de.intevation.gnv.transition.OutputMode#getMimeType()
     */
    public String getMimeType() {
        return this.mimeType;
    }

    /**
     * @see de.intevation.gnv.transition.OutputMode#getName()
     */
    public String getName() {
        return this.name;
    }

    /**
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "Name: "+this.name+" ; Description: "+this.description+" ; Mime-Type: "+this.mimeType;
    }

}

http://dive4elements.wald.intevation.org