org.deegree.feature.persistence.sql.config
Class AbstractMappedSchemaBuilder

java.lang.Object
  extended by org.deegree.feature.persistence.sql.config.AbstractMappedSchemaBuilder
Direct Known Subclasses:
MappedSchemaBuilderGML, MappedSchemaBuilderTable

public class AbstractMappedSchemaBuilder
extends Object

Base class for builders that create MappedAppSchema instances from JAXB configuration objects.

Version:
$Revision: 32048 $, $Date: 2011-09-30 14:29:53 +0200 (Fri, 30 Sep 2011) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Constructor Summary
AbstractMappedSchemaBuilder()
           
 
Method Summary
static MappedAppSchema build(String configURL, SQLFeatureStoreJAXB config, SQLDialect dialect)
           
protected  IDGenerator buildGenerator(FIDMappingJAXB fidMappingConfig)
           
protected  List<TableJoin> buildJoinTable(QTableName from, Join join)
           
protected  GeometryPropertyType.GeometryType getGeometryType(String pgType)
           
protected  BaseType getPrimitiveType(PrimitiveType type)
           
protected  MappingExpression parseMappingExpression(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractMappedSchemaBuilder

public AbstractMappedSchemaBuilder()
Method Detail

build

public static MappedAppSchema build(String configURL,
                                    SQLFeatureStoreJAXB config,
                                    SQLDialect dialect)
                             throws SQLException,
                                    FeatureStoreException
Throws:
SQLException
FeatureStoreException

buildGenerator

protected IDGenerator buildGenerator(FIDMappingJAXB fidMappingConfig)

getPrimitiveType

protected BaseType getPrimitiveType(PrimitiveType type)

getGeometryType

protected GeometryPropertyType.GeometryType getGeometryType(String pgType)

parseMappingExpression

protected MappingExpression parseMappingExpression(String s)

buildJoinTable

protected List<TableJoin> buildJoinTable(QTableName from,
                                         Join join)


Copyright © 2011. All Rights Reserved.