view gnv-artifacts/src/main/java/de/intevation/gnv/timeseries/TimeSeriesArtifact.java @ 101:e01c163ea5b0

Inputvalidation for String, Integer and Date Values added. gnv-artifacts/trunk@149 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Tue, 29 Sep 2009 09:50:25 +0000
parents 504570de21fd
children 158e89c2263b
line wrap: on
line source
/**
 *
 */
package de.intevation.gnv.timeseries;

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

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

/**
 * @author Tim Englich <tim.englich@intevation.de>
 *
 */
public class TimeSeriesArtifact extends GNVArtifactBase {
    /**
     * the logger, used to log exceptions and additonaly information
     */
    private static Logger log = Logger.getLogger(TimeSeriesArtifact.class);
    
    
    /**
     * The UID of this class
     */
    private static final long serialVersionUID = -8291547966693867205L;
    
    /**
     * Constructor
     */
    public TimeSeriesArtifact(){
        super();
        log.debug("TimeSeriesArtifact.Constructor");
        this.name = "timeSeries";
    }

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

    /**
     * @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("TimeSeriesArtifact.setup");
        super.setup(identifier,factory,context);
    }
}

http://dive4elements.wald.intevation.org