deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.record.persistence.genericrecordstore
Class ISO_DC_Mappings

java.lang.Object
  extended by org.deegree.record.persistence.genericrecordstore.ISO_DC_Mappings
All Implemented Interfaces:
PostGISMapping

public class ISO_DC_Mappings
extends Object
implements PostGISMapping

Implementation of the Profile_DB_Mappings. It's the base class for access to the backend. Is there any change in the database schema for the ISORecordStore then in this class should be changed the binding, as well.

Version:
$Revision: $, $Date: $
Author:
Steffen Thomas, last edited by: $Author: thomas $

Nested Class Summary
static class ISO_DC_Mappings.commonColumnNames
          Enumeration of the common column names that are used in the backend for each databasetable.
static class ISO_DC_Mappings.databaseTables
          Enumeration of the databasetables.
 
Constructor Summary
ISO_DC_Mappings()
           
 
Method Summary
 PropertyNameMapping getMapping(PropertyName propName)
          Returns the PropertyNameMapping for the given PropertyName.
 byte[] getPostGISValue(Geometry literal, PropertyName propName)
          Returns the WKB for the given Geometry, transformed to the CRS of the specified PropertyName, if necessary.
 Object getPostGISValue(Literal literal, PropertyName propName)
           
 Map<QName,PropertyNameMapping> getPropToTableAndCol()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ISO_DC_Mappings

public ISO_DC_Mappings()
Method Detail

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

getPropToTableAndCol

public Map<QName,PropertyNameMapping> getPropToTableAndCol()

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

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

]]>