Revision 4740 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/drivers/DBLayerDefinition.java
DBLayerDefinition.java | ||
---|---|---|
44 | 44 |
package com.iver.cit.gvsig.fmap.drivers; |
45 | 45 |
|
46 | 46 |
import java.awt.geom.Rectangle2D; |
47 |
import java.sql.Connection; |
|
47 | 48 |
|
48 | 49 |
public class DBLayerDefinition extends LayerDefinition { |
50 |
private Connection conn; |
|
49 | 51 |
private String catalogName; |
50 | 52 |
private String tableName; |
51 | 53 |
// private String[] fieldNames; // GeometryField not included |
... | ... | |
58 | 60 |
|
59 | 61 |
// private int idFieldGeometry = -1; |
60 | 62 |
private int idFieldID = -1; |
63 |
private int dimension = 2; |
|
61 | 64 |
|
62 | 65 |
public String getCatalogName() { |
63 | 66 |
return catalogName; |
... | ... | |
193 | 196 |
} |
194 | 197 |
return resul; |
195 | 198 |
} |
199 |
public Connection getConnection() { |
|
200 |
return null; |
|
201 |
} |
|
202 |
|
|
203 |
public void setConnection(Connection connection) { |
|
204 |
conn = connection; |
|
205 |
} |
|
206 |
public int getDimension() { |
|
207 |
return dimension; |
|
208 |
} |
|
209 |
|
|
210 |
public void setDimension(int dim) { |
|
211 |
dimension = dim; |
|
212 |
} |
|
213 |
|
|
196 | 214 |
} |
Also available in: Unified diff