deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.tools.datastore
Class ModifyFTProperties

java.lang.Object
  extended by org.deegree.tools.datastore.ModifyFTProperties

public class ModifyFTProperties
extends java.lang.Object

This class enables a user to add a new property to a deegree WFS feature type definition. It is possible to add a simple property from the feature types major table, a simple property from another table and a complex property from another already available feature type.

Version:
$Revision: 26926 $, $Date: 2010-09-22 17:23:56 +0200 (Mi, 22 Sep 2010) $
Author:
Andreas Poth, last edited by: $Author: aschmitz $

Constructor Summary
ModifyFTProperties(java.net.URL ftDefFile, java.lang.String featureType, java.lang.String propertyName, java.lang.String databaseFieldName, int type)
           
ModifyFTProperties(java.net.URL ftDefFile, java.lang.String featureType, java.lang.String propertyName, java.lang.String databaseFieldName, java.lang.String table, java.lang.String from, java.lang.String to, int type, int relType)
           
 
Method Summary
 void addComplexProperty()
           
 void addSimplePropertyFromMainTable()
          adds a property from the feature types major table
 void addSimplePropertyFromOtherTable()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModifyFTProperties

public ModifyFTProperties(java.net.URL ftDefFile,
                          java.lang.String featureType,
                          java.lang.String propertyName,
                          java.lang.String databaseFieldName,
                          int type)
Parameters:
ftDefFile - schema file containing feature type defintion
featureType - qualified name of the feature to enhance
propertyName - name of the new property
databaseFieldName -
type - type code of the ne2 property (@see org.deegree.datatypes.Types)

ModifyFTProperties

public ModifyFTProperties(java.net.URL ftDefFile,
                          java.lang.String featureType,
                          java.lang.String propertyName,
                          java.lang.String databaseFieldName,
                          java.lang.String table,
                          java.lang.String from,
                          java.lang.String to,
                          int type,
                          int relType)
Parameters:
ftDefFile - schema file containing feature type defintion
featureType - qualified name of the feature to enhance
propertyName - name of the new property
databaseFieldName -
table -
from -
to -
type - type code of the new property (@see org.deegree.datatypes.Types)
relType -
Method Detail

addSimplePropertyFromMainTable

public void addSimplePropertyFromMainTable()
                                    throws java.lang.Exception
adds a property from the feature types major table

Throws:
java.lang.Exception

addSimplePropertyFromOtherTable

public void addSimplePropertyFromOtherTable()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

addComplexProperty

public void addComplexProperty()

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Parameters:
args -
Throws:
java.lang.Exception

deegree 2.5 (2011/06/29 09:44 build-8-official)

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