view gnv-artifacts/src/main/java/de/intevation/gnv/transition/Transition.java @ 199:b66e8a6f3907

Moved Configurationfiles gnv-artifacts/trunk@253 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Wed, 21 Oct 2009 10:16:52 +0000
parents 7fb9441dd8af
children d87347142702
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);

    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;

    public Collection<Object> getDescibeData();

    public void setDescibeData(Collection<Object> descibeData);

}

http://dive4elements.wald.intevation.org