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,
                                     String sqlTemplate,
                                     String geomeryField,
                                     CoordinateSystem nativeCRS)
 
            | 
DatabaseDataSource(boolean queryable,
                                     boolean failOnException,
                                     QualifiedName name,
                                     ScaleHint scaleHint,
                                     Geometry validArea,
                                     int reqTimeLimit,
                                     JDBCConnection jdbc,
                                     String sqlTemplate,
                                     String geometryField,
                                     CoordinateSystem nativeCRS,
                                     boolean customSQL)
 
            | 
DatabaseDataSource(boolean queryable,
                                     boolean failOnException,
                                     QualifiedName name,
                                     ScaleHint scaleHint,
                                     Geometry validArea,
                                     int reqTimeLimit,
                                     JDBCConnection jdbc,
                                     String sqlTemplate,
                                     String geomeryField,
                                     CoordinateSystem nativeCRS,
                                     boolean customSQL,
                                     Map<String,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 | 
 
 
DatabaseDataSource
public DatabaseDataSource(boolean queryable,
                          boolean failOnException,
                          QualifiedName name,
                          ScaleHint scaleHint,
                          Geometry validArea,
                          int reqTimeLimit,
                          JDBCConnection jdbc,
                          String sqlTemplate,
                          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,
                          String sqlTemplate,
                          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,
                          String sqlTemplate,
                          String geomeryField,
                          CoordinateSystem nativeCRS,
                          boolean customSQL,
                          Map<String,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 String getGeometryFieldName()
- Returns:
 - the geomeryField
 
 
getSqlTemplate
public 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