comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java @ 1190:f514894ec2fd

merged flys-artifacts/2.5
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 28 Sep 2012 12:14:17 +0200
parents c8c753931514
children 1636686070f7
comparison
equal deleted inserted replaced
917:b48c36076e17 1190:f514894ec2fd
1 package de.intevation.flys.artifacts.model;
2
3
4 public class LayerInfo {
5
6 protected String name;
7 protected String type;
8 protected String directory;
9 protected String data;
10 protected String group;
11 protected String groupTitle;
12 protected String title;
13
14
15 public LayerInfo(
16 String name,
17 String type,
18 String directory,
19 String data,
20 String title)
21 {
22 this(name, type, directory, data, title, null, null);
23 }
24
25
26 public LayerInfo(
27 String name,
28 String type,
29 String directory,
30 String data,
31 String title,
32 String group,
33 String groupTitle
34 ) {
35 this.name = name;
36 this.type = type;
37 this.directory = directory;
38 this.data = data;
39 this.group = group;
40 this.groupTitle = groupTitle;
41 this.title = title;
42 }
43
44
45 public String getName() {
46 return name;
47 }
48
49
50 public String getType() {
51 return type;
52 }
53
54
55 public String getDirectory() {
56 return directory;
57 }
58
59
60 public String getData() {
61 return data;
62 }
63
64
65 public String getGroup() {
66 return group;
67 }
68
69
70 public String getGroupTitle() {
71 return groupTitle;
72 }
73
74
75 public String getTitle() {
76 return title;
77 }
78
79
80 public String getStyle() {
81 // TODO IMPLEMENT ME
82 // The style of a layer depends on the theme that might be configured
83 // by the user (stored in the attribute of the CollectionItem).
84 return null;
85 }
86 }
87 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org