comparison gnv-artifacts/src/main/java/de/intevation/gnv/transition/PresettingsValueCompareTransition.java @ 824:7e5995c47125

Added more Javadoc. gnv-artifacts/trunk@913 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Tue, 13 Apr 2010 08:49:42 +0000
parents 79c1db3ca7cc
children 2423cefe7d39
comparison
equal deleted inserted replaced
823:499cfbbb61bc 824:7e5995c47125
1 package de.intevation.gnv.transition; 1 package de.intevation.gnv.transition;
2
3 import de.intevation.artifactdatabase.Config;
4
5 import de.intevation.gnv.state.InputData;
6 import de.intevation.gnv.state.State;
7 2
8 import java.util.Map; 3 import java.util.Map;
9 4
10 import org.apache.log4j.Logger; 5 import org.apache.log4j.Logger;
11
12 import org.w3c.dom.Node; 6 import org.w3c.dom.Node;
13 7
8 import de.intevation.artifactdatabase.Config;
9 import de.intevation.gnv.state.InputData;
10 import de.intevation.gnv.state.State;
11
14 /** 12 /**
13 * Class which supports the possibility to validate if a
14 * Transition could be done using simple Valuecompare Operations.
15 * The Compareoperations will use the preSettings of an Artifact.
16 * At this Time equal and notequal-operations are supported.
17 * The Comparation is casesensitive.
15 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> 18 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a>
16 * 19 *
17 */ 20 */
18 public class PresettingsValueCompareTransition extends TransitionBase { 21 public class PresettingsValueCompareTransition extends TransitionBase {
19 22
20 /** 23 /**
21 * the logger, used to log exceptions and additonaly information 24 * the logger, used to log exceptions and additonaly information
22 */ 25 */
23 private static Logger log = Logger.getLogger(PresettingsValueCompareTransition.class); 26 private static Logger log = Logger.getLogger(PresettingsValueCompareTransition.class);
24 27
28 /**
29 * The Name of the Datafield the Value that should be compared
30 * should be fetched from.
31 */
25 private String dataName = null; 32 private String dataName = null;
33 /**
34 * The Value that should be set to the State.
35 */
26 private String dataValue = null; 36 private String dataValue = null;
37 /**
38 * The Operation that should be used (equal notequal)
39 */
27 private String operator = null; 40 private String operator = null;
28 41
29 /** 42 /**
30 * The UID of this Class. 43 * The UID of this Class.
31 */ 44 */

http://dive4elements.wald.intevation.org