Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/ManagedDomFacet.java @ 1813:b3a67d946568
Fix bug where wrong attribute was set.
flys-artifacts/trunk@3142 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 02 Nov 2011 12:15:58 +0000 |
parents | a70e0cbc5e02 |
children | 5642a83420f2 |
comparison
equal
deleted
inserted
replaced
1812:dd084cf3f284 | 1813:b3a67d946568 |
---|---|
121 public void setActive(int active) { | 121 public void setActive(int active) { |
122 this.active = active; | 122 this.active = active; |
123 | 123 |
124 facet.setAttributeNS( | 124 facet.setAttributeNS( |
125 ArtifactNamespaceContext.NAMESPACE_URI, | 125 ArtifactNamespaceContext.NAMESPACE_URI, |
126 "active", | 126 "art:active", |
127 String.valueOf(active)); | 127 String.valueOf(active)); |
128 } | 128 } |
129 | 129 |
130 | 130 |
131 @Override | 131 @Override |
165 | 165 |
166 return this.uuid; | 166 return this.uuid; |
167 } | 167 } |
168 | 168 |
169 | 169 |
170 /** | |
171 * Import into document. | |
172 * @param doc Document to be imported to. | |
173 */ | |
170 @Override | 174 @Override |
171 public Node toXML(Document doc) { | 175 public Node toXML(Document doc) { |
172 return doc.importNode(facet, true); | 176 return doc.importNode(facet, true); |
173 } | 177 } |
174 } | 178 } |