Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/de/intevation/artifactdatabase/state/Attribute.java @ 360:c065a1a90ba0
Modified the Attribute interface and added a default implementation of Attribute.
artifacts/trunk@3417 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 14 Dec 2011 14:03:28 +0000 |
parents | 03a8f9796571 |
children |
comparison
equal
deleted
inserted
replaced
359:f93edbfcf2bc | 360:c065a1a90ba0 |
---|---|
23 * @return the value of this Attribute. | 23 * @return the value of this Attribute. |
24 */ | 24 */ |
25 Object getValue(); | 25 Object getValue(); |
26 | 26 |
27 /** | 27 /** |
28 * Sets the value of this Attribute. | |
29 * | |
30 * @param value The new value. | |
31 */ | |
32 void setValue(Object value); | |
33 | |
34 /** | |
28 * Transforms this Attribute into XML. | 35 * Transforms this Attribute into XML. |
29 * | 36 * |
30 * @param parent The parent node. | 37 * @param parent The parent node. |
38 * | |
39 * @return the Node that represents this Attribute. | |
31 */ | 40 */ |
32 void toXML(Node parent); | 41 Node toXML(Node parent); |
33 } | 42 } |
34 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : | 43 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : |