comparison gnv-artifacts/src/main/java/de/intevation/gnv/transition/Transition.java @ 778:9a828e5a2390

Removed trailing whitespace gnv-artifacts/trunk@851 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 29 Mar 2010 07:58:51 +0000
parents a887074460b6
children b1f5f2a8840f
comparison
equal deleted inserted replaced
777:8009961db1cb 778:9a828e5a2390
5 import org.w3c.dom.Node; 5 import org.w3c.dom.Node;
6 6
7 import de.intevation.gnv.state.State; 7 import de.intevation.gnv.state.State;
8 8
9 /** 9 /**
10 * 10 *
11 * @author Tim Englich <tim.englich@intevation.de> 11 * @author Tim Englich <tim.englich@intevation.de>
12 * 12 *
13 */ 13 */
14 public interface Transition extends Serializable{ 14 public interface Transition extends Serializable{
15 15
16 /** 16 /**
17 * Returns the ID of the State from which the Transition could be used 17 * Returns the ID of the State from which the Transition could be used
18 * @return the ID of the State from which the Transition could be used 18 * @return the ID of the State from which the Transition could be used
19 */ 19 */
20 public String getFrom(); 20 public String getFrom();
21 21
22 /** 22 /**
23 * Returns the ID of the State where it is possible to go as next. 23 * Returns the ID of the State where it is possible to go as next.
24 * @return the ID of the State where it is possible to go as next. 24 * @return the ID of the State where it is possible to go as next.
25 */ 25 */
26 public String getTo(); 26 public String getTo();
27 27
28 /** 28 /**
29 * Determines if it is possible to go along this Transition or not. 29 * Determines if it is possible to go along this Transition or not.
30 * @param state the current State 30 * @param state the current State
31 * @return 31 * @return
32 */ 32 */
33 public boolean isValid(State state); 33 public boolean isValid(State state);
34 34
35 /** 35 /**
36 * Configures the Transition. 36 * Configures the Transition.
37 * @param configuration 37 * @param configuration
38 */ 38 */
39 public void setup(Node configuration); 39 public void setup(Node configuration);

http://dive4elements.wald.intevation.org