Statistics
| Revision:

gvsig-scripting / org.gvsig.scripting / trunk / org.gvsig.scripting / org.gvsig.scripting.app / org.gvsig.scripting.app.mainplugin / src / main / resources-plugin / scripting / lib / javadocs / scripting / dal / FeatureStore.java @ 487

History | View | Annotate | Download (1.27 KB)

1
 
2
package scripting.dal;
3

    
4

    
5
import java.util.Iterator;
6
import org.gvsig.fmap.dal.feature.Feature;
7
import org.gvsig.fmap.dal.feature.FeatureSet;
8
import org.gvsig.fmap.dal.feature.FeatureType;
9

    
10

    
11
public interface FeatureStore extends org.gvsig.fmap.dal.feature.FeatureStore { 
12

    
13
    /**
14
     * 
15
     * @return 
16
     */
17
    public FeatureType getSchema();
18

    
19
    /**
20
     * 
21
     * @param filterExpresion, optional
22
     * @param sortby, optional
23
     * @param asc, optional
24
     * @return 
25
     */
26
    public FeatureSet features(String filterExpresion, String sortby, boolean asc) ;
27

    
28
    /**
29
     * 
30
     * @return 
31
     */
32
    public Iterator<Feature> __iter__();
33

    
34
    /**
35
     * 
36
     * @return 
37
     */
38
    public int __len__();
39

    
40
    /**
41
     * 
42
     */
43
    public void append(...) ;
44

    
45
    /**
46
     * 
47
     * @param feature 
48
     */
49
    public void update(Feature feature);
50

    
51
    /**
52
     * 
53
     */
54
    public void edit();
55

    
56
    /**
57
     * 
58
     */
59
    public void commit();
60

    
61
    /**
62
     * 
63
     */
64
    public void abort();
65

    
66
  /**
67
   * Returns the java object associated to this python object. 
68
   * With the current implementation this is not necessary, don't
69
   * use now python wrappers for java objects.
70
   *
71
   * @deprecated this method now return self alwais.
72
   *
73
   */
74
  public Object __call__() ;
75

    
76
}