org.deegree.feature.persistence.sql.mapper
Class AppSchemaMapper

java.lang.Object
  extended by org.deegree.feature.persistence.sql.mapper.AppSchemaMapper

public class AppSchemaMapper
extends Object

Creates MappedAppSchema instances from AppSchemas by inferring a canonical database mapping.

Version:
$Revision: 32144 $, $Date: 2011-10-13 17:54:50 +0200 (Thu, 13 Oct 2011) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Constructor Summary
AppSchemaMapper(AppSchema appSchema, boolean createBlobMapping, boolean createRelationalMapping, GeometryStorageParams geometryParams, int maxLength, boolean usePrefixedSQLIdentifiers, boolean mapGMLProps)
          Creates a new AppSchemaMapper instance for the given schema.
 
Method Summary
 MappedAppSchema getMappedSchema()
          Returns the MappedAppSchema instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppSchemaMapper

public AppSchemaMapper(AppSchema appSchema,
                       boolean createBlobMapping,
                       boolean createRelationalMapping,
                       GeometryStorageParams geometryParams,
                       int maxLength,
                       boolean usePrefixedSQLIdentifiers,
                       boolean mapGMLProps)
Creates a new AppSchemaMapper instance for the given schema.

Parameters:
appSchema - application schema to be mapped, must not be null
createBlobMapping - true, if BLOB mapping should be performed, false otherwise
createRelationalMapping - true, if relational mapping should be performed, false otherwise
geometryParams - parameters for storing geometries, must not be null
Method Detail

getMappedSchema

public MappedAppSchema getMappedSchema()
Returns the MappedAppSchema instance.

Returns:
mapped schema, never null


Copyright © 2011. All Rights Reserved.