org.deegree.console.featurestore
Class MappingWizardSQL

java.lang.Object
  extended by org.deegree.console.featurestore.MappingWizardSQL

public class MappingWizardSQL
extends Object

JSF bean that helps with creating configurations for the AbstractSQLFeatureStore.

Version:
$Revision: 32159 $, $Date: 2011-10-19 00:00:07 +0200 (Wed, 19 Oct 2011) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Constructor Summary
MappingWizardSQL()
           
 
Method Summary
 String activateFS()
           
 String analyzeSchema()
           
 String createTables()
           
 String generateConfig()
           
 File getAppSchemaDirectory()
           
 AppSchemaInfo getAppSchemaInfo()
           
 TreeSet<String> getAvailableAppSchemaFiles()
           
 SortedSet<String> getAvailableJdbcConns()
           
 Integer getColumnNameLength()
           
 String getFeatureStoreId()
           
 String getGmlVersion()
           
 String getMode()
           
 String[] getSelectedAppSchemaFiles()
           
 String getSelectedJdbcConn()
           
 String getStorageCrs()
           
 String getStorageMode()
           
 String getStorageSrid()
           
 Integer getTableNameLength()
           
 String selectMode()
           
 void setColumnNameLength(Integer columnNameLength)
           
 void setMode(String mode)
           
 void setSelectedAppSchemaFiles(String[] files)
           
 void setSelectedJdbcConn(String jdbcId)
           
 void setStorageCrs(String storageCrs)
           
 void setStorageMode(String storageMode)
           
 void setStorageSrid(String storageSrid)
           
 void setTableNameLength(Integer tableNameLength)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappingWizardSQL

public MappingWizardSQL()
Method Detail

getFeatureStoreId

public String getFeatureStoreId()
                         throws ClassNotFoundException,
                                SecurityException,
                                NoSuchMethodException,
                                IllegalArgumentException,
                                IllegalAccessException,
                                InvocationTargetException
Throws:
ClassNotFoundException
SecurityException
NoSuchMethodException
IllegalArgumentException
IllegalAccessException
InvocationTargetException

getAvailableJdbcConns

public SortedSet<String> getAvailableJdbcConns()

getSelectedJdbcConn

public String getSelectedJdbcConn()

setSelectedJdbcConn

public void setSelectedJdbcConn(String jdbcId)

getMode

public String getMode()

setMode

public void setMode(String mode)

getAppSchemaDirectory

public File getAppSchemaDirectory()
                           throws IOException
Throws:
IOException

getAvailableAppSchemaFiles

public TreeSet<String> getAvailableAppSchemaFiles()
                                           throws IOException
Throws:
IOException

getSelectedAppSchemaFiles

public String[] getSelectedAppSchemaFiles()

setSelectedAppSchemaFiles

public void setSelectedAppSchemaFiles(String[] files)

getGmlVersion

public String getGmlVersion()

getAppSchemaInfo

public AppSchemaInfo getAppSchemaInfo()

getStorageMode

public String getStorageMode()

setStorageMode

public void setStorageMode(String storageMode)

getStorageCrs

public String getStorageCrs()

setStorageCrs

public void setStorageCrs(String storageCrs)

getStorageSrid

public String getStorageSrid()

setStorageSrid

public void setStorageSrid(String storageSrid)

selectMode

public String selectMode()

analyzeSchema

public String analyzeSchema()
                     throws IOException,
                            ClassNotFoundException,
                            SecurityException,
                            NoSuchMethodException,
                            IllegalArgumentException,
                            IllegalAccessException,
                            InvocationTargetException
Throws:
IOException
ClassNotFoundException
SecurityException
NoSuchMethodException
IllegalArgumentException
IllegalAccessException
InvocationTargetException

generateConfig

public String generateConfig()

createTables

public String createTables()

setColumnNameLength

public void setColumnNameLength(Integer columnNameLength)

getColumnNameLength

public Integer getColumnNameLength()

setTableNameLength

public void setTableNameLength(Integer tableNameLength)

getTableNameLength

public Integer getTableNameLength()

activateFS

public String activateFS()


Copyright © 2011. All Rights Reserved.