All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nl.pdok.workspacebuilder.model.layer.Layer Maven / Gradle / Ivy

The newest version!
package nl.pdok.workspacebuilder.model.layer;

import java.util.ArrayList;
import java.util.List;

import org.apache.commons.lang.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import nl.pdok.catalogus.Catalogus;
import nl.pdok.workspacebuilder.GeoserverRestProxy;
import nl.pdok.workspacebuilder.PdokBuilder;
import nl.pdok.workspacebuilder.model.Service;
import nl.pdok.workspacebuilder.model.Style;

/**
 * Created with IntelliJ IDEA. User: nijhur Date: 4-3-14 Time: 14:43 To change
 * this template use File | Settings | File Templates.
 */
public abstract class Layer {

	final static Logger logger = LoggerFactory.getLogger(PdokBuilder.class);

	public enum Type {
		MOSAIC, RASTER, GROUP, DB
	}

	private Type type;
	private String name;

	private String nativeName;
	private String title;
	private String abstractText;
	private String authorityId;
	protected String datastoreName;
	private String wmspath;
	private String metadataId;

	protected Style defaultStyle;
	protected List