Mercurial > dive4elements > gnv-client
diff gnv/src/main/java/de/intevation/gnv/artifactdatabase/objects/map/MapService.java @ 690:254f062e334b
Added JavaDoc.
gnv/trunk@908 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 12 Apr 2010 16:45:16 +0000 |
parents | 57fa8019fbdc |
children | 89ade245ca7a |
line wrap: on
line diff
--- a/gnv/src/main/java/de/intevation/gnv/artifactdatabase/objects/map/MapService.java Mon Apr 12 10:56:55 2010 +0000 +++ b/gnv/src/main/java/de/intevation/gnv/artifactdatabase/objects/map/MapService.java Mon Apr 12 16:45:16 2010 +0000 @@ -3,18 +3,41 @@ import java.util.Collection; /** + * This interface defines some basic methods to provide information about a map + * service. + * * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> - * */ public interface MapService { - + /** + * Retrieves the id of a map service. + * + * @return the id of a map service. + */ String getID(); + + /** + * Retrieves the URL of a map service. + * + * @return the URL of a map service. + */ String getURL(); + + /** + * Retrieves the type of a map service. + * + * @return the type of a map service. + */ String getType(); + /** + * Retrieves the layers served by a map service. + * + * @return the layers served by a map service. + */ Collection<Layer> getLayer(); - } +// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : \ No newline at end of file