view gnv-artifacts/src/main/java/de/intevation/gnv/transition/DefaultOutputMode.java @ 83:5c8e54726a58

Added Support for Vertical Profiles Mesh gnv-artifacts/trunk@113 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Wed, 23 Sep 2009 11:57:08 +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