01: /*
02: * GeoTools - OpenSource mapping toolkit
03: * http://geotools.org
04: * (C) 2002-2006, GeoTools Project Managment Committee (PMC)
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License as published by the Free Software Foundation;
09: * version 2.1 of the License.
10: *
11: * This library is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14: * Lesser General Public License for more details.
15: */
16: package org.geotools.data;
17:
18: import java.util.Collection;
19: import org.opengis.filter.Filter;
20:
21: /**
22: * A read-write store for geospatial information.
23: *
24: * <p>
25: * First draft of a Store interface based on brain storming session with Jody, Thomas,
26: * Stefan and Cory in Refractions on November 24th. It has since been reviewed by Jesse who
27: * contributed the connection information messages.
28: * </p>
29: *
30: * <p>The basic idea is to have simple, general interface to access and query data that is in some way or
31: * another spatially enabled. And we don't want the restriction to {@link org.geotools.feature.Feature},
32: * {@link org.geotools.feature.FeatureType}, {@link org.geotools.data.FeatureSource}, etc. as we have right
33: * now in {@link org.geotools.data.DataStore}.</p>
34: * </i>
35: *
36: * <code>Store</code> extends the <code>Source</code> interfaces with writing capabilities.
37: *
38: * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/unsupported/community-schemas/community-schema-ds/src/main/java/org/geotools/data/Store.java $
39: * @version $Id: Store.java 26609 2007-08-20 15:29:33Z groldan $
40: * @since 2.4
41: * @deprecated This is a Proposal, we need your feedback!
42: * @author Jody Garnett, Refractions Research Inc.
43: */
44: public interface Store extends Source {
45: /** Read/Write access to GridCoverage */
46: public Collection modifiableContent();
47:
48: /** Read/Write access to GridCoverage */
49: public Collection modifiableContent(Filter filter);
50:
51: /** Read/Write access to GridCoverage */
52: public Collection modifiableContent(String filter,
53: String queryLanguage);
54: }
|