org.geoserver.catalog.MapInfo Maven / Gradle / Ivy
The newest version!
/* Copyright (c) 2001 - 2008 TOPP - www.openplans.org. All rights reserved.
* This code is licensed under the GPL 2.0 license, available at the root
* application directory.
*/
package org.geoserver.catalog;
import java.util.List;
/**
* A grouping of layers.
*
* @author Justin Deoliveira, The Open Planning Project
*
*/
public interface MapInfo {
String getId();
/**
* The name of the map.
*/
String getName();
/**
* Sets the name of the map.
*/
void setName(String name);
/**
* Flag indicating if the map is enabled.
*/
boolean isEnabled();
/**
* Sets flag indicating if the map is enabled.
*/
void setEnabled( boolean enabled );
/**
* The layers that compose the map.
*/
List getLayers();
}