org.deegree.ogcwebservices.wms.configuration
Class DatabaseDataSource
java.lang.Object
org.deegree.ogcwebservices.wms.configuration.AbstractDataSource
org.deegree.ogcwebservices.wms.configuration.DatabaseDataSource
public class DatabaseDataSource
- extends AbstractDataSource
- Version:
- $Revision: 6251 $, $Date: 2007-03-19 16:59:28 +0100 (Mo, 19 Mrz 2007) $
- Author:
- Andreas Poth, last edited by: $Author: poth $
Constructor Summary |
DatabaseDataSource(boolean queryable,
boolean failOnException,
QualifiedName name,
ScaleHint scaleHint,
Geometry validArea,
int reqTimeLimit,
JDBCConnection jdbc,
java.lang.String sqlTemplate,
java.lang.String geomeryField,
CoordinateSystem nativeCRS)
|
DatabaseDataSource(boolean queryable,
boolean failOnException,
QualifiedName name,
ScaleHint scaleHint,
Geometry validArea,
int reqTimeLimit,
JDBCConnection jdbc,
java.lang.String sqlTemplate,
java.lang.String geometryField,
CoordinateSystem nativeCRS,
boolean customSQL)
|
DatabaseDataSource(boolean queryable,
boolean failOnException,
QualifiedName name,
ScaleHint scaleHint,
Geometry validArea,
int reqTimeLimit,
JDBCConnection jdbc,
java.lang.String sqlTemplate,
java.lang.String geomeryField,
CoordinateSystem nativeCRS,
boolean customSQL,
java.util.Map<java.lang.String,java.lang.String> dimProps)
|
Methods inherited from class org.deegree.ogcwebservices.wms.configuration.AbstractDataSource |
getCapabilitiesURL, getDimProps, getFeatureInfoTransform, getFeatureInfoURL, getName, getRequestTimeLimit, getScaleHint, getType, getValidArea, isFailOnException, isQueryable, setFeatureInfoURL, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DatabaseDataSource
public DatabaseDataSource(boolean queryable,
boolean failOnException,
QualifiedName name,
ScaleHint scaleHint,
Geometry validArea,
int reqTimeLimit,
JDBCConnection jdbc,
java.lang.String sqlTemplate,
java.lang.String geomeryField,
CoordinateSystem nativeCRS)
- Parameters:
queryable
- failOnException
- name
- scaleHint
- validArea
- reqTimeLimit
- jdbc
- sqlTemplate
- geomeryField
- nativeCRS
-
DatabaseDataSource
public DatabaseDataSource(boolean queryable,
boolean failOnException,
QualifiedName name,
ScaleHint scaleHint,
Geometry validArea,
int reqTimeLimit,
JDBCConnection jdbc,
java.lang.String sqlTemplate,
java.lang.String geometryField,
CoordinateSystem nativeCRS,
boolean customSQL)
- Parameters:
queryable
- failOnException
- name
- scaleHint
- validArea
- reqTimeLimit
- jdbc
- sqlTemplate
- geometryField
- nativeCRS
- customSQL
-
DatabaseDataSource
public DatabaseDataSource(boolean queryable,
boolean failOnException,
QualifiedName name,
ScaleHint scaleHint,
Geometry validArea,
int reqTimeLimit,
JDBCConnection jdbc,
java.lang.String sqlTemplate,
java.lang.String geomeryField,
CoordinateSystem nativeCRS,
boolean customSQL,
java.util.Map<java.lang.String,java.lang.String> dimProps)
- Parameters:
queryable
- failOnException
- name
- scaleHint
- validArea
- reqTimeLimit
- jdbc
- sqlTemplate
- geomeryField
- nativeCRS
- customSQL
- dimProps
-
getOGCWebService
public OGCWebService getOGCWebService()
throws OGCWebServiceException
- Specified by:
getOGCWebService
in class AbstractDataSource
- Returns:
- an instance of the OGCWebService that represents the datasource. Notice: if more than one layer
uses data that are offered by the same OWS the deegree WMS shall just use one instance for accessing the
OWS
- Throws:
OGCWebServiceException
getJDBCConnection
public JDBCConnection getJDBCConnection()
- Returns:
- database connection description
getGeometryFieldName
public java.lang.String getGeometryFieldName()
- Returns:
- the geomeryField
getSqlTemplate
public java.lang.String getSqlTemplate()
- Returns:
- the sqlTemplate
getNativeCRS
public CoordinateSystem getNativeCRS()
- Returns:
- the nativeCRS
isCustomSQLAllowed
public boolean isCustomSQLAllowed()
- Returns:
- true, if sending custom SQL templates is allowed
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org