deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.portal.context
Class DataService

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

public class DataService
extends java.lang.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, java.lang.String featureType, java.lang.String geometryType)
          Creates a new DataService object.
 
Method Summary
 java.lang.String getFeatureType()
           
 java.lang.String getGeometryType()
           
 Server getServer()
          returns the an instance of an object describing the service/server behind a WMS layer
 void setFeatureType(java.lang.String featureType)
          sets the featuretype assigned to the WMS layer if the server behind it is a WFS
 void setGeometryType(java.lang.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,
                   java.lang.String featureType,
                   java.lang.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 java.lang.String getFeatureType()
Returns:
the featuretype assigned to the WMS layer if the server behind it is a WFS

setFeatureType

public void setFeatureType(java.lang.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 java.lang.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(java.lang.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.5 (2011/06/29 09:44 build-8-official)

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