comparison artifact-database/src/main/java/de/intevation/artifactdatabase/state/Attribute.java @ 358:03a8f9796571

Added interfaces for a Settings hierachy currently used for Outputs. artifacts/trunk@3408 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 14 Dec 2011 09:41:44 +0000
parents
children c065a1a90ba0
comparison
equal deleted inserted replaced
357:1d11a0531242 358:03a8f9796571
1 package de.intevation.artifactdatabase.state;
2
3 import java.io.Serializable;
4
5 import org.w3c.dom.Node;
6
7
8 /**
9 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
10 */
11 public interface Attribute extends Serializable {
12
13 /**
14 * Returns the name of this Attribute.
15 *
16 * @return the name of this Attribute.
17 */
18 String getName();
19
20 /**
21 * Returns the value of this Attribute.
22 *
23 * @return the value of this Attribute.
24 */
25 Object getValue();
26
27 /**
28 * Transforms this Attribute into XML.
29 *
30 * @param parent The parent node.
31 */
32 void toXML(Node parent);
33 }
34 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :

http://dive4elements.wald.intevation.org