Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/StyleSetting.java @ 1285:0f3b19df1880
Added new service and model for collection item attributes.
flys-client/trunk@2871 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 30 Sep 2011 10:57:56 +0000 |
parents | |
children | 92074508a387 |
comparison
equal
deleted
inserted
replaced
1284:cdb1505a32f1 | 1285:0f3b19df1880 |
---|---|
1 package de.intevation.flys.client.shared.model; | |
2 | |
3 import java.io.Serializable; | |
4 | |
5 | |
6 /** | |
7 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a> | |
8 */ | |
9 public class StyleSetting implements Serializable { | |
10 | |
11 /**The settings name.*/ | |
12 protected String name; | |
13 | |
14 /** The default value.*/ | |
15 protected String defaultValue; | |
16 | |
17 /**The display name*/ | |
18 protected String displayName; | |
19 | |
20 /**Hints.*/ | |
21 protected String hints; | |
22 | |
23 /**The type*/ | |
24 protected String type; | |
25 | |
26 public StyleSetting() { | |
27 } | |
28 | |
29 public StyleSetting( | |
30 String name, | |
31 String defaultValue, | |
32 String displayName, | |
33 String hints, | |
34 String type) | |
35 { | |
36 this.name = name; | |
37 this.defaultValue = defaultValue; | |
38 this.displayName = displayName; | |
39 this.hints = hints; | |
40 this.type = type; | |
41 } | |
42 | |
43 public void setName(String name) { | |
44 this.name = name; | |
45 } | |
46 | |
47 public void setDefaultValue(String value) { | |
48 this.defaultValue = value; | |
49 } | |
50 | |
51 public void setDisplayName(String name) { | |
52 this.displayName = name; | |
53 } | |
54 | |
55 public void setHints(String hints) { | |
56 this.hints = hints; | |
57 } | |
58 | |
59 public void setType(String type) { | |
60 this.type = type; | |
61 } | |
62 | |
63 public String getName() { | |
64 return this.name; | |
65 } | |
66 | |
67 public String getDefaultValue() { | |
68 return this.defaultValue; | |
69 } | |
70 | |
71 public String getDisplayName() { | |
72 return this.displayName; | |
73 } | |
74 | |
75 public String getHints() { | |
76 return this.hints; | |
77 } | |
78 | |
79 public String getType() { | |
80 return this.type; | |
81 } | |
82 } | |
83 | |
84 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |