Mercurial > dive4elements > river
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java Fri Sep 28 12:14:17 2012 +0200 @@ -0,0 +1,87 @@ +package de.intevation.flys.artifacts.model; + + +public class LayerInfo { + + protected String name; + protected String type; + protected String directory; + protected String data; + protected String group; + protected String groupTitle; + protected String title; + + + public LayerInfo( + String name, + String type, + String directory, + String data, + String title) + { + this(name, type, directory, data, title, null, null); + } + + + public LayerInfo( + String name, + String type, + String directory, + String data, + String title, + String group, + String groupTitle + ) { + this.name = name; + this.type = type; + this.directory = directory; + this.data = data; + this.group = group; + this.groupTitle = groupTitle; + this.title = title; + } + + + public String getName() { + return name; + } + + + public String getType() { + return type; + } + + + public String getDirectory() { + return directory; + } + + + public String getData() { + return data; + } + + + public String getGroup() { + return group; + } + + + public String getGroupTitle() { + return groupTitle; + } + + + public String getTitle() { + return title; + } + + + public String getStyle() { + // TODO IMPLEMENT ME + // The style of a layer depends on the theme that might be configured + // by the user (stored in the attribute of the CollectionItem). + return null; + } +} +// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :