view gnv-artifacts/src/main/java/de/intevation/gnv/profile/vertical/VerticalProfileArtifact.java @ 188:693f7b676ade

Adding two further fis which are based on Mesh to the System. Fis in Median.Mesh will be choosen using the sourceid issue49 gnv-artifacts/trunk@232 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Fri, 16 Oct 2009 14:51:43 +0000
parents 7fb9441dd8af
children d87347142702
line wrap: on
line source
/**
 *
 */
package de.intevation.gnv.profile.vertical;

import org.apache.log4j.Logger;
import org.w3c.dom.Document;

import de.intevation.artifacts.ArtifactFactory;
import de.intevation.artifacts.CallContext;
import de.intevation.gnv.artifacts.GNVArtifactBase;

/**
 * @author Tim Englich <tim.englich@intevation.de>
 * 
 */
public class VerticalProfileArtifact extends GNVArtifactBase {
    /**
     * the logger, used to log exceptions and additonaly information
     */
    private static Logger log = Logger.getLogger(VerticalProfileArtifact.class);

    /**
     * The UID of this class
     */
    private static final long serialVersionUID = -8291547966693867205L;

    /**
     * Constructor
     */
    public VerticalProfileArtifact() {
        super();
        log.debug("VerticalProfileArtifact.Constructor");
        this.name = "verticalProfile";
    }

    /**
     * @see de.intevation.artifactdatabase.DefaultArtifact#describe(java.lang.Object)
     */
    @Override
    public Document describe(CallContext context) {
        log.debug("VerticalProfileArtifact.describe");
        return super.createDescibeOutput(context.getMeta());
    }

    /**
     * @see de.intevation.gnv.artifacts.GNVArtifactBase#setup(java.lang.String,
     *      de.intevation.artifacts.ArtifactFactory, java.lang.Object)
     */
    @Override
    public void setup(String identifier, ArtifactFactory factory, Object context) {
        log.debug("VerticalProfileArtifact.setup");
        super.setup(identifier, factory, context);
    }
}

http://dive4elements.wald.intevation.org