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;
tim@402:
tim@402: import java.util.Collection;
tim@402:
tim@402: /**
ingo@690: * This interface defines some basic methods to provide information about a map
ingo@690: * service.
ingo@690: *
sascha@684: * @author Tim Englich
tim@402: */
tim@402: public interface MapService {
sascha@681:
ingo@690: /**
ingo@690: * Retrieves the id of a map service.
ingo@690: *
ingo@690: * @return the id of a map service.
ingo@690: */
tim@402: String getID();
sascha@681:
ingo@690:
ingo@690: /**
ingo@690: * Retrieves the URL of a map service.
ingo@690: *
ingo@690: * @return the URL of a map service.
ingo@690: */
tim@402: String getURL();
sascha@681:
ingo@690:
ingo@690: /**
ingo@690: * Retrieves the type of a map service.
ingo@690: *
ingo@690: * @return the type of a map service.
ingo@690: */
tim@402: String getType();
sascha@681:
ingo@690: /**
ingo@690: * Retrieves the layers served by a map service.
ingo@690: *
ingo@690: * @return the layers served by a map service.
ingo@690: */
tim@402: Collection getLayer();
tim@984:
tim@984: /**
tim@984: * Retrieves the bboxvalue served by a map service.
tim@984: * @return the bboxvalue
tim@984: */
tim@984: String getBBoxValue ();
tim@994:
tim@994: /**
tim@994: * Returns the Time until the Service will provide the Data.
tim@994: * @return the Time until the Service will provide the Data.
tim@994: */
tim@994: String getTtl();
tim@402: }
sascha@700: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :