view artifact-database/src/main/java/de/intevation/artifactdatabase/state/Output.java @ 251:9e12f3fbcf78

Added a method to add new facets to an output. artifacts/trunk@1742 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 21 Apr 2011 13:43:24 +0000
parents 41404961c804
children 995fa6994480
line wrap: on
line source
package de.intevation.artifactdatabase.state;

import java.util.List;


/**
 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
 */
public interface Output {

    /**
     * Retrieve the name of this output mode.
     *
     * @return the name of this output mode.
     */
    public String getName();

    /**
     * Retrieve the description of an output.
     *
     * @return the description.
     */
    public String getDescription();

    /**
     * Retrieve the mimetype used for the output.
     *
     * @return the mimetype.
     */
    public String getMimeType();

    /**
     * Retrieve the facets of this output.
     *
     * @return the facets of this output.
     */
    public List<Facet> getFacets();

    /**
     * Add a new facet to this output.
     *
     * @param facet The new facet.
     */
    public void addFacet(Facet facet);
}
// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :

http://dive4elements.wald.intevation.org