deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.portal.context
Class DataService

java.lang.Object
  extended by org.deegree.portal.context.DataService

public class DataService
extends Object

describes the service lying behind a WMS layer. This can be a WFS, a WCS or a cascaded WMS. If the dataservice is a WFS an instance of this class also provides informations about the geometry type delivered by the WFS for this assigned feature type. If the service is a WCS the geometry type attribute contains the type of coverage assigned to the layer (Grid, TIN, Thiessen polygon ...)

Version:
$Revision: 18195 $
Author:
Andreas Poth

Constructor Summary
DataService(Server server, String featureType, String geometryType)
          Creates a new DataService object.
 
Method Summary
 String getFeatureType()
           
 String getGeometryType()
           
 Server getServer()
          returns the an instance of an object describing the service/server behind a WMS layer
 void setFeatureType(String featureType)
          sets the featuretype assigned to the WMS layer if the server behind it is a WFS
 void setGeometryType(String geometryType)
          sets the geometry type or coverage type provided by the server behind a WMS layer if the server is a WFS or a WCS
 void setServer(Server server)
          sets the an instance of an object describing the service/server behind a WMS layer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataService

public DataService(Server server,
                   String featureType,
                   String geometryType)
Creates a new DataService object.

Parameters:
server - server description
featureType - feature type provided by the server if it's a WFS
geometryType - geometry type or coverage type if the server is a WFS or a WCS
Method Detail

getServer

public Server getServer()
returns the an instance of an object describing the service/server behind a WMS layer

Returns:
instance of Server

setServer

public void setServer(Server server)
sets the an instance of an object describing the service/server behind a WMS layer

Parameters:
server - server description

getFeatureType

public String getFeatureType()
Returns:
the featuretype assigned to the WMS layer if the server behind it is a WFS

setFeatureType

public void setFeatureType(String featureType)
sets the featuretype assigned to the WMS layer if the server behind it is a WFS

Parameters:
featureType - featuretype assigned to the WMS layer if the server behind it is a WFS

getGeometryType

public String getGeometryType()
Returns:
the geometry type or coverage type provided by the server behind a WMS layer if the server is a WFS or a WCS

setGeometryType

public void setGeometryType(String geometryType)
sets the geometry type or coverage type provided by the server behind a WMS layer if the server is a WFS or a WCS

Parameters:
geometryType -

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org