Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultData.java @ 51:a2923d63f530
Introduced a data structure DataList to manage to list of Data objects of a single state.
flys-client/trunk@1505 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 17 Mar 2011 16:44:51 +0000 |
parents | d573ae975330 |
children | b9127f876a6a |
comparison
equal
deleted
inserted
replaced
50:827eb4e06ebf | 51:a2923d63f530 |
---|---|
19 protected String type; | 19 protected String type; |
20 | 20 |
21 /** The DataItems.*/ | 21 /** The DataItems.*/ |
22 protected DataItem[] items; | 22 protected DataItem[] items; |
23 | 23 |
24 /** The UIProvider that should be used to create UIs. */ | |
25 protected String uiProvider; | |
26 | |
27 | 24 |
28 public DefaultData() { | 25 public DefaultData() { |
29 } | 26 } |
30 | 27 |
31 | 28 |
39 */ | 36 */ |
40 public DefaultData( | 37 public DefaultData( |
41 String label, | 38 String label, |
42 String description, | 39 String description, |
43 String type, | 40 String type, |
44 DataItem[] items, | 41 DataItem[] items) |
45 String uiProvider) | |
46 { | 42 { |
47 this.label = label; | 43 this.label = label; |
48 this.description = description; | 44 this.description = description; |
49 this.type = type; | 45 this.type = type; |
50 this.items = items; | 46 this.items = items; |
51 this.uiProvider = uiProvider; | |
52 } | 47 } |
53 | 48 |
54 | 49 |
55 public String getLabel() { | 50 public String getLabel() { |
56 return label; | 51 return label; |
68 | 63 |
69 | 64 |
70 public DataItem[] getItems() { | 65 public DataItem[] getItems() { |
71 return items; | 66 return items; |
72 } | 67 } |
73 | |
74 | |
75 public String getUIProvider() { | |
76 return uiProvider; | |
77 } | |
78 } | 68 } |
79 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 69 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |