|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgistoolkit.datasources.SimpleDataSource
gistoolkit.datasources.SimpleDBDataSource
proprietary.datasources.arcsde.ArcSDEDataSource
Retrieves data from an ArcSDEDataSource.
Field Summary |
Fields inherited from class gistoolkit.datasources.SimpleDataSource |
|
Constructor Summary | |
ArcSDEDataSource()
Creates new ArcSDEDataSource |
Method Summary | |
void |
connect()
Connect to the datasource to ensure that it is operational |
java.lang.String |
getDatabaseName()
Retrieve the name of the database with which to connect |
double |
getMaxX()
Get the maximum X value to be sent to the database. |
double |
getMaxY()
Get the maximum Y value to be sent to the database. |
double |
getMinX()
Get the minimum X value to be sent to the database. |
double |
getMinY()
Get the minimum X value to be sent to the database. |
Node |
getNode()
Get the configuration information for this data source |
java.lang.String |
getPassword()
Retrieve the password of the user to use for verification when connecting to the database |
int |
getPortNumber()
Retrieve the port number where the ARCSDE service is listening |
java.lang.String |
getServername()
Retrieve the name of the server where the SDE process is running |
Style |
getStyle()
Get the style to use with this datasource. |
java.lang.String |
getTableName()
Retrieve the name of the table where the data for this data source is stored |
java.lang.String |
getUsername()
Retrieve the username to use when connecting to the SDE database |
void |
load(java.util.Properties inProperties)
Initialize the data source from the properties. |
static void |
main(java.lang.String[] arg)
|
Envelope |
readEnvelope()
Returns the bounding rectangle of all the shapes in the Data Source. |
protected GISDataset |
readShapes(Envelope inEnvelope)
Reads all the objects from the shape file, and populates the layer with them. |
void |
setDatabaseName(java.lang.String inDatabaseName)
Set the name of the database with which to connect. |
void |
setMaxX(double inMaxX)
Set the maximum X value to be sent to the database. |
void |
setMaxY(double inMaxY)
Set the maximum X value to be sent to the database. |
void |
setMinX(double inMinX)
Set the minimum X value to be sent to the database. |
void |
setMinY(double inMinY)
Set the minimum Y value to be sent to the database. |
void |
setNode(Node inNode)
Set the configuration information for this data source |
void |
setPassword(java.lang.String inPassword)
Set the password of the user to verify for connection to the database |
void |
setPortNumber(int inPortNumber)
Set the port number where the ARCSDE service is listening |
void |
setServername(java.lang.String inServername)
Set the name of the server where the SDE processes is running |
void |
setTableName(java.lang.String inTableName)
Set the name of the table where the data for this data source is stored |
void |
setUsername(java.lang.String inUsername)
Set the username to use when verifying the connection to the database |
Methods inherited from class gistoolkit.datasources.SimpleDBDataSource |
getFilter, getFilterSQL, getSQLConverter, setFilter |
Methods inherited from class gistoolkit.datasources.SimpleDataSource |
addDataSourceListener, clearCache, commit, delete, doCommit, doDelete, doInsert, doRollback, doUpdate, filterDataset, fireCommit, fireDelete, fireInsert, fireRead, fireRollBack, fireUpdate, getCached, getCacheDataset, getCacheEnvelope, getEnvelope, getFromProjection, getName, getToProjection, getValidShapeTypes, insert, isCachedProjected, isUpdateable, projectBackward, projectForward, queryFromCache, readDataset, readDataset, removeDataSourceListener, rollback, setCache, setCached, setFromProjection, setName, setProjection, setToProjection, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ArcSDEDataSource()
Method Detail |
public void setServername(java.lang.String inServername)
public java.lang.String getServername()
public void setPortNumber(int inPortNumber)
public int getPortNumber()
public void setDatabaseName(java.lang.String inDatabaseName)
public java.lang.String getDatabaseName()
public void setTableName(java.lang.String inTableName)
public java.lang.String getTableName()
public void setUsername(java.lang.String inUsername)
public java.lang.String getUsername()
public void setPassword(java.lang.String inPassword)
public java.lang.String getPassword()
public void setMinX(double inMinX)
public double getMinX()
public void setMaxX(double inMaxX)
public double getMaxX()
public void setMinY(double inMinY)
public double getMinY()
public void setMaxY(double inMaxY)
public double getMaxY()
public void connect() throws java.lang.Exception
java.lang.Exception
public Envelope readEnvelope() throws java.lang.Exception
readEnvelope
in class SimpleDataSource
java.lang.Exception
protected GISDataset readShapes(Envelope inEnvelope) throws java.lang.Exception
readShapes
in class SimpleDataSource
java.lang.Exception
public void load(java.util.Properties inProperties)
public Node getNode()
getNode
in interface DataSource
getNode
in class SimpleDataSource
public void setNode(Node inNode) throws java.lang.Exception
setNode
in interface DataSource
setNode
in class SimpleDataSource
java.lang.Exception
public static void main(java.lang.String[] arg)
public Style getStyle()
getStyle
in interface DataSource
getStyle
in class SimpleDataSource
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |