view gnv-artifacts/src/main/java/de/intevation/gnv/transition/Transition.java @ 120:5134266f00e7

Resolved gnv/issue21 No NPE will be thrown. Add Dummydata for Calculating the distance between two MeasurmentPoints. gnv-artifacts/trunk@190 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Tue, 06 Oct 2009 10:58:47 +0000
parents ef157bd2fa92
children 7fb9441dd8af
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