Statistics
| Revision:

svn-gvsig-desktop / branches / v2_0_0_prep / libraries / libFMap_data / src / org / gvsig / fmap / data / DataSet.java @ 24393

History | View | Annotate | Download (715 Bytes)

1
package org.gvsig.fmap.data;
2

    
3
import org.gvsig.tools.visitor.Visitable;
4

    
5
/**
6
 * <p> Interface that represents  a group of data elements 
7
 * (similar to a RecordSet of JDBC). It`s used in a generic way 
8
 * as a set of elements, regardless if it is the result of a data 
9
 * query, a user selection or a collection of locked elements.</p>
10
 */
11
public interface DataSet extends Visitable {
12
        
13
        /**
14
         * Frees this DataSet resources
15
         */
16
        public void dispose();
17
        
18
        /**
19
         * Indicates whether this DataSet belongs to a specific store
20
         * @param store 
21
         *                         a DataStore   
22
         * @return true if this belongs to the given DataStore, false if not.
23
         */
24
        public boolean isFromStore(DataStore store);
25

    
26
}