Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/org/dive4elements/artifactdatabase/state/Attribute.java @ 473:d0ac790a6c89 dive4elements-move
Moved directories to org.dive4elements
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 25 Apr 2013 10:57:18 +0200 |
parents | artifact-database/src/main/java/de/intevation/artifactdatabase/state/Attribute.java@c065a1a90ba0 |
children | 415df0fc4fa1 |
comparison
equal
deleted
inserted
replaced
472:783cc1b6b615 | 473:d0ac790a6c89 |
---|---|
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 * Sets the value of this Attribute. | |
29 * | |
30 * @param value The new value. | |
31 */ | |
32 void setValue(Object value); | |
33 | |
34 /** | |
35 * Transforms this Attribute into XML. | |
36 * | |
37 * @param parent The parent node. | |
38 * | |
39 * @return the Node that represents this Attribute. | |
40 */ | |
41 Node toXML(Node parent); | |
42 } | |
43 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : |