Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/collections/CollectionAttribute.java @ 4923:5cb8e941da1e
CollectionAttribute: New function to check if out exists.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 31 Jan 2013 09:28:37 +0100 |
parents | c30771dbf1bd |
children |
comparison
equal
deleted
inserted
replaced
4922:c30771dbf1bd | 4923:5cb8e941da1e |
---|---|
168 doc.appendChild(root); | 168 doc.appendChild(root); |
169 | 169 |
170 return doc; | 170 return doc; |
171 } | 171 } |
172 | 172 |
173 /** True if output with outputName is found. */ | |
174 public boolean hasOutput(String outputName) { | |
175 return getOutput(outputName) != null; | |
176 } | |
173 | 177 |
174 public Map<String, Output> getOutputs() { | 178 public Map<String, Output> getOutputs() { |
175 return outputMap; | 179 return outputMap; |
176 } | 180 } |
177 | 181 |