root / trunk / extensions / extSDE / src / com / iver / cit / gvsig / fmap / drivers / sde / IVectorialSDEDriver.java @ 13444
History | View | Annotate | Download (3.42 KB)
1 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
---|---|
2 |
*
|
3 |
* Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
|
4 |
*
|
5 |
* This program is free software; you can redistribute it and/or
|
6 |
* modify it under the terms of the GNU General Public License
|
7 |
* as published by the Free Software Foundation; either version 2
|
8 |
* of the License, or (at your option) any later version.
|
9 |
*
|
10 |
* This program is distributed in the hope that it will be useful,
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13 |
* GNU General Public License for more details.
|
14 |
*
|
15 |
* You should have received a copy of the GNU General Public License
|
16 |
* along with this program; if not, write to the Free Software
|
17 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
|
18 |
*
|
19 |
* For more information, contact:
|
20 |
*
|
21 |
* Generalitat Valenciana
|
22 |
* Conselleria d'Infraestructures i Transport
|
23 |
* Av. Blasco Ib??ez, 50
|
24 |
* 46010 VALENCIA
|
25 |
* SPAIN
|
26 |
*
|
27 |
* +34 963862235
|
28 |
* gvsig@gva.es
|
29 |
* www.gvsig.gva.es
|
30 |
*
|
31 |
* or
|
32 |
*
|
33 |
* IVER T.I. S.A
|
34 |
* Salamanca 50
|
35 |
* 46005 Valencia
|
36 |
* Spain
|
37 |
*
|
38 |
* +34 963163400
|
39 |
* dac@iver.es
|
40 |
*/
|
41 |
package com.iver.cit.gvsig.fmap.drivers.sde; |
42 |
|
43 |
import java.awt.geom.Rectangle2D; |
44 |
|
45 |
import com.iver.cit.gvsig.fmap.core.IFeature; |
46 |
import com.iver.cit.gvsig.fmap.drivers.DBLayerDefinition; |
47 |
import com.iver.cit.gvsig.fmap.drivers.IFeatureIterator; |
48 |
import com.iver.cit.gvsig.fmap.drivers.IVectorialDatabaseDriver; |
49 |
import com.iver.cit.gvsig.fmap.layers.XMLException; |
50 |
import com.iver.utiles.XMLEntity; |
51 |
|
52 |
|
53 |
/**
|
54 |
* DOCUMENT ME!
|
55 |
*
|
56 |
* @author Vicente Caballero Navarro
|
57 |
*/
|
58 |
public interface IVectorialSDEDriver extends IVectorialDatabaseDriver { |
59 |
//public Connection getConnection();
|
60 |
public IFeatureIterator getFeatureIterator(String sql); |
61 |
|
62 |
//public String getConnectionStringBeginning();
|
63 |
public void open(); |
64 |
|
65 |
/**
|
66 |
* DOCUMENT ME!
|
67 |
*
|
68 |
* @return DOCUMENT ME!
|
69 |
*/
|
70 |
public int getDefaultPort(); |
71 |
|
72 |
/**
|
73 |
* DOCUMENT ME!
|
74 |
*
|
75 |
* @param rect DOCUMENT ME!
|
76 |
*/
|
77 |
public void setWorkingArea(Rectangle2D rect); |
78 |
|
79 |
/**
|
80 |
* DOCUMENT ME!
|
81 |
*
|
82 |
* @return
|
83 |
*/
|
84 |
public Rectangle2D getWorkingArea(); |
85 |
|
86 |
/**
|
87 |
* DOCUMENT ME!
|
88 |
*
|
89 |
* @param _host DOCUMENT ME!
|
90 |
* @param _port DOCUMENT ME!
|
91 |
* @param _db DOCUMENT ME!
|
92 |
* @param _user DOCUMENT ME!
|
93 |
* @param _pw DOCUMENT ME!
|
94 |
*
|
95 |
* @return DOCUMENT ME!
|
96 |
*/
|
97 |
public String getConnectionString(String _host, String _port, String _db, |
98 |
String _user, String _pw); |
99 |
|
100 |
public String getTableName(); |
101 |
|
102 |
public XMLEntity getXMLEntity();
|
103 |
|
104 |
public void setXMLEntity(XMLEntity entity) throws XMLException; |
105 |
|
106 |
public void close(); |
107 |
|
108 |
public int getRowIndexByFID(IFeature feat); |
109 |
|
110 |
public DBLayerDefinition getLyrDef();
|
111 |
|
112 |
public String getWhereClause(); |
113 |
|
114 |
public String[] getFields(); |
115 |
|
116 |
public IFeatureIterator getFeatureIterator(Rectangle2D r, String strEPSG, String[] alphaNumericFieldsNeeded); |
117 |
|
118 |
public IFeatureIterator getFeatureIterator(Rectangle2D r, String strEPSG); |
119 |
|
120 |
// public String[] getTableNames(Object conex, String dbName) throws SQLException;
|
121 |
// public String[] getAllFields(Object conn, String tableName);
|
122 |
// public String[] getAllFieldTypeNames(Object conn, String tableName);
|
123 |
// public String[] getIdFieldsCandidates(Object conn, String tableName);
|
124 |
// public String[] getGeometryFieldsCandidates(Object conn, String tableName);
|
125 |
} |