comparison artifacts/src/main/java/org/dive4elements/river/themes/ThemeField.java @ 5838:5aa05a7a34b7

Rename modules to more fitting names.
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 25 Apr 2013 15:23:37 +0200
parents flys-artifacts/src/main/java/org/dive4elements/river/themes/ThemeField.java@bd047b71ab37
children 4897a58c8746
comparison
equal deleted inserted replaced
5837:d9901a08d0a6 5838:5aa05a7a34b7
1 package org.dive4elements.river.themes;
2
3 import org.w3c.dom.Document;
4
5
6 /**
7 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
8 */
9 public interface ThemeField {
10
11 /**
12 * Returns the name of this field.
13 *
14 * @return the name of this field.
15 */
16 String getName();
17
18 /**
19 * Returns the type of this field.
20 *
21 * @return the type of this field.
22 */
23 String getType();
24
25
26 /**
27 * Returns the value of this field.
28 *
29 * @return the value of this field.
30 */
31 Object getValue();
32
33
34 /**
35 * Changes the value of this field.
36 *
37 * @param value The new value.
38 */
39 void setValue(Object value);
40
41
42 /**
43 * Sets the value of an attribute.
44 *
45 * @param name The name of an attribute.
46 * @param value The value of an attribute.
47 */
48 void setAttribute(String name, Object value);
49
50
51 /**
52 * Dumps the field to XML.
53 *
54 * @return a document.
55 */
56 Document toXML();
57 }
58 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org