org.geotools.data.complex.config
Class AppSchemaDataAccessConfigurator

Object
  extended by AppSchemaDataAccessConfigurator

public class AppSchemaDataAccessConfigurator
extends Object

Utility class to create a set of objects from a complex datastore's configuration object ( AppSchemaDataAccessDTO).

Since:
2.4
Author:
Gabriel Roldan (Axios Engineering), Rini Angreani (CSIRO Earth Science and Resource Engineering), Russell Petty (GeoScience Victoria)

Field Summary
static String PROPERTY_JOINING
           
 
Method Summary
static Set<FeatureTypeMapping> buildMappings(AppSchemaDataAccessDTO config)
          Takes a config object and creates a set of mappings.
static boolean isJoining()
          Convenience method for "joining" property.
static boolean isJoiningSet()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_JOINING

public static String PROPERTY_JOINING
Method Detail

isJoining

public static boolean isJoining()
Convenience method for "joining" property.

Returns:

isJoiningSet

public static boolean isJoiningSet()

buildMappings

public static Set<FeatureTypeMapping> buildMappings(AppSchemaDataAccessDTO config)
                                             throws IOException
Takes a config object and creates a set of mappings.

In the process will parse xml schemas to geotools' Feature Model types and descriptors, connect to source datastores and build the mapping objects from source FeatureTypes to the target ones.

Parameters:
config - DOCUMENT ME!
Returns:
a Set of FeatureTypeMapping source to target FeatureType mapping definitions
Throws:
IOException - if any error occurs while creating the mappings


Copyright © 1996-2014 Geotools. All Rights Reserved.