org.deegree.services.wms.capabilities
Interface DataSource

All Known Implementing Classes:
DataSource_Impl

public interface DataSource

name of the data source where the WMS can find the data of a layer. the FilterServiceName element identifies the filter servive that's responsible for accessing the data.

----------------------------------------------------------------------

Version:
2002-03-01
Author:
Andreas Poth

Field Summary
static int LOCALWCS
           
static int LOCALWFS
           
static int REMOTEWCS
           
static int REMOTEWFS
           
static int REMOTEWMS
           
 
Method Summary
 java.lang.String getGeometryProperty()
          Returns the name of the geometry property in case the datasource is of type LOCALWFS / REMOTEWFS.
 WCSGetCoverageRequest getGetCoverageRequest()
          returns an instance of a WCSGetCoverageRequest encapsulating the filter conditions against a remote WCS.
 WMSGetMapRequest getGetMapRequest()
          returns an instance of a WMSGetMapRequest encapsulating the filter conditions against a remote WMS.
 java.lang.String getName()
          returns the name of the data source.
 OGCWebService getOGCWebService()
          returns an instance of the OGCWebService that represents the datasource.
 WFSQuery getQuery()
          returns the WFS Query describe the access/filtering to the data source.
 ScaleHint getScaleHint()
          returns the scale interval the data source is valid
 int getType()
          returns the type of the data source. possible values are: LOCALWFS LOCALWCS REMOTEWFS REMOTEWCS REMOTEWMS the values are defined as constants in DataSource
 

Field Detail

LOCALWCS

public static final int LOCALWCS
See Also:
Constant Field Values

LOCALWFS

public static final int LOCALWFS
See Also:
Constant Field Values

REMOTEWMS

public static final int REMOTEWMS
See Also:
Constant Field Values

REMOTEWCS

public static final int REMOTEWCS
See Also:
Constant Field Values

REMOTEWFS

public static final int REMOTEWFS
See Also:
Constant Field Values
Method Detail

getScaleHint

public ScaleHint getScaleHint()
returns the scale interval the data source is valid


getName

public java.lang.String getName()
returns the name of the data source. The method may returns null if so no name is defined and a online resource or WFS filter have shall be returned.


getType

public int getType()
returns the type of the data source. possible values are: the values are defined as constants in DataSource

Returns:

getOGCWebService

public OGCWebService getOGCWebService()
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


getQuery

public WFSQuery getQuery()
returns the WFS Query describe the access/filtering to the data source.


getGetMapRequest

public WMSGetMapRequest getGetMapRequest()
returns an instance of a WMSGetMapRequest encapsulating the filter conditions against a remote WMS. The request object contains: WMTVER, LAYERS, STYLES, FORMAT, TRANSPARENT, VENDORSPECIFICPARAMETERS

Returns:
filter conditions

getGetCoverageRequest

public WCSGetCoverageRequest getGetCoverageRequest()
returns an instance of a WCSGetCoverageRequest encapsulating the filter conditions against a remote WCS. The request object contains: VERSION, LAYER, FORMAT, VENDORSPECIFICPARAMETERS

Returns:
filter conditions

getGeometryProperty

public java.lang.String getGeometryProperty()
Returns the name of the geometry property in case the datasource is of type LOCALWFS / REMOTEWFS.

Returns:
name of the geometry property