org.deegree.tools.datastore
Class ModifyFTProperties
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 defintionfeatureType
- qualified name of the feature to enhancepropertyName
- name of the new propertydatabaseFieldName
- 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 defintionfeatureType
- qualified name of the feature to enhancepropertyName
- name of the new propertydatabaseFieldName
- table
- from
- to
- type
- type code of the new property (@see org.deegree.datatypes.Types)relType
-
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
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org