view gnv-artifacts/src/main/java/de/intevation/gnv/transition/Transition.java @ 215:c92a6e0ab79a

Added Configuration and Ressources for two new FIS. Current Meter and Ice Station Reports gnv-artifacts/trunk@273 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Wed, 28 Oct 2009 09:53:57 +0000
parents d87347142702
children ee2d4134d0b3
line wrap: on
line source
/**
 *
 */
package de.intevation.gnv.transition;

import java.io.Serializable;
import java.util.Collection;

import org.w3c.dom.Document;
import org.w3c.dom.Node;

import de.intevation.artifacts.CallMeta;
import de.intevation.gnv.transition.exception.TransitionException;

/**
 * @author Tim Englich <tim.englich@intevation.de>
 * 
 */
public interface Transition extends Serializable {

    public void setup(Node configuration);

    public Collection<String> reachableTransitions();

    public boolean isTransitionReachable(String transitionID);

    public String getID();

    public String getDescription();

    public boolean validate();

    public void describe(Document document, Node rootNode, CallMeta callMeta, String uuid);

    public void setParent(Transition transition);

    public Transition getParent();

    public Collection<InputValue> getRequiredInputValues();

    public void putInputData(Collection<InputData> inputData, 
                             String uuid)
                                         throws TransitionException;

    public Collection<InputData> getInputData() throws TransitionException;

    public void advance(String uuid, CallMeta callMeta)
                                                       throws TransitionException;

}

http://dive4elements.wald.intevation.org