ingo@1022: /* ingo@1022: * Copyright (c) 2010 by Intevation GmbH ingo@1022: * ingo@1022: * This program is free software under the LGPL (>=v2.1) ingo@1022: * Read the file LGPL.txt coming with the software for details ingo@1022: * or visit http://www.gnu.org/licenses/ if it does not exist. ingo@1022: */ ingo@1022: tim@402: package de.intevation.gnv.artifactdatabase.objects.map; sascha@683: tim@402: /** ingo@690: * This interface defines some basic methods providing information about a map ingo@690: * layer. sascha@699: * sascha@684: * @author Tim Englich tim@402: */ tim@402: public interface Layer { sascha@681: ingo@690: /** ingo@690: * Retrieves the name of a layer. ingo@690: * ingo@690: * @return the name of a layer. ingo@690: */ tim@402: String getName(); ingo@690: ingo@690: /** ingo@690: * Retrieves the id of a layer. ingo@690: * ingo@690: * @return the id of a layer. ingo@690: */ tim@402: String getID(); ingo@690: ingo@690: /** ingo@690: * Retrieves true, if this layer is a group layer - otherwise false. ingo@690: * ingo@690: * @return true, if this layer is a group layer - otherwise false. ingo@690: */ tim@402: boolean isGroupLayer(); ingo@690: ingo@690: /** ingo@690: * Retrieves the id of the parent layer. ingo@690: * ingo@690: * @return the id of the parent layer. ingo@690: */ tim@402: String parentID(); tim@402: } sascha@700: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :