org.deegree.feature.persistence.postgis
Class PostGISFeatureMapping
java.lang.Object
org.deegree.feature.persistence.postgis.PostGISFeatureMapping
- All Implemented Interfaces:
- PostGISMapping
class PostGISFeatureMapping
- extends Object
- implements PostGISMapping
PostGISMapping
for the PostGISFeatureStore
.
- Version:
- $Revision: 22311 $, $Date: 2010-01-29 17:20:15 +0100 (Fr, 29 Jan 2010) $
- Author:
- Markus Schneider, last edited by: $Author: mschneider $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PostGISFeatureMapping
PostGISFeatureMapping(FeatureType ft,
FeatureTypeMapping ftMapping,
PostGISFeatureStore fs)
getMapping
public PropertyNameMapping getMapping(PropertyName propName)
throws FilterEvaluationException
- Description copied from interface:
PostGISMapping
- Returns the
PropertyNameMapping
for the given PropertyName
.
- Specified by:
getMapping
in interface PostGISMapping
- Parameters:
propName
- property name (from Filter
/sort criterion}, can be null
(indicates that the
default geometry property of the root object is requested)
- Returns:
- relational mapping, may be
null
(if no mapping is possible)
- Throws:
FilterEvaluationException
- thrown to indicate that the PropertyName
is invalid
getPostGISValue
public Object getPostGISValue(Literal literal,
PropertyName propName)
throws FilterEvaluationException
- Specified by:
getPostGISValue
in interface PostGISMapping
- Returns:
-
- Throws:
FilterEvaluationException
getPostGISValue
public byte[] getPostGISValue(Geometry literal,
PropertyName propName)
throws FilterEvaluationException
- Description copied from interface:
PostGISMapping
- Returns the WKB for the given
Geometry
, transformed to the CRS of the specified PropertyName
, if
necessary.
- Specified by:
getPostGISValue
in interface PostGISMapping
- Returns:
-
- Throws:
FilterEvaluationException
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org]]>