Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java @ 1134:bcf70a452646
Read barrier layers from filesystem while mapfile creation and build a facet for this layer in the artifact.
flys-artifacts/trunk@2654 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 06 Sep 2011 15:25:54 +0000 |
parents | da3c3e286c88 |
children | c8c753931514 |
comparison
equal
deleted
inserted
replaced
1133:e011f8c6e5e8 | 1134:bcf70a452646 |
---|---|
1 package de.intevation.flys.artifacts.model; | 1 package de.intevation.flys.artifacts.model; |
2 | |
3 import java.io.File; | |
4 | 2 |
5 | 3 |
6 public class LayerInfo { | 4 public class LayerInfo { |
7 | 5 |
6 protected String name; | |
7 protected String type; | |
8 protected String directory; | |
8 protected String data; | 9 protected String data; |
9 | 10 protected String group; |
10 protected String type; | 11 protected String groupTitle; |
11 protected String identifier; | |
12 protected String title; | 12 protected String title; |
13 | 13 |
14 | 14 |
15 public LayerInfo(File data, String type, String identifier, String title) { | 15 public LayerInfo( |
16 this.data = data.getName(); | 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; | |
17 this.type = type; | 36 this.type = type; |
18 this.identifier = identifier; | 37 this.directory = directory; |
38 this.data = data; | |
39 this.group = group; | |
40 this.groupTitle = groupTitle; | |
19 this.title = title; | 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; | |
20 } | 57 } |
21 | 58 |
22 | 59 |
23 public String getData() { | 60 public String getData() { |
24 return data; | 61 return data; |
25 } | 62 } |
26 | 63 |
27 | 64 |
28 public String getType() { | 65 public String getGroup() { |
29 return type; | 66 return group; |
30 } | 67 } |
31 | 68 |
32 | 69 |
33 public String getIdentifier() { | 70 public String getGroupTitle() { |
34 return identifier; | 71 return groupTitle; |
35 } | 72 } |
36 | 73 |
37 | 74 |
38 public String getTitle() { | 75 public String getTitle() { |
39 return title; | 76 return title; |