|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vividsolutions.jump.io.datasource.DataSourceQuery
public class DataSourceQuery
A wrapper for a query string that attributes it with the DataSource to apply it against.
| Constructor Summary | |
|---|---|
DataSourceQuery()
Parameterless constructor called by Java2XML |
|
DataSourceQuery(DataSource dataSource,
java.lang.String query,
java.lang.String name)
Constructs a DataSourceQuery that wraps a query string (implementation-dependent) and a DataSource to apply it against. |
|
| Method Summary | |
|---|---|
DataSource |
getDataSource()
Returns the DataSource against which to apply the (implementation-dependent) query string. |
java.lang.String |
getQuery()
Returns the implementation-dependent query string wrapped by this DataSourceQuery |
void |
setDataSource(DataSource dataSource)
Called by Java2XML |
void |
setQuery(java.lang.String query)
Called by Java2XML |
java.lang.String |
toString()
Returns the name of this DataSourceQuery, suitable for use as a layer name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DataSourceQuery(DataSource dataSource,
java.lang.String query,
java.lang.String name)
query - identifies the dataset; may take the form of a SQL statement,
a table name, null (if there is only one dataset), or other
formatname - will be used for the layer namepublic DataSourceQuery()
| Method Detail |
|---|
public DataSource getDataSource()
public java.lang.String getQuery()
public java.lang.String toString()
toString in class java.lang.Objectpublic void setDataSource(DataSource dataSource)
public void setQuery(java.lang.String query)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||