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 / gvsig / javadocs / scripting / project / Project.java @ 735

History | View | Annotate | Download (1.21 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
 * Esta clase representa a un proyecto de gvSIG.
10
 *
11
 * Puede encontrar un modelo simplificado de objetos en el que
12
 * se representa el proyecto y las clases relacionadas con el en
13
 * <a href="../doc-files/simplified-object-model.html">Modelo simplificado de objetos</a>
14
 *
15
 */
16
public interface Project extends org.gvsig.app.project.Project {
17

    
18
    /**
19
     *
20
     * @return
21
     */
22
    public Iterator<Document> __iter__();
23

    
24
    /**
25
     *
26
     * @return
27
     */
28
    public int __len__();
29

    
30
    /**
31
     * 
32
     * @param index
33
     * @return 
34
     */
35
    public Document __getitem__(int index);
36
    
37
    /**
38
     * 
39
     * @param name, name of the view to retrieve, is optional
40
     *   if name is not passed, return te current view.
41
     * 
42
     * @return 
43
     */
44
    public ViewDocument getView(String name);
45

    
46
    /**
47
     * 
48
     * @param name, optional
49
     * @return 
50
     */
51
    public  TableDocument getTable(String name);
52
    
53
    /**
54
     * 
55
     * @return 
56
     */
57
    public String getProjectionCode();
58
    
59
}