comparison artifact-database/src/main/java/de/intevation/artifactdatabase/state/AbstractState.java @ 367:6431b7efe240

Cosmetics. artifacts/trunk@3680 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 16 Jan 2012 08:58:36 +0000
parents 81ae7948bff0
children 6072f84608c2
comparison
equal deleted inserted replaced
366:1f51f3c46efe 367:6431b7efe240
45 45
46 /** The XPath to the description of the state relative to the state node in 46 /** The XPath to the description of the state relative to the state node in
47 * the configuration. */ 47 * the configuration. */
48 public static final String XPATH_DESCRIPTION = "@description"; 48 public static final String XPATH_DESCRIPTION = "@description";
49 49
50 /** The XPath to the output nodes of the state configuration.*/ 50 /** The XPath to the output nodes of the state configuration. */
51 public static final String XPATH_OUTPUT_MODES = "outputmodes/outputmode"; 51 public static final String XPATH_OUTPUT_MODES = "outputmodes/outputmode";
52 52
53 /** The XPath to the list of facets relative to the output mode it belongs 53 /** The XPath to the list of facets relative to the output mode it belongs
54 * to.*/ 54 * to. */
55 public static final String XPATH_FACETS = "facets/facet"; 55 public static final String XPATH_FACETS = "facets/facet";
56 56
57 57
58 /** The logger that is used in this class.*/ 58 /** The logger that is used in this class. */
59 private static Logger logger = Logger.getLogger(AbstractState.class); 59 private static Logger logger = Logger.getLogger(AbstractState.class);
60 60
61 61
62 /** The ID of the state. */ 62 /** The ID of the state. */
63 protected String id; 63 protected String id;
66 protected String description; 66 protected String description;
67 67
68 /** The data provided by this state. */ 68 /** The data provided by this state. */
69 protected Map<String, StateData> data; 69 protected Map<String, StateData> data;
70 70
71 /** A list of output modes which are available for this state.*/ 71 /** A list of output modes which are available for this state. */
72 protected List<Output> outputs; 72 protected List<Output> outputs;
73 73
74 74
75 public AbstractState() { 75 public AbstractState() {
76 outputs = new ArrayList<Output>(); 76 outputs = new ArrayList<Output>();
86 public AbstractState(String id, String description) { 86 public AbstractState(String id, String description) {
87 super(); 87 super();
88 88
89 this.id = id; 89 this.id = id;
90 this.description = description; 90 this.description = description;
91
92 } 91 }
93 92
94 93
95 /** 94 /**
96 * Returns the ID of the state. 95 * Returns the ID of the state.

http://dive4elements.wald.intevation.org