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 / project / Project.java @ 487

History | View | Annotate | Download (1.26 KB)

1
package scripting.dal;
2

    
3
import java.util.Iterator;
4
import org.gvsig.app.project.documents.Document;
5
import org.gvsig.app.project.documents.table.TableDocument;
6
import org.gvsig.app.project.documents.view.ViewDocument;
7

    
8
/**
9
 *
10
 *
11
 */
12
public interface Project extends org.gvsig.app.project.Project {
13

    
14
    /**
15
     * Returns the java object associated to this python object. With the
16
     * current implementation this is not necessary, don't use now python
17
     * wrappers for java objects.
18
     *
19
     * @return
20
     * @deprecated this method now return self alwais.
21
     *
22
     */
23
    public Object __call__();
24

    
25
    /**
26
     *
27
     * @return
28
     */
29
    public Iterator<Document> __iter__();
30

    
31
    /**
32
     *
33
     * @return
34
     */
35
    public int __len__();
36

    
37
    /**
38
     * 
39
     * @param index
40
     * @return 
41
     */
42
    public Document __getitem__(int index);
43
    
44
    /**
45
     * 
46
     * @param name, name of the view to retrieve, is optional
47
     *   if name is not passed, return te current view.
48
     * 
49
     * @return 
50
     */
51
    public ViewDocument getView(String name);
52

    
53
    /**
54
     * 
55
     * @param name, optional
56
     * @return 
57
     */
58
    public  TableDocument getTable(String name);
59
    
60
    /**
61
     * 
62
     * @return 
63
     */
64
    public String getProjectionCode();
65
    
66
}