Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/State.java @ 106:5864c41219db
Initializes a TransitionEngine storing all transitions for each artifact at the application start.
flys-artifacts/trunk@1288 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 03 Feb 2011 10:23:30 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
105:beb991dc4827 | 106:5864c41219db |
---|---|
1 package de.intevation.flys.artifacts.states; | |
2 | |
3 import java.io.Serializable; | |
4 | |
5 /** | |
6 * This interface describes the basic method a concrete state class needs to | |
7 * implement. | |
8 * | |
9 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | |
10 */ | |
11 public interface State extends Serializable { | |
12 | |
13 /** | |
14 * Return the id of the state. | |
15 * | |
16 * @return the id. | |
17 */ | |
18 public String getID(); | |
19 | |
20 /** | |
21 * Return the description of the state. | |
22 * | |
23 * @return the description of the state. | |
24 */ | |
25 public String getDescription(); | |
26 } | |
27 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : |