Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java @ 2766:7dc4681a2bed
Allow easy change of sticky axis for annotations.
flys-artifacts/trunk@4505 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 24 May 2012 13:43:35 +0000 |
parents | c553d4fa3957 |
children | 2f922be407ea |
comparison
equal
deleted
inserted
replaced
2765:79f6d0802b06 | 2766:7dc4681a2bed |
---|---|
156 | 156 |
157 String name = getName(); | 157 String name = getName(); |
158 logger.debug("Set initial state for artifact '" + name + "'"); | 158 logger.debug("Set initial state for artifact '" + name + "'"); |
159 | 159 |
160 if (states == null) { | 160 if (states == null) { |
161 logger.error("No states found from which a state could be picked."); | 161 logger.error("No states found from which an initial " |
162 + "state could be picked."); | |
162 } | 163 } |
163 setCurrentState(states.get(0)); | 164 setCurrentState(states.get(0)); |
164 | 165 |
165 String model = XMLUtils.xpathString( | 166 String model = XMLUtils.xpathString( |
166 data, | 167 data, |
1176 * Method to dump the artifacts state/data. | 1177 * Method to dump the artifacts state/data. |
1177 */ | 1178 */ |
1178 protected void dumpArtifact() { | 1179 protected void dumpArtifact() { |
1179 if (logger.isDebugEnabled()) { | 1180 if (logger.isDebugEnabled()) { |
1180 logger.debug("++++++++++++++ DUMP ARTIFACT DATA +++++++++++++++++"); | 1181 logger.debug("++++++++++++++ DUMP ARTIFACT DATA +++++++++++++++++"); |
1182 // Include uuid, type, name | |
1181 | 1183 |
1182 logger.debug("------ DUMP DATA ------"); | 1184 logger.debug("------ DUMP DATA ------"); |
1183 Collection<StateData> allData = data.values(); | 1185 Collection<StateData> allData = data.values(); |
1184 | 1186 |
1185 for (StateData d: allData) { | 1187 for (StateData d: allData) { |