Mercurial > dive4elements > river
view flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/LayerInfo.java @ 1745:4ae7df2a74ed
Fix NPE in WDiff-diagram because no ranges present in masterartifact.
flys-artifacts/trunk@3039 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 19 Oct 2011 16:06:01 +0000 |
parents | c8c753931514 |
children | 1636686070f7 |
line wrap: on
line source
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 :